Re: Returning NULL when arg parsing fails - was: Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/pcntl pcntl.c /ext/pcntl/tests pcntl_signal.phpt
| From: | Matteo Beccati | Date: | Thu, 02 Apr 2009 08:53:01 +0000 |
| Subject: | Re: Returning NULL when arg parsing fails - was: Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/pcntl pcntl.c /ext/pcntl/tests pcntl_signal.phpt | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43589@lists.php.net to get a copy of this message | ||
Hannes Magnusson ha scritto:
2009/4/2 Matteo Beccati <php@beccati.com>:Yep. And I agree. It's not just a handful of functions. Cheers -- Matteo Beccati OpenX - http://www.openx.orgThe point raised on IRC was the opposite: try and unify the code so that if parameter parsing fails returns NULL, which seems to be the standard.Indeed. But its not worth "breaking backwards compatibility".