|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-10 09:06 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 20:00:01 2025 UTC |
The following code produces an error if ( isset($adodbobject->Fields('myresult') ) ) { // do something } PHP throws an error ( not warning ) saying: Parse error: parse error, expecting `','' or `')'' in /path/to/index.php on line 45 However, when I modify the isset to look like this: $_q = $adodbobject->Fields('myresult'); if ( isset($_q) ) { // do something } It works fine. Is this proper behavior for isset, or is this a php bug? I can't search google groups for "->", or any other search engine for that matter. So it has been tough trying to see if anyone else gets this error.