mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Wrong references are fatal since 5.0.5, not 5.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196217 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
884831ad79
commit
178147e5b0
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.44 $ -->
|
||||
<!-- $Revision: 1.45 $ -->
|
||||
<chapter id="language.references">
|
||||
<title>References Explained</title>
|
||||
|
||||
|
@ -307,7 +307,7 @@ function bar() // Note the missing &
|
|||
$a = 5;
|
||||
return $a;
|
||||
}
|
||||
foo(bar()); // Produces fatal error since PHP 5.1.0
|
||||
foo(bar()); // Produces fatal error since PHP 5.0.5
|
||||
|
||||
foo($a = 5); // Expression, not variable
|
||||
foo(5); // Produces fatal error
|
||||
|
|
Loading…
Reference in a new issue