vB root/includes/functions.php error

  • tgray96
  • Novice
  • Novice
  • tgray96
  • Posts: 27
  • Loc: Rising Sun Indiana

Post 3+ Months Ago

Ok getting this error:
Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 5066

this is line 5066

PHP Code: [ Select ]
foreach ($_FIELDNAMES AS $field => $bitvalue)
  • spork
  • Brewmaster
  • Silver Member
  • spork
  • Posts: 6302
  • Loc: Seattle, WA

Post 3+ Months Ago

"AS" is a keyword and might need to be lowercase; not sure if PHP is a case sensitive language.
  • Zealous
  • Guru
  • Guru
  • User avatar
  • Posts: 1305
  • Loc: Sydney

Post 3+ Months Ago

PHP case sensitivity

I’ve always found the case sensitivity rules in PHP a little mysterious, and also a little hard to find definitive information on. So, for reference sake here they are. Tests based on PHP 5.3 running on Mac OS X:
Case sensitive (both user defined and PHP defined)

array keys
class properties
class constants

Case insensitive (both user defined and PHP defined)

class constructors
class methods
keywords and constructs (if, else, null, foreach, echo etc.)


Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 27 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.