summaryrefslogtreecommitdiff
path: root/ext/standard/php_dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_dir.h')
-rw-r--r--ext/standard/php_dir.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/standard/php_dir.h b/ext/standard/php_dir.h
index 629535d3e3..15c9690eaa 100644
--- a/ext/standard/php_dir.h
+++ b/ext/standard/php_dir.h
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-2013 The PHP Group |
+ | Copyright (c) 1997-2012 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -37,4 +37,8 @@ PHP_FUNCTION(getdir);
PHP_FUNCTION(glob);
PHP_FUNCTION(scandir);
+#define PHP_SCANDIR_SORT_ASCENDING 0
+#define PHP_SCANDIR_SORT_DESCENDING 1
+#define PHP_SCANDIR_SORT_NONE 2
+
#endif /* PHP_DIR_H */