$val) { if ($needle === $val) { return($key); } } return FALSE; } function microtime_float() { list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec); } if(!function_exists('is_a')) { //We only use is_a as a replacement for PHP5-related stuff, so we always return false //anyways function is_a($obj, $d) { return false; } } ?>