#40484 [Opn->Bgs]: Variables starting with numbers ($01) cause entire page to not display
| From: | derick@php.net | Date: | Wed, 14 Feb 2007 18:38:14 +0000 |
| Subject: | #40484 [Opn->Bgs]: Variables starting with numbers ($01) cause entire page to not display | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-108920@lists.php.net to get a copy of this message | ||
ID: 40484
Updated by: derick@php.net
Reported By: david dot young at ghostknight dot us
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: WIN XP PRO
PHP Version: 5.2.1
New Comment:
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.
.
Previous Comments:
------------------------------------------------------------------------
[2007-02-14 18:33:59] david dot young at ghostknight dot us
Description:
------------
When trying to parse text contained in any variable starting with a
number ( ie $01 ) it fails to display ANY portion of the page. ( Server
Data: Apache/2.0.59 (Win32) PHP/5.1.6 Server )
Reproduce code:
---------------
<?php
$01 = "online";
?>
<p>Status: <?php echo $01; ?></p>
Expected result:
----------------
the actual code is a bit more elaborate, but when i had originally set
it for $01, it should have parsed an image stating ONLINE ( url @
http://www.ghostknight.us/SBC2/status.php )
Actual result:
--------------
I had to reform my variable to $bot01 in order to get it to parse.
Thinking this was an isolated incident, I added the rest of the
variables, and even with $bot01, the other variables $02, $03, $04,
etc., prevented ANY data from being parsed on the site. Not even the
HTML <title> data was produced.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40484&edit=1