فهرست منبع

[php] Add externs for `fileatime()`, `filectime()` and `filemtime()` (#9830)

Cédric Belin 5 سال پیش
والد
کامیت
428e46950a
1فایلهای تغییر یافته به همراه15 افزوده شده و 0 حذف شده
  1. 15 0
      std/php/Global.hx

+ 15 - 0
std/php/Global.hx

@@ -690,6 +690,21 @@ extern class Global {
 	**/
 	static function file_put_contents(filename:String, data:Dynamic, flags:Int = 0, ?context:Resource):EitherType<Int, Bool>;
 
+	/**
+		@see http://php.net/manual/en/function.fileatime.php
+	**/
+	static function fileatime(filename:String):EitherType<Int, Bool>;
+
+	/**
+		@see http://php.net/manual/en/function.filectime.php
+	**/
+	static function filectime(filename:String):EitherType<Int, Bool>;
+
+	/**
+		@see http://php.net/manual/en/function.filemtime.php
+	**/
+	static function filemtime(filename:String):EitherType<Int, Bool>;
+
 	/**
 		@see http://php.net/manual/en/function.clearstatcache.php
 	**/