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 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php