mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
c1034e6218
commit
847cba5fd0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue