Re: PHP4.4 and return by ref

From: Date: Tue, 28 Jun 2005 09:31:59 +0000
Subject: Re: PHP4.4 and return by ref
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38346@lists.php.net to get a copy of this message
Lorenzo Alberton wrote:
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"?
yes .. you need to changeg this also for php5 compatibility. regards, Lukas

« previous php.pear.dev (#38346) next »