summaryrefslogtreecommitdiffhomepage
path: root/php.html.markdown
diff options
context:
space:
mode:
authorBadal Surana <badalsurana122@gmail.com>2016-12-03 16:16:23 +0530
committerven <vendethiel@hotmail.fr>2016-12-03 11:46:23 +0100
commit7c16ec5ae15ca3d29354179b33f290fb439f434c (patch)
tree605b9bba1bcbba4b3c47bf6533a4f575d81abd85 /php.html.markdown
parent6cc36cb0902f1b29424b6e52b8ddfaea68c88563 (diff)
[php/en] Fix typo (#2590)
Diffstat (limited to 'php.html.markdown')
-rw-r--r--php.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/php.html.markdown b/php.html.markdown
index c8e73987..ddf38226 100644
--- a/php.html.markdown
+++ b/php.html.markdown
@@ -824,7 +824,7 @@ echo "Current method is " . __METHOD__;
echo "Current namespace is " . __NAMESPACE__;
// Get the name of the current trait. Only returns a value when used inside a trait or object declaration.
-echo "Current namespace is " . __TRAIT__;
+echo "Current trait is " . __TRAIT__;
/**********************
* Error Handling