From: [EMAIL PROTECTED]
Operating system: independant
PHP version: 4.0.6
PHP Bug Type: Output Control
Bug description: variable variable inside a string
<?php
$foo1="nonsense";
$foo2="foo1";
print "$$foo2";
?>
THIS programs output $foo2, (IS THIS OK??)
<?php
$foo1="nonsense";
$foo2="foo1";
print "{$$foo2}";
?>
this program outputs nonsense (THIS IS CORRECT)
--
Edit bug report at: http://bugs.php.net/?id=12278&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]