add more compatibility params
create ephp_func_misc for define and other functions, add is_array to ephp_func_vars
refactor get_timestamp