svn: /phpdoc/en/trunk/language/ references.xml
| From: | Christoph Michael Becker | Date: | Sun, 14 Jun 2015 19:49:47 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ references.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13404@lists.php.net to get a copy of this message | ||
cmb Sun, 14 Jun 2015 19:49:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=336955
Log:
fixed comment regarding version dependent behavior (fixes #66965)
Bug: https://bugs.php.net/66965 (Analyzed) Example code
says it should cause error, causes warning
Changed paths:
U phpdoc/en/trunk/language/references.xml
Modified: phpdoc/en/trunk/language/references.xml
===================================================================
--- phpdoc/en/trunk/language/references.xml 2015-06-14 18:50:02 UTC (rev 336954)
+++ phpdoc/en/trunk/language/references.xml 2015-06-14 19:49:47 UTC (rev 336955)
@@ -380,7 +380,8 @@
$a = 5;
return $a;
}
-foo(bar()); // Produces fatal error since PHP 5.0.5
+foo(bar()); // Produces fatal error as of PHP 5.0.5, strict standards notice
+ // as of PHP 5.1.1, and notice as of PHP 7.0.0
foo($a = 5); // Expression, not variable
foo(5); // Produces fatal error