ID: 50635 Updated by: j...@php.net Reported By: sergio at js-client dot com -Status: Open +Status: Bogus Bug Type: *General Issues PHP Version: 5.3.1 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2010-01-02 14:14:22] sergio at js-client dot com Description: ------------ Parse error (as unexpected $end) occures if '?>' is put into a single-string comment Reproduce code: --------------- <?php function comments_test() { //?> //preg_match_all('~(?>\s)=~s', $str); } ?> Expected result: ---------------- No parsing errors Actual result: -------------- PHP Parse error: syntax error, unexpected $end in /Users/apple/serg.php on line 6 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50635&edit=1