瀏覽代碼

[php] added extern for `gethostname` (closes #10042)

Aleksandr Kuzmenko 4 年之前
父節點
當前提交
4da5a02218
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      std/php/Global.hx

+ 5 - 0
std/php/Global.hx

@@ -1434,6 +1434,11 @@ extern class Global {
 	**/
 	**/
 	static function base64_decode(data:String, strict:Bool = false):EitherType<String, Bool>;
 	static function base64_decode(data:String, strict:Bool = false):EitherType<String, Bool>;
 
 
+	/**
+		@see http://php.net/manual/en/function.gethostname.php
+	**/
+	static function gethostname():EitherType<String, Bool>;
+
 	/**
 	/**
 		@see http://php.net/manual/en/function.gethostbyname.php
 		@see http://php.net/manual/en/function.gethostbyname.php
 	**/
 	**/