소스 검색

[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;
 }