Guys, I have one site which uses current() to get top element on array. It works fine on my local environment, but when i push it live, this function doesn't work. my array has: Array ( [6] => stdClass Object ( [tid] => 6 [vid] => 3 [name] => Symptoms & Diagnostics [description] => [weight] => 0 ) ) i use current($array)->tid current($array) should give me stdClass Object Please help me out. Thanks, Chandan
Nevermind, I turned on this in .htaccess and it started working php_value zend.ze1_compatibility_mode On