Re: sessions
| From: | Martin Geisler | Date: | Sun, 23 May 2004 19:27:05 +0000 |
| Subject: | Re: sessions | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186807@lists.php.net to get a copy of this message | ||
rich@launchcode.co.uk (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