svn: /phpdoc/en/trunk/language/ functions.xml

From: Date: Thu, 23 Jun 2016 11:47:02 +0000
Subject: svn: /phpdoc/en/trunk/language/ functions.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14234@lists.php.net to get a copy of this message
salathe Thu, 23 Jun 2016 11:47:02 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339457 Log: use correct variable name in example Changed paths: U phpdoc/en/trunk/language/functions.xml Modified: phpdoc/en/trunk/language/functions.xml =================================================================== --- phpdoc/en/trunk/language/functions.xml 2016-06-22 22:46:42 UTC (rev 339456) +++ phpdoc/en/trunk/language/functions.xml 2016-06-23 11:47:02 UTC (rev 339457) @@ -1217,9 +1217,9 @@ $func = array("Foo", "bar"); $func(); // prints "bar" -$f = array(new Foo, "baz"); +$func = array(new Foo, "baz"); $func(); // prints "baz" -$f = "Foo::bar"; +$func = "Foo::bar"; $func(); // prints "bar" as of PHP 7.0.0; prior, it raised a fatal error ]]> </programlisting>

« previous php.doc.cvs (#14234) next »