Bug #10609 Updated: comments made with # or // in included files cause visible output

From: Date: Tue, 08 May 2001 16:02:23 +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-54405@lists.php.net to get a copy of this message
ID: 10609 Updated by: andi Reported By: tummarel@ascu.unian.it Old-Status: Feedback Status: Closed Bug Type: Scripting Engine problem Operating system: PHP Version: 4.0.5 Assigned To: Comments: This is fixed in the last CVS which supports "\r" as line ending. Please try the latest snapshot at snaps.php.net Previous Comments: --------------------------------------------------------------------------- [2001-05-06 23:40:50] jmoore@php.net I tried this with PHP NUke etc with 4.0.6 dev. Cant reproduce neither could about 10 other people, please tell us the version of flex you are using and email the file that causes the problem specifically to php-dev@lists.php.net or to jmoore@php.net - James --------------------------------------------------------------------------- [2001-05-02 16:48:54] andi@php.net 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 --------------------------------------------------------------------------- [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. --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10609&edit=2

« previous php.dev (#54405) next »