This class contains externs for native PHP functions defined in global namespace.
For native PHP constants in global namespace see php.Const
.
Static methods
staticarray_diff(array:Rest<NativeArray>):NativeArray
staticarray_fill(start_index:Int, num:Int, value:Dynamic):NativeArray
staticarray_filter(array:NativeArray, ?callback:(Dynamic, Dynamic) ‑> Bool, flag:Int = 0):NativeArray
staticarray_filter(array:NativeArray, callback:Dynamic ‑> Bool, ?flag:Int):NativeArray
staticarray_key_exists(key:EitherType<String, Int>, arr:NativeArray):Bool
staticarray_keys(arr:NativeArray):NativeIndexedArray<EitherType<String, Int>>
staticarray_map(callback:EitherType<Dynamic ‑> Dynamic, String>, array:Rest<NativeArray>):NativeArray
staticarray_merge(array:Rest<NativeArray>):NativeArray
staticarray_pad(array:NativeArray, size:Int, value:Dynamic):NativeArray
staticarray_push(array:Ref<NativeArray>, value:Rest<Dynamic>):Int
staticarray_reverse(array:NativeArray, preserve_keys:Bool = false):NativeArray
staticarray_search(needle:Dynamic, haystack:NativeArray, strict:Bool = false):EitherType<Bool, EitherType<String, Int>>
staticarray_shift(array:Ref<NativeArray>):Dynamic
staticarray_slice(array:NativeArray, offset:Int, ?length:Int, preserve_keys:Bool = false):NativeArray
staticarray_splice(array:Ref<NativeArray>, offset:Int, lenght:Int = 0, ?replacement:Dynamic):NativeArray
staticarray_unshift(arr:Ref<NativeArray>, value:Rest<Dynamic>):Int
staticarray_values(arr:NativeArray):NativeIndexedArray<Dynamic>
staticbase64_decode(data:String, strict:Bool = false):EitherType<String, Bool>
staticcall_user_func(callback:Dynamic, arguments:Rest<Dynamic>):Dynamic
staticcall_user_func_array(callback:Dynamic, arguments:NativeArray):Dynamic
staticchunk_split(body:String, chunklen:Int = 76, end:String = "\r\n"):String
staticclass_alias(original:String, alias:String, autoload:Bool = true):Bool
staticclass_exists(class_name:String, autoload:Bool = true):Bool
staticclearstatcache(clear_realpath_cache:Bool = false, ?filename:String):Bool
staticdebug_backtrace(?options:Int, ?limit:Int):NativeIndexedArray<NativeAssocArray<Dynamic>>
staticexplode(delimiter:String, string:String, ?limit:Int):EitherType<Bool, NativeIndexedArray<String>>
staticextension_loaded(name:String):Bool
staticfgetc(handle:Resource):EitherType<Bool, String>
staticfgets(handle:Resource):EitherType<Bool, String>
staticfile_get_contents(filename:String, use_include_path:Bool = false, ?context:Resource, offset:Int = 0, ?maxlen:Int):EitherType<String, Bool>
staticfile_put_contents(filename:String, data:Dynamic, flags:Int = 0, ?context:Resource):EitherType<Int, Bool>
staticfiletype(filename:String):EitherType<String, Bool>
staticfopen(filename:String, mode:String, use_include_path:Bool = false, ?context:Resource):EitherType<Bool, Resource>
staticftell(handle:Resource):EitherType<Int, Bool>
staticfunc_get_args():NativeIndexedArray<Dynamic>
staticfunction_exists(function_name:String):Bool
staticget_class(?object:{}):EitherType<Bool, String>
staticget_object_vars(object:{}):NativeAssocArray<Dynamic>
staticget_parent_class(?object:Dynamic):EitherType<Bool, String>
staticgetallheaders():NativeAssocArray<Dynamic>
staticgetenv(varname:String):EitherType<String, Bool>
staticgethostbyaddr(ip_address:String):EitherType<String, Bool>
staticgethostbyname(hostname:String):String
staticgetprotobyname(name:String):EitherType<Int, Bool>
staticglob(pattern:String, flags:Int = 0):NativeArray
staticgmmktime(?hour:Int, ?minute:Int, ?second:Int, ?month:Int, ?day:Int, ?year:Int, ?is_dst:Int):Int
staticgzcompress(data:String, ?level:Int, ?encoding:Int):EitherType<String, Bool>
staticgzuncompress(data:String, ?length:Int):EitherType<String, Bool>
statichex2bin(str:String):EitherType<String, Bool>
statichtmlspecialchars(string:String, ?flags:Int, ?encoding:String, double_encode:Bool = true):String
statichtmlspecialchars_decode(string:String, ?flags:Int):String
staticin_array(needle:Dynamic, haystack:NativeArray, strict:Bool = false):Bool
staticinclude_once(include_path:String):Void
staticini_get(var_name:String):EitherType<Bool, String>
staticinterface_exists(interface_name:String, autoload:Bool = true):Bool
staticis_callable(value:Dynamic, syntax_only:Bool = false, ?callable_name:String):Bool
staticis_subclass_of(value:Dynamic, className:String, allow_string:Bool = true):Bool
staticis_uploaded_file(filename:String):Bool
staticjson_encode(value:Dynamic, options:Int = 0, depth:Int = 512):EitherType<String, Bool>
staticjson_last_error_msg():EitherType<String, Bool>
statickey(array:NativeArray):EitherType<String, Int>
staticmail(to:String, subject:String, message:String, ?additional_headers:String, ?additional_parameters:String):Bool
staticmb_check_encoding(?str:String, ?encoding:String):Bool
staticmb_chr(cp:Int, ?encoding:String):String
See also:
http://php.net/manual/en/function.mb-chr.php (Polyfilled for php 7.0)
staticmb_convert_encoding(str:String, to_encoding:String, ?from_encoding:Dynamic):String
staticmb_internal_encoding(?encoding:String):EitherType<Bool, String>
staticmb_ord(str:String, ?encoding:String):Int
See also:
http://php.net/manual/en/function.mb-ord.php (Polyfilled for php 7.0)