PHP4.4 and return by ref
| From: | Lorenzo Alberton | Date: | Tue, 28 Jun 2005 08:20:35 +0000 |
| Subject: | PHP4.4 and return by ref | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-38344@lists.php.net to get a copy of this message | ||
http://phplens.com/phpeverywhere/?q=node/view/205
Are we supposed to deal with it or is a BC fix
on the way?
I.e. should we start replacing
===================
function & aFunc()
{
//...
return null;
}
===================
with
===================
function & aFunc()
{
//...
$val = null;
return $val;
}
===================
i.e. change all the instances of
"return true" or "return null"?
TIA
Best regards,
--
Lorenzo Alberton
http://pear.php.net/user/quipo