|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-25 07:52 UTC] colder@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Aug 25 21:00:02 2026 UTC |
Description: ------------ Well, as said in the Summary (sorry, couldn't make a normal sentence of it) echo "Blah".require("file.php")."\n"; tries to include "file.php\n"; If parentheses are used after a language construct, I`d expect it to "end reading" the (eg) filename there. Reproduce code: --------------- <?PHP echo "Blah".require("file.php")."\n"; ?> Expected result: ---------------- like: <?PHP echo "Blah".(require("file.php"))."\n"; ?> include file.php, and don't give a parse error