Re: 6.0 And Moving Forward

From: Date: Mon, 16 Jul 2012 09:25:08 +0000
Subject: Re: 6.0 And Moving Forward
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-61279@lists.php.net to get a copy of this message
-----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-----

« previous php.internals (#61279) next »