[EMAIL PROTECTED] (Richard Davey) writes:

> Perhaps - imagine how many scripts out there would break if it did
> :) (not that I'd care, I code exclusively with E_ALL)
>
> Actually, doesn't PHP5 do this?

The following test gives just one 'Notice: Use of undefined constant
foo...' message when I run it with PHP5:

<?php
$array = array('foo' => 'bar');
echo $array[foo] . "\n";
error_reporting(E_ALL);
echo $array[foo] . "\n";
?>

-- 
Martin Geisler                                  My GnuPG Key: 0xF7F6B57B

PHP EXIF Library      |  PhpWeather              |  PhpShell
http://pel.sf.net/    |  http://phpweather.net/  |  http://gimpster.com/
Read/write EXIF data  |  Show current weather    |  A shell in a browser

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to