Fix infinite recursion in namespaces FAQ example #8, per note 111006.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329007 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Adam Harvey 2013-01-08 02:55:57 +00:00
parent c1034e6218
commit 847cba5fd0

View file

@ -1329,7 +1329,7 @@ function my() {}
function foo() {}
function sort(&$a)
{
sort($a);
\sort($a); // calls the global function "sort"
$a = array_flip($a);
return $a;
}