-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > 1. Change the error handling system from the current E_* system to > typed exceptions for everything but advisory errors (E_STRICT, > E_NOTICE, E_DEPRECATED). Why? Because the current error system > encourages ignoring or not checking what the error was, and it > makes defensive programming quite difficult. This is arguable and > preference for sure, but it's a major change that could have large > benefits.
I like that one. Proposed something like this a while ago but back then it did not fit into a minor release's scope and limitations. > Thoughts? Provide a stock "Number" and "String" object if primitives themselves cannot be turned into objects for bc reasons. - -- Ralf Lang Linux Consultant / Developer B1 Systems GmbH -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAD3fQACgkQCs1dsHJ/X7BLqwCg4/9mj2tgiBQtV6JZteJ0Fqat bhwAoPMQy7M8CA2Ni4unFcRMDeUFiImg =xRS8 -----END PGP SIGNATURE----- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php