| I don't like E_ERRORS when there is no real reason to bail out.
| As I've already said, non of the other PHP functions trigger E_ERROR
| when the parameters are incorrect; it's just an E_WARNING and a NULL
| value return.

This is a good point.  foreach for example issues a warning.  So do all the
array function in PHP.  My original RFC on this matter (that had nothing to
do with classes) said to issue a fatal error, but, in retrospect, prehaps it
should be a warning.  And include arrays. ;)

Brian.
dealnews.com




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

Reply via email to