Bug #15228 Updated: variable variable spacing

From: Date: Fri, 25 Jan 2002 22:29:10 +0000
Subject: Bug #15228 Updated: variable variable spacing
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78155@lists.php.net to get a copy of this message
ID: 15228 Updated by: yohgaki Reported By: philip@cornado.com Old Status: Open Status: Analyzed Bug Type: Scripting Engine problem Operating System: n/a PHP Version: 4.0CVS-2002-01-25 New Comment: Confirmed with ZE2 and ZE1 (PHP4.0.6) Previous Comments: ------------------------------------------------------------------------ [2002-01-25 17:18:31] philip@cornado.com The following should result in a parse error: $foo = 'bar'; $bar = 'hello'; print $ $foo; // hello print $$foo; // hello Instead, 'hello' is printed both times. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15228&edit=1

« previous php.dev (#78155) next »