Bug #10609 Updated: comments made with # or // in included files cause visible output
| From: | andi@php.net | Date: | Wed, 02 May 2001 20:48:54 +0000 |
| Subject: | Bug #10609 Updated: comments made with # or // in included files cause visible output | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53454@lists.php.net to get a copy of this message | ||
ID: 10609
Updated by: andi
Reported By: tummarel@ascu.unian.it
Status: Open
Bug Type: Scripting Engine problem
PHP Version: 4.0.5
Assigned To:
Comments:
I just can't reproduce this :)
Can you please post the output of flex --version.
Also maybe you can send the file that doesn't work as an attachement to php-dev@lists.php.net
Previous Comments:
---------------------------------------------------------------------------
[2001-05-02 16:41:18] tummarel@ascu.unian.it
Amazingly (i cant believe what i see) i was able to shorten the code that generates the bug (on my
system, plainvalinnal redhat 6.1 running php 4.0.5 as a apache mod) to this code, note that the same
code executes fine (of course) under 4.0.4;
------------------------- example bug code
<?php
$YouCantSeeThisOne;
// After a // comment the source code gets dumped to the output.. look:
$YouCanSeeThis;
?>
------------------------- end example bug code
the ourput I get is :
// After a // comment the source code gets dumped to the output.. look: $YouCanSeeThis;
---------------------------------------------------------------------------
[2001-05-02 16:05:50] andi@php.net
Please post as short as possible reproducing scripts.
(First update didn't get mailed out)
---------------------------------------------------------------------------
[2001-05-02 15:58:59] andi@php.net
Please post as short as possible reproducing scripts.
---------------------------------------------------------------------------
[2001-05-02 09:31:32] tummarel@ascu.unian.it
using PHPnuke files are are often included inside others that are included as well.
I had to change all the comments of my THEME.php file (the most internal include) otherwise they
would produce output to the page! changing // and # to the /* */ syntax "solve" the
problem! note that this only happens in included files
I can easily reproduce it if needed.
Only relevalnt to 4.0.5 was warking fine with 4.0.4
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10609&edit=2