Browse Source

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

Cédric Belin 4 years ago
parent
commit
dc6fb4e9ca
1 changed files with 5 additions and 0 deletions
  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
 		@see http://php.net/manual/en/function.opcache-reset.php
 	**/
 	**/
 	static function opcache_reset():Bool;
 	static function opcache_reset():Bool;
+
+	/**
+		@see http://php.net/manual/en/function.touch.php
+	**/
+	static function touch(filename:String, ?time:Int, ?atime: Int):Bool;
 }
 }