Hi!

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.

Minimizing the WTF may also mean standardizing exception handling - i.e. knowing what functions actually return when something's wrong without having to consult the manual each time.
--
Stanislav Malyshev, Zend Software Architect
s...@zend.com   http://www.zend.com/
(408)253-8829   MSN: s...@zend.com

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to