Bug #1121: Show_source produces odd looking output after upgrading to 3.0.6

From: Date: Fri, 05 Feb 1999 10:51:43 +0000
Subject: Bug #1121: Show_source produces odd looking output after upgrading to 3.0.6
Groups: php.dev 
Request: Send a blank email to php-dev+get-3906@lists.php.net to get a copy of this message
From: Manuel.Hossfeld@db.com Operating system: WinNT 4.0 (SP 3) PHP version: 3.0.6 PHP Bug Type: Misbehaving function Bug description: Show_source produces odd looking output after upgrading to 3.0.6 Problem: After upgrading to 3.0.6, SHOW_SOURCE no longer works correctly. Obviously it doesn't do correct syntax highlighting, and some lines are concatenated although they shouldn't. Environment: WinNT 4.0 SP3, Apache 1.3.4/Win32 (also tested with Apache 1.3.3 and MS PWS 4.0); PHP3.INI and everything else is quite standard. Example: For the following lines <?php require ( "global.inc"); phpinfo(); page_footer(); ?> ...Show_Source produces... "wrong" output (with PHP 3.0.6): <FONT color=#000000>require<FONT color="#007700">(</FONT>global.inc<FONT color="#007700">)</FONT><FONT color="#007700">;</FONT>phpinfo<FONT color="#007700">(</FONT><FONT color="#007700">)</FONT><FONT color="#007700">;</FONT>page_footer<FONT color="#007700">(</FONT><FONT color="#007700">)</FONT><FONT color="#007700">;</FONT></FONT> correct output (with PHP 3.0.5): <FONT color=#000000><FONT color="#0000BB"> &lt;?php <br>require&nbsp;<FONT color="#007700">(</FONT><FONT color="#DD0000"> <STRONG>"global.inc"</STRONG></FONT><FONT color="#007700">)</FONT><FONT color="#007700">;</FONT> <br>phpinfo<FONT color="#007700">(</FONT><FONT color="#007700">)</FONT><FONT color="#007700">;</FONT> <br>page_footer<FONT color="#007700">(</FONT><FONT color="#007700">)</FONT><FONT color="#007700">;</FONT> <br>?&gt; <br></FONT></FONT> -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3906) next »