From 5232c5a551321d2dcc3fc1e861daa4d16c7ff140 Mon Sep 17 00:00:00 2001 From: Simion Onea Date: Thu, 27 Sep 2007 13:29:07 +0000 Subject: [PATCH] Changed literal to constant for NULL. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242987 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration51.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appendices/migration51.xml b/appendices/migration51.xml index e58df738b5..6ea71cdc3b 100644 --- a/appendices/migration51.xml +++ b/appendices/migration51.xml @@ -1,5 +1,5 @@ - + Migrating from PHP 5.0.x to PHP 5.1.x @@ -244,7 +244,7 @@ var_dump($bar); - In PHP 5.0.3, $bar evaluated to NULL + In PHP 5.0.3, $bar evaluated to NULL instead of returning an object. That happened because getThis() returns by value, but the value here is assigned by reference. Although it now works in the expected way, this is