Improving error messages when using indirect references

From: Date: Fri, 13 Feb 2004 14:38:49 +0000
Subject: Improving error messages when using indirect references
Groups: php.internals 
Request: Send a blank email to internals+get-7804@lists.php.net to get a copy of this message
Hey, <?php error_reporting(E_ALL); echo $$foo; ?> results in Notice: Undefined variable: foo in /foo/bar.php on line 4 Notice: Undefined variable: in /foo/bar.php on line 4 Wouldn't it be more appropriate if the second notice was something like "Notice: Undefined variable: <unnamed> in /foo/bar.php on line 4"? -- - Martin Martin Jansen http://martinjansen.com/

« previous php.internals (#7804) next »