vB root/includes/functions.php error

  • tgray96
  • Novice
  • Novice
  • No Avatar
  • Joined: Feb 23, 2011
  • Posts: 27
  • Loc: Rising Sun Indiana
  • Status: Offline

Post May 6th, 2012, 12:30 am

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 6th, 2012, 12:30 am

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post May 8th, 2012, 1:47 pm

"AS" is a keyword and might need to be lowercase; not sure if PHP is a case sensitive language.
The Beer Monocle. Classy.
  • Zealous
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 15, 2011
  • Posts: 1195
  • Loc: Sydney
  • Status: Offline

Post May 9th, 2012, 12:55 am

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 117 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.