ID: 10609 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Description: comments made with # or // in included files cause visible output 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; Previous Comments: --------------------------------------------------------------------------- [2001-05-02 16:05:50] [EMAIL PROTECTED] Please post as short as possible reproducing scripts. (First update didn't get mailed out) --------------------------------------------------------------------------- [2001-05-02 15:58:59] [EMAIL PROTECTED] Please post as short as possible reproducing scripts. --------------------------------------------------------------------------- [2001-05-02 09:31:32] [EMAIL PROTECTED] 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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10609 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]