ID: 40144 Updated by: [EMAIL PROTECTED] Reported By: Quis at omicidio dot nl -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: FreeBSD PHP Version: 5.2.0 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: ------------------------------------------------------------------------ [2007-01-16 13:50:20] Quis at omicidio dot nl The 'actual' code I got this error on was: echo 1.str_repeat('sometext', 3); Also resulting in Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' ------------------------------------------------------------------------ [2007-01-16 13:47:52] Quis at omicidio dot nl Description: ------------ Unexpected parse error Reproduce code: --------------- Not working: echo 1.'sometext'; or, return 1.'sometext'; Working: $i=1; echo $i.'sometext'; Expected result: ---------------- 1sometext Actual result: -------------- Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40144&edit=1