#34572 [Opn->Bgs]: 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:07:14 +0000 |
| Subject: | #34572 [Opn->Bgs]: 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-85341@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: Bogus
Bug Type: Variables related
Operating System: Windows XP Prof.
PHP Version: 5.0.5
New Comment:
.
Previous Comments:
------------------------------------------------------------------------
[2005-09-21 12:06:31] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Works just fine in any combination I can imagine.
------------------------------------------------------------------------
[2005-09-21 12:04:42] sniper@php.net
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.
------------------------------------------------------------------------
[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