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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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