From:             sebbelx at gmx dot de
Operating system: Windows XP Prof.
PHP version:      5.0.5
PHP Bug Type:     Variables related
Bug description:  Using a variable with 3 Chars does not work. Less or more 
chars works fine

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 bug report at http://bugs.php.net/?id=34572&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34572&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34572&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34572&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34572&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34572&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34572&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34572&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34572&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34572&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34572&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34572&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34572&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34572&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34572&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34572&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34572&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34572&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34572&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34572&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34572&r=mysqlcfg

Reply via email to