Explorar o código

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

Cédric Belin %!s(int64=5) %!d(string=hai) anos
pai
achega
6976658c70
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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
 	**/