Re: Re: cvs: ZendEngine2 / zend_builtin_functions.c /tests 009.phpt php-src/ext/reflection/tests 027.phpt php-src/ext/standard/tests/class_object
get_class_error_001.phpt get_class_variation_001.phpt

From: Date: Fri, 20 Mar 2009 20:52:36 +0000
Subject: Re: Re: cvs: ZendEngine2 / zend_builtin_functions.c /tests 009.phpt php-src/ext/reflection/tests 027.phpt php-src/ext/standard/tests/class_object
get_class_error_001.phpt get_class_variation_001.phpt
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-43426@lists.php.net to get a copy of this message
Pierre Joye wrote:
The new parsing API and the strictness of this "return NULL" rule is new and arguable. As it is not that important (work 'round is easy), I tend to prefer to minimize the wtf instead of being too strict.
This "new parsing API" is not so new, dammit. :) It's a few years old by now. And the convention has always been to return NULL. -Andrei

« previous php.internals (#43426) next »