#27520 [NEW]: parse-error if using var-name: "$status-typ"
| From: | akorthaus at web dot de | Date: | Sun, 07 Mar 2004 19:30:24 +0000 |
| Subject: | #27520 [NEW]: parse-error if using var-name: "$status-typ" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-56045@lists.php.net to get a copy of this message | ||
From: akorthaus at web dot de
Operating system: RedHat Linux (Kernel 2.4)
PHP version: 4.3.4
PHP Bug Type: Scripting Engine problem
Bug description: parse-error if using var-name: "$status-typ"
Description:
------------
If I run the following Script (Apache 1.3.29, mod_php):
<?php
$status-typ='hello';
?>
I get: Parse error: parse error in /path/to/php/script.php on line 2
Reproduce code:
---------------
<?php
$status-typ='hello';
?>
Expected result:
----------------
empty page
Actual result:
--------------
Parse error: parse error in /path/to/php/script.php on line 2
--
Edit bug report at http://bugs.php.net/?id=27520&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27520&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27520&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27520&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27520&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27520&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27520&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27520&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27520&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27520&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27520&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27520&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27520&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27520&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27520&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27520&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27520&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27520&r=float