vB root/includes/functions.php error

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

Post 3+ Months Ago

Ok getting this error:
Quote:
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)
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6250
  • 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: 1241
  • Loc: Sydney

Post 3+ Months Ago

Quote:
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)

variables
constants
array keys
class properties
class constants

Case insensitive (both user defined and PHP defined)

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

source:http://the-echoplex.net/log/php-case-sensitivity

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 158 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-2014. Ozzu® is a registered trademark of Unmelted, LLC.