From:             [EMAIL PROTECTED]
Operating system: n/a
PHP version:      4.0CVS-2002-01-25
PHP Bug Type:     Scripting Engine problem
Bug description:  variable variable spacing

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 bug report at: http://bugs.php.net/?id=15228&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to