浏览代码

[php] Add extern for the `emtpy()` function (#10255)

Cédric Belin 4 年之前
父节点
当前提交
aedd744123
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      std/php/Global.hx

+ 4 - 0
std/php/Global.hx

@@ -1849,4 +1849,8 @@ extern class Global {
 	**/
 	**/
 	static function number_format(num:Float, ?decimals:Int, ?decimal_separator:String, ?thousands_separator:String):String;
 	static function number_format(num:Float, ?decimals:Int, ?decimal_separator:String, ?thousands_separator:String):String;
 
 
+	/**
+		@see http://php.net/manual/en/function.empty.php
+	**/
+	static function empty(variable:Any):Bool;
 }
 }