From: [EMAIL PROTECTED]
Operating system: win98, freebsd
PHP version: 4.0.5
PHP Bug Type: Variables related
Bug description: it is possible to assign a invalid variable-name
<?php
$1 = "hello";
?>
This will produce an error.
That isn't very strange ;-)
But....
<?php
${"1"} = "hello";
?>
This is allowed.
Isn't this a bug?
--
Edit bug report at: http://bugs.php.net/?id=14175&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]