#29607 [Fbk->Opn]: highlight_file producing incorrect output

From: Date: Thu, 15 Sep 2005 09:29:56 +0000
Subject: #29607 [Fbk->Opn]: highlight_file producing incorrect output
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85081@lists.php.net to get a copy of this message
ID: 29607 User updated by: phpbugrep200408 at pgregg dot com Reported By: phpbugrep200408 at pgregg dot com -Status: Feedback +Status: Open Bug Type: Strings related Operating System: * PHP Version: 4.3.x/5.x New Comment: Built: php5-200509150830 phpinfo gives: 5.1.0RC2-dev Running on www.pgregg.com Bug is still present. Examples: Raw file: http://www.pgregg.com/code/sprintf_heredoc.txt phps ver: http://www.pgregg.com/code/sprintf_heredoc.phps http://www.pgregg.com/projects/php/mime_email/GenerateMIMEMail.inc.php.txt http://www.pgregg.com/projects/php/mime_email/GenerateMIMEMail.inc.phps Look for the freakish looking heredocs. Previous Comments: ------------------------------------------------------------------------ [2005-09-15 09:29:37] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-09-15 02:30:37] phpbugrep200408 at pgregg dot com Reopening this bug as it has resurfaced. Confirmed to be in 5.1b2 and 5.1RC1 ------------------------------------------------------------------------ [2004-08-12 00:38:51] iliaa@php.net This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2004-08-11 08:16:59] derick@php.net Verified ------------------------------------------------------------------------ [2004-08-10 23:25:49] phpbugrep200408 at pgregg dot com Description: ------------ I found an error in how application/x-httpd-php-source produces its output. The following example shows this in operation: Raw file: http://www.pgregg.com/code/sprintf_heredoc.txt phps ver: http://www.pgregg.com/code/sprintf_heredoc.phps Both the txt and phps filenames are symlinks to the .php file. Normally, a missing newline would be nothing to write home about, but in this instance it breaks the functionality of the script. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29607&edit=1

« previous php.bugs (#85081) next »