Re: cvs: php-src(PHP_5_3) /main output.c

From: Date: Thu, 17 Jul 2008 22:22:09 +0000
Subject: Re: cvs: php-src(PHP_5_3) /main output.c
References: 1 2 3 4  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-51217@lists.php.net to get a copy of this message
On Tue, 2008-07-15 at 17:29 +0200, "Hannes Magnusson" wrote: > > to the new API, so we can only guess. And return null is the better > > guess from MPOV. > > Some of those functions have been using that API for years... > Why would you need to guess anything anyway? Reading the old ode should be enough, in this case they used both - at least some of the returned null if the argcount was wrong and false if zend_get_parameter failed for some random reason. And then I'd say NULL is better. johannes

« previous php.cvs (#51217) next »