Bug #12035 Updated: Function dir with match

From: Date: Wed, 11 Jul 2001 08:00:36 +0000
Subject: Bug #12035 Updated: Function dir with match
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-59662@lists.php.net to get a copy of this message
ID: 12035 Updated by: zak Reported By: jpolaino@euro-red.com Old Status: Open Status: Analyzed Bug Type: Feature/Change Request Operating System: Win PHP Version: 4.0.6 New Comment: dir() is a very simple function that is designed to easily allow developer to build functions like you describe. You can build this function by using a combination of ereg() and sort (or usort or rsort). For help on doing this, please contact the PHP General mailing list. Note: The developers may not agree with me -- I will leave this bug set to analyzed to encourage others to look at it. Previous Comments: ------------------------------------------------------------------------ [2001-07-11 03:24:46] jpolaino@euro-red.com 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 ------------------------------------------------------------------------ ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=12035&edit=1

« previous php.dev (#59662) next »