note 116253 added to function.glob
| From: | Anxiety35 at gmail dot com | Date: | Mon, 01 Dec 2014 21:20:21 +0000 |
| Subject: | note 116253 added to function.glob | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201047@lists.php.net to get a copy of this message | ||
After fiddling with GLOB_BRACE a bunch, I have found the most items that can be included in the
braces is about 10 before glob no longer returns any matches.
I have a scenario where there can be a thousand or more files to check for where I can't
pattern match and need to check specific names. I was hoping to batch them in large groups to see if
it would help performance. However, if I include more than 10 in a GLOB_BRACE the function will
return FALSE.
----
Server IP: 72.52.91.14
Probable Submitter: 98.173.222.22
----
Manual Page -- http://php.net/manual/en/function.glob.php
Edit -- https://master.php.net/note/edit/116253
Del: integrated -- https://master.php.net/note/delete/116253/integrated
Del: useless -- https://master.php.net/note/delete/116253/useless
Del: bad code -- https://master.php.net/note/delete/116253/bad+code
Del: spam -- https://master.php.net/note/delete/116253/spam
Del: non-english -- https://master.php.net/note/delete/116253/non-english
Del: in docs -- https://master.php.net/note/delete/116253/in+docs
Del: other reasons-- https://master.php.net/note/delete/116253
Reject -- https://master.php.net/note/reject/116253
Search -- https://master.php.net/manage/user-notes.php