Explorar o código

[php] Add extern for the `touch()` function (#9915)

Cédric Belin %!s(int64=4) %!d(string=hai) anos
pai
achega
dc6fb4e9ca
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      std/php/Global.hx

+ 5 - 0
std/php/Global.hx

@@ -1757,4 +1757,9 @@ extern class Global {
 		@see http://php.net/manual/en/function.opcache-reset.php
 	**/
 	static function opcache_reset():Bool;
+
+	/**
+		@see http://php.net/manual/en/function.touch.php
+	**/
+	static function touch(filename:String, ?time:Int, ?atime: Int):Bool;
 }