|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-17 15:35 UTC] tony2001@php.net
[2004-08-29 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 18:00:01 2025 UTC |
Description: ------------ The error is for a line that CAN look like this: if (condition) { do something } elseif (condition) { do something else } The error disappears when it's changed to if (condition) { do something } elseif (condition) { do something else } The error does then NOT appear when the if-then-else is changed back. The if-then-else can contain an else { } just as well, this was just an example. Expected result: ---------------- No error Actual result: -------------- Parse error: parse error, unexpected T_VARIABLE