Browse Source

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

Cédric Belin 4 years ago
parent
commit
aedd744123
1 changed files with 4 additions and 0 deletions
  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;
 
+	/**
+		@see http://php.net/manual/en/function.empty.php
+	**/
+	static function empty(variable:Any):Bool;
 }