Re: return /* by reference */ new Foo() in PHP4

From: Date: Sat, 08 Oct 2005 22:19:55 +0000
Subject: Re: return /* by reference */ new Foo() in PHP4
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-19522@lists.php.net to get a copy of this message
On Sat, 8 Oct 2005, Matthias Pigulla wrote:
So, in case of "return new", wouldn't it make sense to remove the warning as the code is 'legal'? And please, don't start a new "it's just a friendly notice" flame war.
    It's just a notice, tune your error_reporting level accordingly.
    --Jani


« previous php.internals (#19522) next »