If you want to emulate perl's "strict" mode just add an error_handler
() that will catch E_NOTICE relating to undefined variable, constant,
array key usage and convert them to fatal errors.
On 10-Oct-06, at 2:52 PM, Alain Williams wrote:
Hi,
just trying to canvass support for the ability to enforce
declaration of variables as with perl's use strict:
http://bugs.php.net/bug.php?id=39091
Ilia Alshanetsky
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php