|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-11 18:40 UTC] flatdev at mail dot ru
[2005-09-11 21:07 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 01:00:01 2025 UTC |
Description: ------------ "Parser error" generated in dobule quoted strings, when after '->' operator there is double quote char ("). If next char after '->' isn't (") then parse error isn't generated. Reproduce code: --------------- // 1) $a='ok'; echo "$a->-"; echo "$a-> -"; // 2) $a='ok'; echo "$a->"; Expected result: ---------------- // 1) ok->- ok-> - // 2) ok-> Actual result: -------------- // 1) (This case works fine) ok->- ok-> - // 2) Parse error: parse error, expecting `T_STRING' in ...