Spec-Zone.ru › Haxe PHP

Global

package php

Available on php

This class contains externs for native PHP functions defined in global namespace. For native PHP constants in global namespace see php.Const.

Static methods

staticabs<T>(number:T):T

See also:

  • http://php.net/manual/en/function.abs.php

staticacos(arg:Float):Float

See also:

  • http://php.net/manual/en/function.acos.php

staticarray_diff(array:Rest<NativeArray>):NativeArray

See also:

  • http://php.net/manual/en/function.array-diff.php

staticarray_fill(start_index:Int, num:Int, value:Dynamic):NativeArray

See also:

  • http://php.net/manual/en/function.array-fill.php

staticarray_filter(array:NativeArray, ?callback:(Dynamic, Dynamic) ‑> Bool, flag:Int = 0):NativeArray

staticarray_filter(array:NativeArray, callback:Dynamic ‑> Bool, ?flag:Int):NativeArray

See also:

  • http://php.net/manual/en/function.array-filter.php

staticarray_key_exists(key:EitherType<String, Int>, arr:NativeArray):Bool

See also:

  • http://php.net/manual/en/function.array-key-exists.php

staticarray_keys(arr:NativeArray):NativeIndexedArray<EitherType<String, Int>>

See also:

  • http://php.net/manual/en/function.array-keys.php

staticarray_map(callback:EitherType<Dynamic ‑> Dynamic, String>, array:Rest<NativeArray>):NativeArray

See also:

  • http://php.net/manual/en/function.array-map.php

staticarray_merge(array:Rest<NativeArray>):NativeArray

See also:

  • http://php.net/manual/en/function.array-merge.php

staticarray_pad(array:NativeArray, size:Int, value:Dynamic):NativeArray

See also:

  • http://php.net/manual/en/function.array-pad.php

staticarray_pop(array:NativeArray):Dynamic

See also:

  • http://php.net/manual/en/function.array-pop.php

staticarray_push(array:Ref<NativeArray>, value:Rest<Dynamic>):Int

See also:

  • http://php.net/manual/en/function.array-push.php

staticarray_reverse(array:NativeArray, preserve_keys:Bool = false):NativeArray

See also:

  • http://php.net/manual/en/function.array-reverse.php

staticarray_search(needle:Dynamic, haystack:NativeArray, strict:Bool = false):EitherType<Bool, EitherType<String, Int>>

See also:

  • http://php.net/manual/en/function.array-search.php

staticarray_shift(array:Ref<NativeArray>):Dynamic

See also:

  • http://php.net/manual/en/function.array-shift.php

staticarray_slice(array:NativeArray, offset:Int, ?length:Int, preserve_keys:Bool = false):NativeArray

See also:

  • http://php.net/manual/en/function.array-slice.php

staticarray_splice(array:Ref<NativeArray>, offset:Int, lenght:Int = 0, ?replacement:Dynamic):NativeArray

See also:

  • http://php.net/manual/en/function.array-splice.php

staticarray_unshift(arr:Ref<NativeArray>, value:Rest<Dynamic>):Int

See also:

  • http://php.net/manual/en/function.array-unshift.php

staticarray_values(arr:NativeArray):NativeIndexedArray<Dynamic>

See also:

  • http://php.net/manual/en/function.array-values.php

staticasin(arg:Float):Float

See also:

  • http://php.net/manual/en/function.asin.php

staticatan(arg:Float):Float

See also:

  • http://php.net/manual/en/function.atan.php

staticatan2(y:Float, x:Float):Float

See also:

  • http://php.net/manual/en/function.atan2.php

staticbase64_decode(data:String, strict:Bool = false):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.base64-decode.php

staticbase64_encode(data:String):String

See also:

  • http://php.net/manual/en/function.base64-encode.php

staticbin2hex(str:String):String

See also:

  • http://php.net/manual/en/function.bin2hex.php

staticbindec(binary_string:String):Float

See also:

  • http://php.net/manual/en/function.bindec.php

staticboolval(value:Dynamic):Bool

See also:

  • http://php.net/manual/en/function.boolval.php

staticcall_user_func(callback:Dynamic, arguments:Rest<Dynamic>):Dynamic

See also:

  • http://php.net/manual/en/function.call-user-func.php

staticcall_user_func_array(callback:Dynamic, arguments:NativeArray):Dynamic

See also:

  • http://php.net/manual/en/function.call-user-func-array.php

staticceil(arg:Float):Float

See also:

  • http://php.net/manual/en/function.ceil.php

staticchdir(directory:String):Bool

See also:

  • http://php.net/manual/en/function.chdir.php

staticchr(code:Int):String

See also:

  • http://php.net/manual/en/function.chr.php

staticchunk_split(body:String, chunklen:Int = 76, end:String = "\r\n"):String

See also:

  • http://php.net/manual/en/function.chunk-split.php

staticclass_alias(original:String, alias:String, autoload:Bool = true):Bool

See also:

  • http://php.net/manual/en/function.class-alias.php

staticclass_exists(class_name:String, autoload:Bool = true):Bool

See also:

  • http://php.net/manual/en/function.class-exists.php

staticclearstatcache(clear_realpath_cache:Bool = false, ?filename:String):Bool

See also:

  • http://php.net/manual/en/function.clearstatcache.php

staticclosedir(dir_handle:Resource):Void

See also:

  • http://php.net/manual/en/function.closedir.php

staticconstant(name:String):Dynamic

See also:

  • http://php.net/manual/en/function.constant.php

staticcopy(source:String, dest:String, ?context:Resource):Bool

See also:

  • http://php.net/manual/en/function.copy.php

staticcos(arg:Float):Float

See also:

  • http://php.net/manual/en/function.cos.php

staticcount(array:Dynamic, ?mode:Int):Int

See also:

  • http://php.net/manual/en/function.count.php

staticcurrent(array:Ref<NativeArray>):Dynamic

See also:

  • http://php.net/manual/en/function.current.php

staticdate(format:String, ?timestamp:Int):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.date.php

staticdebug_backtrace(?options:Int, ?limit:Int):NativeIndexedArray<NativeAssocArray<Dynamic>>

See also:

  • http://php.net/manual/en/function.debug-backtrace.php

staticdecbin(number:Int):String

See also:

  • http://php.net/manual/en/function.decbin.php

staticdechex(number:Int):String

See also:

  • http://php.net/manual/en/function.dechex.php

staticdefine(name:String, value:Dynamic, case_insensitive:Bool = false):Bool

See also:

  • http://php.net/manual/en/function.define.php

staticdefined(name:String):Bool

See also:

  • http://php.net/manual/en/function.defined.php

staticdie(status:EitherType<String, Int>):Void

See also:

  • http://php.net/manual/en/function.exit.php

staticdirname(path:String, levels:Int = 1):String

See also:

  • http://php.net/manual/en/function.dirname.php

staticeach(array:Ref<NativeArray>):NativeArray

See also:

  • http://php.net/manual/en/function.each.php

staticecho(args:Rest<String>):Void

See also:

  • http://php.net/manual/en/function.echo.php

staticend(array:Ref<NativeArray>):Dynamic

See also:

  • http://php.net/manual/en/function.end.php

staticerror_reporting(?level:Int):Int

See also:

  • http://php.net/manual/en/function.error-reporting.php

staticexit(status:EitherType<String, Int>):Void

See also:

  • http://php.net/manual/en/function.exit.php

staticexp(arg:Float):Float

See also:

  • http://php.net/manual/en/function.exp.php

staticexplode(delimiter:String, string:String, ?limit:Int):EitherType<Bool, NativeIndexedArray<String>>

See also:

  • http://php.net/manual/en/function.explode.php

staticextension_loaded(name:String):Bool

See also:

  • http://php.net/manual/en/function.extension-loaded.php

staticfclose(handle:Resource):Bool

See also:

  • http://php.net/manual/en/function.fclose.php

staticfeof(handle:Resource):Bool

See also:

  • http://php.net/manual/en/function.feof.php

staticfflush(handle:Resource):Bool

See also:

  • http://php.net/manual/en/function.fflush.php

staticfgetc(handle:Resource):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.fgetc.php

staticfgets(handle:Resource):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.fgets.php

staticfile_exists(filename:String):Bool

See also:

  • http://php.net/manual/en/function.file-exists.php

staticfile_get_contents(filename:String, use_include_path:Bool = false, ?context:Resource, offset:Int = 0, ?maxlen:Int):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.file-get-contents.php

staticfile_put_contents(filename:String, data:Dynamic, flags:Int = 0, ?context:Resource):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.file-put-contents.php

staticfiletype(filename:String):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.filetype.php

staticfloatval(value:Dynamic):Float

See also:

  • http://php.net/manual/en/function.floatval.php

staticfloor(arg:Float):Float

See also:

  • http://php.net/manual/en/function.floor.php

staticflush():Void

See also:

  • http://php.net/manual/en/function.flush.php

staticfopen(filename:String, mode:String, use_include_path:Bool = false, ?context:Resource):EitherType<Bool, Resource>

See also:

  • http://php.net/manual/en/function.fopen.php

staticfpassthru(handle:Resource):Int

See also:

  • http://php.net/manual/en/function.fpassthru.php

staticfread(handle:Resource, length:Int):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.fread.php

staticfseek(handle:Resource, offset:Int, ?whence:Int):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.fseek.php

staticfstat(handle:Resource):NativeArray

See also:

  • http://php.net/manual/en/function.fstat.php

staticftell(handle:Resource):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.ftell.php

staticfunc_get_args():NativeIndexedArray<Dynamic>

See also:

  • http://php.net/manual/en/function.func-get-args.php

staticfunction_exists(function_name:String):Bool

See also:

  • http://php.net/manual/en/function.function-exists.php

staticfwrite(handle:Resource, string:String, ?length:Int):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.fwrite.php

staticgc_collect_cycles():Int

See also:

  • http://php.net/manual/en/function.gc-collect-cycles.php

staticget_class(?object:{}):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.get-class.php

staticget_include_path():String

See also:

  • http://php.net/manual/en/function.get-include-path.php

staticget_object_vars(object:{}):NativeAssocArray<Dynamic>

See also:

  • http://php.net/manual/en/function.get-object-vars.php

staticget_parent_class(?object:Dynamic):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.get-parent-class.php

staticgetallheaders():NativeAssocArray<Dynamic>

See also:

  • http://php.net/manual/en/function.getallheaders.php

staticgetcwd():EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.getcwd.php

staticgetenv(varname:String):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.getenv.php

staticgethostbyaddr(ip_address:String):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.gethostbyaddr.php

staticgethostbyname(hostname:String):String

See also:

  • http://php.net/manual/en/function.gethostbyname.php

staticgetprotobyname(name:String):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.getprotobyname.php

staticglob(pattern:String, flags:Int = 0):NativeArray

See also:

  • http://php.net/manual/en/function.glob.php

staticgmdate(format:String, ?timestamp:Int):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.gmdate.php

staticgmmktime(?hour:Int, ?minute:Int, ?second:Int, ?month:Int, ?day:Int, ?year:Int, ?is_dst:Int):Int

See also:

  • http://php.net/manual/en/function.gmmktime.php

staticgzcompress(data:String, ?level:Int, ?encoding:Int):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.gzcompress.php

staticgzuncompress(data:String, ?length:Int):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.gzuncompress.php

statichash(algo:String, str:String, raw_output:Bool = false):String

See also:

  • http://php.net/manual/en/function.hash.php

staticheader(string:String, replace:Bool = true, ?http_response_code:Int):Void

See also:

  • http://php.net/manual/en/function.header.php

statichex2bin(str:String):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.hex2bin.php

statichexdec(hex_string:String):Int

See also:

  • http://php.net/manual/en/function.hexdec.php

statichtmlspecialchars(string:String, ?flags:Int, ?encoding:String, double_encode:Bool = true):String

See also:

  • http://php.net/manual/en/function.htmlspecialchars.php

statichtmlspecialchars_decode(string:String, ?flags:Int):String

See also:

  • http://php.net/manual/en/function.htmlspecialchars_decode.php

staticimplode(glue:String, pieces:NativeArray):String

staticimplode(pieces:NativeArray):String

See also:

  • http://php.net/manual/en/function.implode.php

staticin_array(needle:Dynamic, haystack:NativeArray, strict:Bool = false):Bool

See also:

  • http://php.net/manual/en/function.in-array.php

staticinclude(include_path:String):Void

See also:

  • http://php.net/manual/en/function.include.php

staticinclude_once(include_path:String):Void

See also:

  • http://php.net/manual/en/function.include-once.php

staticini_get(var_name:String):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.ini-get.php

staticini_set(var_name:String, newvalue:String):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.ini-set.php

staticinterface_exists(interface_name:String, autoload:Bool = true):Bool

See also:

  • http://php.net/manual/en/function.interface-exists.php

staticintval(value:Dynamic, base:Int = 10):Int

See also:

  • http://php.net/manual/en/function.intval.php

staticis_array(value:Dynamic):Bool

Checks if values is php.NativeArray

See also:

  • http://php.net/manual/en/function.is-array.php

staticis_bool(value:Dynamic):Bool

See also:

  • http://php.net/manual/en/function.is-bool.php

staticis_callable(value:Dynamic, syntax_only:Bool = false, ?callable_name:String):Bool

See also:

  • http://php.net/manual/en/function.is-callable.php

staticis_dir(filename:String):Bool

See also:

  • http://php.net/manual/en/function.is-dir.php

staticis_finite(arg:Float):Bool

See also:

  • http://php.net/manual/en/function.is-finite.php

staticis_float(value:Dynamic):Bool

See also:

  • http://php.net/manual/en/function.is-float.php

staticis_int(value:Dynamic):Bool

See also:

  • http://php.net/manual/en/function.is-int.php

staticis_nan(arg:Float):Bool

See also:

  • http://php.net/manual/en/function.is-nan.php

staticis_null(value:Dynamic):Bool

See also:

  • http://php.net/manual/en/function.is-null.php

staticis_numeric(value:Dynamic):Bool

See also:

  • http://php.net/manual/en/function.is-numeric.php

staticis_object(value:Dynamic):Bool

See also:

  • http://php.net/manual/en/function.is-object.php

staticis_string(value:Dynamic):Bool

See also:

  • http://php.net/manual/en/function.is-string.php

staticis_subclass_of(value:Dynamic, className:String, allow_string:Bool = true):Bool

See also:

  • http://php.net/manual/en/function.is-subclass-of.php

staticis_uploaded_file(filename:String):Bool

See also:

  • http://php.net/manual/en/function.is-uploaded-file.php

staticisset(value:Dynamic, args:Rest<Dynamic>):Bool

See also:

  • http://php.net/manual/en/function.isset.php

staticjson_decode(json:String, assoc:Bool = false, depth:Int = 512, options:Int = 512):Dynamic

See also:

  • http://php.net/manual/en/function.json-decode.php

staticjson_encode(value:Dynamic, options:Int = 0, depth:Int = 512):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.json-encode.php

staticjson_last_error():Int

See also:

  • http://php.net/manual/en/function.json-last-error.php

staticjson_last_error_msg():EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.json-last-error-msg.php

statickey(array:NativeArray):EitherType<String, Int>

See also:

  • http://php.net/manual/en/function.key.php

staticlog(arg:Float):Float

See also:

  • http://php.net/manual/en/function.log.php

staticltrim(str:String, ?character_mask:String):String

See also:

  • http://php.net/manual/en/function.ltrim.php

staticmail(to:String, subject:String, message:String, ?additional_headers:String, ?additional_parameters:String):Bool

See also:

  • http://php.net/manual/en/function.mail.php

staticmax(values:Rest<Dynamic>):Dynamic

See also:

  • http://php.net/manual/en/function.max.php

staticmb_check_encoding(?str:String, ?encoding:String):Bool

See also:

  • http://php.net/manual/en/function.mb-check-encoding.php

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

See also:

  • http://php.net/manual/en/function.mb-convert-encoding.php

staticmb_internal_encoding(?encoding:String):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.mb-internal-encoding.php

staticmb_ord(str:String, ?encoding:String):Int

See also:

  • http://php.net/manual/en/function.mb-ord.php (Polyfilled for php 7.0)

staticmb_regex_encoding(?encoding:String):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.mb-regex-encoding.php

staticmb_split(pattern:String, str:String, ?limit:Int):NativeIndexedArray<String>

See also:

  • http://php.net/manual/en/function.mb-split.php

staticmb_strlen(str:String, ?encoding:String):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.mb-strlen.php

staticmb_strpos(haystack:String, needle:String, ?offset:Int, ?encoding:String):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.mb-strpos.php

staticmb_strrpos(haystack:String, needle:String, ?offset:Int, ?encoding:String):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.mb-strrpos.php

staticmb_strtolower(str:String, ?encoding:String):String

See also:

  • http://php.net/manual/en/function.mb-strtolower.php

staticmb_strtoupper(str:String, ?encoding:String):String

See also:

  • http://php.net/manual/en/function.mb-strtoupper.php

staticmb_substr(str:String, start:Int, ?length:Int, ?encoding:String):String

See also:

  • http://php.net/manual/en/function.mb-substr.php

staticmd5(str:String, raw_output:Bool = false):String

See also:

  • http://php.net/manual/en/function.md5.php

staticmethod_exists(object:Dynamic, method_name:String):Bool

See also:

  • http://php.net/manual/en/function.method-exists.php

staticmicrotime(get_as_float:Bool = false):EitherType<Float, String>

See also:

  • http://php.net/manual/en/function.microtime.php

staticmin(values:Rest<Dynamic>):Dynamic

See also:

  • http://php.net/manual/en/function.min.php

staticmkdir(pathname:String, mode:Int = 511, recursive:Bool = false, ?context:Resource):Bool

See also:

  • http://php.net/manual/en/function.mkdir.php

staticmktime(?hour:Int, ?minute:Int, ?second:Int, ?month:Int, ?day:Int, ?year:Int, ?is_dst:Int):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.mktime.php

staticmove_uploaded_file(filename:String, destination:String):Bool

See also:

  • http://php.net/manual/en/function.move-uploaded-file.php

staticmt_getrandmax():Int

See also:

  • http://php.net/manual/en/function.mt-getrandmax.php

staticmt_rand(base:Int, exp:Int):Int

staticmt_rand():Int

See also:

  • http://php.net/manual/en/function.mt-rand.php

staticnext(array:Ref<NativeArray>):Dynamic

See also:

  • http://php.net/manual/en/function.next.php

staticopendir(path:String, ?context:Resource):EitherType<Resource, Bool>

See also:

  • http://php.net/manual/en/function.opendir.php

staticord(string:String):Int

See also:

  • http://php.net/manual/en/function.ord.php

staticpack(format:String, args:Rest<Dynamic>):String

See also:

  • http://php.net/manual/en/function.pack.php

staticphp_uname(mode:String = "a"):String

See also:

  • http://php.net/manual/en/function.php-uname.php

staticphpversion(?extension:String):String

See also:

  • http://php.net/manual/en/function.phpversion.php

staticpow(base:Float, exp:Float):Float

See also:

  • http://php.net/manual/en/function.pow.php

staticpreg_last_error():Int

See also:

  • http://php.net/manual/en/function.preg-last-error.php

staticpreg_match(pattern:String, subject:String, ?matches:NativeArray, ?flags:Int, ?offset:Int):EitherType<Bool, Int>

See also:

  • http://php.net/manual/en/function.preg-match.php

staticpreg_match_all(pattern:String, subject:String, ?matches:NativeArray, ?flags:Int, ?offset:Int):EitherType<Bool, Int>

See also:

  • http://php.net/manual/en/function.preg-match-all.php

staticpreg_quote(str:String, ?delimiter:String):String

See also:

  • http://php.net/manual/en/function.preg-quote.php

staticpreg_replace(pattern:EitherType<String, NativeArray>, replacement:EitherType<String, NativeArray>, subject:EitherType<String, NativeArray>, limit:Int = -1, ?count:Int):EitherType<String, NativeArray>

See also:

  • http://php.net/manual/en/function.preg-replace.php

staticpreg_split(pattern:String, subject:String, limit:Int = -1, flags:Int = 0):EitherType<Bool, NativeArray>

See also:

  • http://php.net/manual/en/function.preg-split.php

staticprev(array:Ref<NativeArray>):Dynamic

See also:

  • http://php.net/manual/en/function.prev.php

staticproc_close(process:Resource):Int

See also:

  • http://php.net/manual/en/function.proc-close.php

staticproc_get_status(process:Resource):EitherType<Bool, NativeAssocArray<Scalar>>

See also:

  • http://php.net/manual/en/function.proc-get-status.php

staticproc_open(cmd:String, descriptorspec:NativeArray, pipes:NativeIndexedArray<Resource>, ?cwd:String, ?env:NativeArray, ?other_options:NativeArray):EitherType<Resource, Bool>

See also:

  • http://php.net/manual/en/function.proc-open.php

staticproc_terminate(process:Resource, signal:Int = 15):Bool

See also:

  • http://php.net/manual/en/function.proc-terminate.php

staticproperty_exists(object:Dynamic, property_name:String):Bool

See also:

  • http://php.net/manual/en/function.property-exists.php

staticputenv(setting:String):Bool

See also:

  • http://php.net/manual/en/function.putenv.php

staticrawurldecode(str:String):String

See also:

  • http://php.net/manual/en/function.rawurldecode.php

staticrawurlencode(str:String):String

See also:

  • http://php.net/manual/en/function.rawurlencode.php

staticreaddir(?dir_handle:Resource):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.readdir.php

staticrealpath(path:String):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.realpath.php

staticrename(oldname:String, newname:String, ?context:Resource):Bool

See also:

  • http://php.net/manual/en/function.rename.php

staticrequire(include_path:String):Void

See also:

  • http://php.net/manual/en/function.require.php

staticrequire_once(include_path:String):Void

See also:

  • http://php.net/manual/en/function.require-once.php

staticreset(array:Ref<NativeArray>):Dynamic

See also:

  • http://php.net/manual/en/function.reset.php

staticrestore_error_handler():Bool

See also:

  • http://php.net/manual/en/function.restore-error-handler.php

staticrestore_exception_handler():Bool

See also:

  • http://php.net/manual/en/function.restore-exception-handler.php

staticrewind(handle:Resource):Bool

See also:

  • http://php.net/manual/en/function.rewind.php

staticrewinddir(?dir_handle:Resource):Void

See also:

  • http://php.net/manual/en/function.rewinddir.php

staticrmdir(dirname:String, ?context:Resource):Bool

See also:

  • http://php.net/manual/en/function.rmdir.php

staticround(val:Float, precision:Int = 0, ?mode:Int):Float

See also:

  • http://php.net/manual/en/function.round.php

staticrtrim(str:String, ?character_mask:String):String

See also:

  • http://php.net/manual/en/function.rtrim.php

staticserialize(value:Dynamic):String

See also:

  • http://php.net/manual/en/function.serialize.php

staticsession_cache_expire(?new_cache_expire:Int):Int

See also:

  • http://php.net/manual/en/function.session-cache-expire.php

staticsession_cache_limiter(?cache_limiter:String):String

See also:

  • http://php.net/manual/en/function.session-cache-limiter.php

staticsession_get_cookie_params():NativeAssocArray<Dynamic>

See also:

  • http://php.net/manual/en/function.session-get-cookie-params.php

staticsession_id(?id:String):String

See also:

  • http://php.net/manual/en/function.session-id.php

staticsession_module_name(?module:String):String

See also:

  • http://php.net/manual/en/function.session-module-name.php

staticsession_name(?name:String):String

See also:

  • http://php.net/manual/en/function.session-name.php

staticsession_regenerate_id(delete_old_session:Bool = false):Bool

See also:

  • http://php.net/manual/en/function.session-regenerate-id.php

staticsession_save_path(?path:String):String

See also:

  • http://php.net/manual/en/function.session-save-path.php

staticsession_set_cookie_params(lifetime:Int, ?path:String, ?domain:String, secure:Bool = false, httponly:Bool = false):Bool

staticsession_set_cookie_params(options:NativeStructArray<{secure:Null<Bool>, samesite:Null<String>, path:Null<String>, lifetime:Null<Int>, httponly:Null<Bool>, domain:Null<String>}>):Bool

See also:

  • http://php.net/manual/en/function.session-set-cookie-params.php

staticsession_set_save_handler(open:(String, String) ‑> Bool, close:() ‑> Bool, read:String ‑> String, write:(String, String) ‑> Bool, destroy:String ‑> Bool, gc:Int ‑> Bool, ?create_sid:() ‑> String, ?validate_sid:Function, ?update_timestamp:Function):Bool

staticsession_set_save_handler(sessionhandler:SessionHandlerInterface, register_shutdown:Bool = true):Bool

See also:

  • http://php.net/manual/en/function.session-set-save-handler.php

staticsession_start(?options:NativeArray):Bool

See also:

  • http://php.net/manual/en/function.session-start.php

staticsession_unset():Void

See also:

  • http://php.net/manual/en/function.session-unset.php

staticsession_write_close():Void

See also:

  • http://php.net/manual/en/function.session-write-close.php

staticset_error_handler(?error_handler:(Int, String, String, Int, Array<Dynamic>) ‑> Bool, ?error_types:Int):Dynamic

staticset_error_handler(error_handler:(Int, String) ‑> Bool, ?error_types:Int):Dynamic

staticset_error_handler(error_handler:(Int, String, String) ‑> Bool, ?error_types:Int):Dynamic

staticset_error_handler(error_handler:(Int, String, String, Int) ‑> Bool, ?error_types:Int):Dynamic

See also:

  • http://php.net/manual/en/function.set-error-handler.php

staticset_exception_handler(exception_handler:Throwable ‑> Void):Dynamic

See also:

  • http://php.net/manual/en/function.set-exception-handler.php

staticset_include_path(new_include_path:String):String

See also:

  • http://php.net/manual/en/function.set-include-path.php

staticset_time_limit(seconds:Int):Bool

See also:

  • http://php.net/manual/en/function.set-time-limit.php

staticsetcookie(name:String, value:String = "", expire:Int = 0, path:String = "", domain:String = "", secure:Bool = false, httponly:Bool = false):Bool

See also:

  • http://php.net/manual/en/function.setcookie.php

staticsetlocale(category:Int, locale:Rest<String>):EitherType<Bool, String>

staticsetlocale(category:Int, locale:NativeIndexedArray<String>):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.setlocale.php

staticsha1(str:String, raw_output:Bool = false):String

See also:

  • http://php.net/manual/en/function.sha1.php

staticsin(arg:Float):Float

See also:

  • http://php.net/manual/en/function.sin.php

staticsleep(seconds:Int):EitherType<Bool, Int>

See also:

  • http://php.net/manual/en/function.sleep.php

staticsocket_accept(stream:Resource):EitherType<Resource, Bool>

See also:

  • http://php.net/manual/en/function.socket-accept.php

staticsocket_bind(stream:Resource, host:String, port:Int):Bool

See also:

  • http://php.net/manual/en/function.socket-bind.php

staticsocket_close(resource:Resource):Void

See also:

  • http://php.net/manual/en/function.socket-close.php

staticsocket_connect(stream:Resource, host:String, port:Int):Bool

See also:

  • http://php.net/manual/en/function.socket-connect.php

staticsocket_create(domain:Int, type:Int, protocol:Int):Resource

See also:

  • http://php.net/manual/en/function.socket-create.php

staticsocket_export_stream(resource:Resource):EitherType<Bool, Resource>

See also:

  • http://php.net/manual/en/function.socket-export-stream.php

staticsocket_getpeername(stream:Resource, host:Ref<String>, port:Ref<Int>):Bool

See also:

  • http://php.net/manual/en/function.socket-getpeername.php

staticsocket_getsockname(stream:Resource, host:Ref<String>, port:Ref<Int>):Bool

See also:

  • http://php.net/manual/en/function.socket-getsockname.php

staticsocket_import_stream(resource:Resource):EitherType<Bool, Resource>

See also:

  • http://php.net/manual/en/function.socket-import-stream.php

staticsocket_listen(stream:Resource, connections:Int):Bool

See also:

  • http://php.net/manual/en/function.socket-listen.php

staticsocket_read(resource:Resource, length:Int, ?type:Int):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.socket-read.php

staticsocket_select(read:NativeIndexedArray<Resource>, write:NativeIndexedArray<Resource>, other:NativeIndexedArray<Resource>, tv_sec:Int = 0, tv_usec:Int = 0):EitherType<Bool, Int>

See also:

  • http://php.net/manual/en/function.socket-select.php

staticsocket_set_block(stream:Resource):Bool

See also:

  • http://php.net/manual/en/function.socket-set-block.php

staticsocket_set_nonblock(stream:Resource):Bool

See also:

  • http://php.net/manual/en/function.socket-set-nonblock.php

staticsocket_set_option(stream:Resource, level:Int, option:Int, val:Any):Bool

See also:

  • http://php.net/manual/en/function.socket-set-option.php

staticsocket_shutdown(stream:Resource, rw:Int):Bool

See also:

  • http://php.net/manual/en/function.socket-shutdown.php

staticsocket_write(resource:Resource, buffer:String, len:Int = 0):EitherType<Bool, Int>

See also:

  • http://php.net/manual/en/function.socket-write.php

staticspl_autoload(class_name:String, ?file_extensions:String):Void

See also:

  • http://php.net/manual/en/function.spl-autoload.php

staticspl_autoload_call(class_name:String):Void

See also:

  • http://php.net/manual/en/function.spl-autoload-call.php

staticspl_autoload_extensions(?file_extensions:String):String

See also:

  • http://php.net/manual/en/function.spl-autoload-extensions.php

staticspl_autoload_functions():EitherType<NativeIndexedArray<Function>, Bool>

See also:

  • http://php.net/manual/en/function.spl-autoload-functions.php

staticspl_autoload_register(?autoload_function:(className:String) ‑> Void, throw_exception:Bool = true, prepend:Bool = false):Bool

See also:

  • http://php.net/manual/en/function.spl-autoload-register.php

staticspl_autoload_unregister(autoload_function:(className:String) ‑> Void):Bool

See also:

  • http://php.net/manual/en/function.spl-autoload-unregister.php

staticspl_object_hash(obj:{}):String

See also:

  • http://php.net/manual/en/function.spl-object-hash.php

staticsprintf(format:String, args:Rest<Dynamic>):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.sprintf.php

staticsqlite_error_string(error_code:Int):String

See also:

  • http://php.net/manual/en/function.sqlite-error-string.php

staticsqlite_escape_string(item:String):String

See also:

  • http://php.net/manual/en/function.sqlite-escape-string.php

staticsqrt(arg:Float):Float

See also:

  • http://php.net/manual/en/function.sqrt.php

staticstat(filename:String):EitherType<NativeArray, Bool>

See also:

  • http://php.net/manual/en/function.stat.php

staticstr_pad(input:String, pad_length:Int, pad_String:String = " ", ?pad_type:Int):String

See also:

  • http://php.net/manual/en/function.str-pad.php

staticstr_repeat(input:String, multiplier:Int):String

See also:

  • http://php.net/manual/en/function.str-repeat.php

staticstr_replace(search:EitherType<String, NativeArray>, replace:EitherType<String, NativeArray>, subject:EitherType<String, NativeArray>, ?count:Int):EitherType<String, NativeArray>

See also:

  • http://php.net/manual/en/function.str-replace.php

staticstr_split(string:String, split_length:Int = 1):EitherType<Bool, NativeIndexedArray<String>>

See also:

  • http://php.net/manual/en/function.str-split.php

staticstrcasecmp(str1:String, str2:String):Int

See also:

  • http://php.net/manual/en/function.strcasecmp.php

staticstrcmp(str1:String, str2:String):Int

See also:

  • http://php.net/manual/en/function.strcmp.php

staticstream_get_contents(handle:Resource, maxlength:Int = -1, offset:Int = -1):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.stream-get-contents.php

staticstream_select(read:NativeArray, write:NativeArray, except:NativeArray, tv_sec:Int, tv_usec:Int = 0):Bool

See also:

  • http://php.net/manual/en/function.stream-select.php

staticstream_set_blocking(stream:Resource, mode:Bool):Bool

See also:

  • http://php.net/manual/en/function.stream-set-blocking.php

staticstream_set_timeout(stream:Resource, seconds:Int, microseconds:Int = 0):Bool

See also:

  • http://php.net/manual/en/function.stream-set-timeout.php

staticstream_socket_accept(server_socket:Resource, ?timeout:Float, ?peername:Ref<String>):EitherType<Resource, Bool>

See also:

  • http://php.net/manual/en/function.stream-socket-accept.php

staticstream_socket_client(remote_socket:String, ?errno:Ref<Int>, ?errstr:Ref<String>, ?timeout:Float, ?flags:Int, ?context:Resource):EitherType<Resource, Bool>

See also:

  • http://php.net/manual/en/function.stream-socket-client.php

staticstream_socket_get_name(stream:Resource, want_peer:Bool):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.stream-socket-get-name.php

staticstream_socket_server(local_socket:String, ?errno:Ref<Int>, ?errstr:Ref<String>, ?flags:Int, ?context:Resource):EitherType<Resource, Bool>

See also:

  • http://php.net/manual/en/function.stream-socket-server.php

staticstream_socket_shutdown(stream:Resource, how:Int):Bool

See also:

  • http://php.net/manual/en/function.stream-socket-shutdown.php

staticstrftime(format:String, ?timestamp:Int):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.strftime.php

staticstrlen(string:String):Int

See also:

  • http://php.net/manual/en/function.strlen.php

staticstrncasecmp(str1:String, str2:String, len:Int):Int

See also:

  • http://php.net/manual/en/function.strncasecmp.php

staticstrpos(haystack:String, needle:String, offset:Int = 0):EitherType<Bool, Int>

See also:

  • http://php.net/manual/en/function.strpos.php

staticstrrpos(haystack:String, needle:String, offset:Int = 0):EitherType<Bool, Int>

See also:

  • http://php.net/manual/en/function.strrpos.php

staticstrtolower(string:String):String

See also:

  • http://php.net/manual/en/function.strtolower.php

staticstrtotime(time:String, ?now:Int):EitherType<Int, Bool>

See also:

  • http://php.net/manual/en/function.strtotime.php

staticstrtoupper(string:String):String

See also:

  • http://php.net/manual/en/function.strtoupper.php

staticstrtr(str:String, from:String, to:String):String

staticstrtr(str:String, from:NativeAssocArray<String>):String

See also:

  • http://php.net/manual/en/function.strtr.php

staticstrval(value:Dynamic):String

See also:

  • http://php.net/manual/en/function.strval.php

staticsubstr(string:String, start:Int, ?length:Int):EitherType<Bool, String>

See also:

  • http://php.net/manual/en/function.substr.php

staticsubstr_count(haystack:String, needle:String, ?offset:Int, ?length:Int):Int

See also:

  • http://php.net/manual/en/function.substr-count.php

staticsubstr_replace(string:EitherType<String, NativeArray>, replacement:EitherType<String, NativeArray>, start:EitherType<Int, NativeArray>, ?length:EitherType<Int, NativeArray>):EitherType<String, NativeArray>

See also:

  • http://php.net/manual/en/function.substr_replace.php

staticsystem(command:String, ?return_var:Ref<Int>):EitherType<String, Bool>

See also:

  • http://php.net/manual/en/function.system.php

statictan(arg:Float):Float

See also:

  • http://php.net/manual/en/function.tan.php

statictime():Int

See also:

  • http://php.net/manual/en/function.time.php

statictrim(str:String, ?character_mask:String):String

See also:

  • http://php.net/manual/en/function.trim.php

staticucwords(str:String, ?delimiters:String):String

See also:

  • http://php.net/manual/en/function.ucwords.php

staticunlink(filename:String, ?context:Resource):Bool

See also:

  • http://php.net/manual/en/function.unlink.php

staticunpack(format:String, data:String):NativeArray

See also:

  • http://php.net/manual/en/function.unpack.php

staticunserialize(str:String, ?options:NativeArray):Dynamic

See also:

  • http://php.net/manual/en/function.unserialize.php

staticunset(value:Dynamic, values:Rest<Dynamic>):Void

See also:

  • http://php.net/manual/en/function.unset.php

staticurldecode(str:String):String

See also:

  • http://php.net/manual/en/function.urldecode.php

staticurlencode(str:String):String

See also:

  • http://php.net/manual/en/function.urlencode.php

staticusleep(micro_seconds:Int):Void

See also:

  • http://php.net/manual/en/function.usleep.php

staticusort(array:Ref<NativeArray>, value_compare_func:(Dynamic, Dynamic) ‑> Int):Bool

See also:

  • http://php.net/manual/en/function.usort.php

staticutf8_decode(data:String):String

See also:

  • http://php.net/manual/en/function.utf8-decode.php

staticutf8_encode(data:String):String

See also:

  • http://php.net/manual/en/function.utf8-encode.php

staticvar_dump(args:Rest<Dynamic>):Void

See also:

  • http://php.net/manual/en/function.var-dump.php

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/php/Global.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API