php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #12043 Function Dir with Matches and Sort
Submitted: 2001-07-11 06:27 UTC Modified: 2001-07-12 02:33 UTC
From: jpolaino at euro-red dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0.6 OS: Win
Private report: No CVE-ID: None
 [2001-07-11 06:27 UTC] jpolaino at euro-red dot com
I try edit my last question (12035) but I don't know the field CVS Username. I made any bad?

That's my response to Zak:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks for a very fast reply.

Fast, that is the question.

If I made a function like I want (it's easy, except the dificult of ereg options) this function will be very slow (read ALL directory, recurse dir with ereg and add in array, read too date and size and sort the array. Buff!).
If YOU made this function, this can be very fast.

NOTE: They already exists in C (Envy)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-11 07:05 UTC] zak@php.net
The CVS username is only needed for developers. Review the email that is sent when you submit a bug -- it details
(IIRC) how to edit your original bug report. 

You are quite right - doing it in PHP would be slower :)

Like I said - maybe one of the developers will decide to make this :)

    --zak

 [2001-07-12 02:33 UTC] sniper@php.net
please don't open new bug reports for same issues.
To get to the right page: change the 'edit=1' in the url
to 'edit=2'


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC