php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #13949 sort option for dir()
Submitted: 2001-11-05 22:46 UTC Modified: 2002-04-28 19:54 UTC
From: gberenfield at berenfield dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.6 OS: linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gberenfield at berenfield dot com
New email:
PHP Version: OS:

 

 [2001-11-05 22:46 UTC] gberenfield at berenfield dot com
Add a sort option for dir()
The commentary has a nice suggestion:

$sortoption="SORT_BY_NAME|DATE|SIZE"
dir($somedir, $sortoption);


if $sortoption is NULL, do not sort (for speedfreaks ;)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-28 19:54 UTC] jimw@php.net
not going to happen.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 25 00:00:01 2025 UTC