--- embedaddon/php/ext/standard/php_dir.h 2012/02/21 23:48:02 1.1 +++ embedaddon/php/ext/standard/php_dir.h 2014/06/15 20:03:57 1.1.1.4 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2012 The PHP Group | + | Copyright (c) 1997-2014 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 | @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_dir.h,v 1.1 2012/02/21 23:48:02 misho Exp $ */ +/* $Id: php_dir.h,v 1.1.1.4 2014/06/15 20:03:57 misho Exp $ */ #ifndef PHP_DIR_H #define PHP_DIR_H @@ -36,5 +36,9 @@ PHP_NAMED_FUNCTION(php_if_readdir); 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 */