|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-21 05:22 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 07:00:02 2025 UTC |
The following error occurred: <b>Parse error</b>: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in <b>/www/htdocs/index.wc</b> on line <b>21</b><br /> When I ran the following code: if (!empty(HttpRequest::fetchPost(ENT))) { // code. } The internals of HttpRequest::fetchPost() returns the value of $HTTP_POST_VARS[ENT]. ENT is properly defined (as "ent"), and I was able to fix it by doing: $postData = HttpRequest::fetchPost(ENT); if (!empty($postData)) { // code. { My original code should execute without fail in my opinion, but if there is an acceptable reason for this bug, then so be it.