|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-01-02 16:28 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 03:00:02 2025 UTC |
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