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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php