瀏覽代碼

[php] Add some filesystem constants (#10529)

Cédric Belin 3 年之前
父節點
當前提交
8316c2e4d3
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      std/php/Const.hx

+ 11 - 0
std/php/Const.hx

@@ -666,4 +666,15 @@ extern class Const {
 	static final CONNECTION_ABORTED: Int;
 	static final CONNECTION_NORMAL: Int;
 	static final CONNECTION_TIMEOUT: Int;
+
+	/**
+		@see http://php.net/manual/fr/filesystem.constants.php
+	**/
+	static final FILE_APPEND: Int;
+	static final FILE_BINARY: Int;
+	static final FILE_IGNORE_NEW_LINES: Int;
+	static final FILE_NO_DEFAULT_CONTEXT: Int;
+	static final FILE_SKIP_EMPTY_LINES: Int;
+	static final FILE_TEXT: Int;
+	static final FILE_USE_INCLUDE_PATH: Int;
 }