浏览代码

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

Cédric Belin 4 年之前
父节点
当前提交
dc6fb4e9ca
共有 1 个文件被更改,包括 5 次插入0 次删除
  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;
 }