|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-09-29 17:50 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2021-09-29 17:50 UTC] cmb@php.net
[2021-10-10 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 21:00:01 2025 UTC |
Description: ------------ I would love to see support for "/**/" in glob(). That pattern would match zero or more directories in the path, like in Ant. Test script: --------------- <?php touch('style.css'); touch('script.js'); mkdir('dir'); touch('dir/reset.css'); foreach (glob('**/*.css') as $path) { echo $path."\n"; } Expected result: ---------------- style.css dir/reset.css Actual result: -------------- dir/reset.css