News:

Tekforums.net - The improved home of Tekforums! :D

Main Menu

PHP help

Started by Sam, January 08, 2010, 16:38:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sam

Hi guys,

Just moved a site from a php4 server to php5 and now any calls to sizeof or count are returning 1 regardless. Used to work fine. Did they change something in between versions that I (as someone who never touches php) do not know about ?

Goblin

count() returns 1 even if its not an array. Is it possible there is something going wrong beforehand resulting in it not being an array?
It's all fun and games until a 200' robot dinosaur shows up and trashes Neo-Tokyo... Again.