Bug #12035: Function dir with match
| From: | jpolaino at euro-red dot com | Date: | Wed, 11 Jul 2001 07:24:46 +0000 |
| Subject: | Bug #12035: Function dir with match | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59656@lists.php.net to get a copy of this message | ||
From: jpolaino@euro-red.com
Operating system: Win
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: Function dir with match
dir (string directory) is a very poor function.
I'd like a funcion where I can request:
dir("path/directory/with/$Match", $Order=BY_NAME, $Reverse=0);
where $Match allow ?, *, [1-5], [a-z]
and $Order allow BY_NAME, BY_DATE, BY_SIZE
It is posible?
Tomorrow, please?
Too I sugest a function $Array = ArrayDir($Dir);
Perdon for my bad english
--
Edit bug report at: http://bugs.php.net/?id=12035&edit=1