From 178147e5b0b6a59cd93b30b11bd02ccd6223fa3f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 16 Sep 2005 23:01:50 +0000 Subject: [PATCH] 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 --- language/references.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/references.xml b/language/references.xml index 8ecd2b16aa..ec6b2b17d9 100644 --- a/language/references.xml +++ b/language/references.xml @@ -1,5 +1,5 @@ - + References Explained @@ -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