#34572 [Opn->Fbk]: Using a variable with 3 Chars does not work. Less or more chars works fine
| From: | sniper@php.net | Date: | Wed, 21 Sep 2005 10:04:43 +0000 |
| Subject: | #34572 [Opn->Fbk]: Using a variable with 3 Chars does not work. Less or more chars works fine | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85337@lists.php.net to get a copy of this message | ||
ID: 34572
Updated by: sniper@php.net
Reported By: sebbelx at gmx dot de
-Status: Open
+Status: Feedback
Bug Type: Variables related
Operating System: Windows XP Prof.
PHP Version: 5.0.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Works fine for me.
Previous Comments:
------------------------------------------------------------------------
[2005-09-21 06:21:25] sebbelx at gmx dot de
FIXED: Found Bug -> You're not allowed to use the Number "1" as the
last Char ($AB1 does not work, $AB2 works fine)
------------------------------------------------------------------------
[2005-09-21 06:13:52] sebbelx at gmx dot de
Adding numbers to increase length of variable's name does not work
either.
------------------------------------------------------------------------
[2005-09-21 06:10:03] sebbelx at gmx dot de
Description:
------------
If i try to assign a 3 Chars variable it does not work.
Less or more Chars as a variable name works fine.
Reproduce code:
---------------
$ABC = 1234; // does not work
$AB = 1234; // works
$ABCD = 1234; // works
// Any cases of 3 Char vars does not work.. weired!
echo "ABC: $ABC<br>AB: $AB<br>ABCD: $ABCD";
Expected result:
----------------
ABC: 1234
AB: 1234
ABCD: 1234
Actual result:
--------------
ABC:
AB: 1234
ABCD: 1234
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34572&edit=1