Ver Fonte

[php] Add extern for `filesize()` (#9832)

Cédric Belin há 5 anos atrás
pai
commit
f5fe709b21
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      std/php/Global.hx

+ 5 - 0
std/php/Global.hx

@@ -705,6 +705,11 @@ extern class Global {
 	**/
 	static function filemtime(filename:String):EitherType<Int, Bool>;
 
+	/**
+		@see http://php.net/manual/en/function.filesize.php
+	**/
+	static function filesize(filename:String):EitherType<Int, Bool>;
+
 	/**
 		@see http://php.net/manual/en/function.clearstatcache.php
 	**/