ID: 44824 User updated by: pfenderd at bellsouth dot net Reported By: pfenderd at bellsouth dot net -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: windows XP Pro PHP Version: 5.2.5 New Comment:
I tried the latest CVS snapshot (4/24) and did not see the problem. Previous Comments: ------------------------------------------------------------------------ [2008-04-24 21:48:27] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2008-04-24 20:46:30] pfenderd at bellsouth dot net Description: ------------ The PHP parser produced output to the web page starting in the middle of a multi-line comment. The trigger was a '>' at the end of a line of comment text. All text after that character became output, even though it was within the <?php and ?> tags. There were two email addresses, but the problem began at the end of the second email address string. (see example below) I previously used this code in PHP 5.1.6 with no problem. The code was included from a file with a require_once statement. (The names in the example are fictitious.) Reproduce code: --------------- <?php /** * This file contains the XYZ class, "xyz" * Licensed under the BSD license * All credits to abcdefgh(http://www.abcdefgh.se/) * for letting this code out in the free where it belongs! * * Contributions made by: * Jorge Lopez <[EMAIL PROTECTED]> * * @author Robert "Littleguy" Shubert <[EMAIL PROTECTED]> * @version 0.1 * @package AB-XYZ */ ?> Expected result: ---------------- No output. The parser should not have stopped parsing PHP code until the ?> string was reached. Actual result: -------------- * @version 0.1 * @package AB-XYZ */ ?> Error undefined class .... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44824&edit=1
