public static function get_value($sender, $key) { if (!isset(UTF8::$called[__FUNCTION__])) { require JsonApiApplication::find_file("utf8", __FUNCTION__); // Function has been called UTF8::$called[__FUNCTION__] = TRUE; } return _get_value($sender, $key); }
function is_valid_number() { $params = func_get_args(); $count = func_num_args(); $value = null; if (_get_value($params, $count, $value)) { if (is_numeric($value)) { return true; } } return false; }