|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2020-11-21 14:25 UTC] 2016teemo at google dot com
Description: ------------ --- From manual page: https://php.net/function.glob --- Please support apline's GLOB_BRACE PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 13:00:01 2025 UTC |
Sorry, I just realised the other ticket doesn't contain a work around. You'd need to expand it yourself.... "They are used during expansion of the brace expression of the deeper level. The example below shows this glob ("{foo/{,bar,biz},baz}", GLOB_BRACE, NULL, &result) is equivalent to the sequence glob ("foo/", GLOB_BRACE, NULL, &result) glob ("foo/bar", GLOB_BRACE|GLOB_APPEND, NULL, &result) glob ("foo/biz", GLOB_BRACE|GLOB_APPEND, NULL, &result) glob ("baz", GLOB_BRACE|GLOB_APPEND, NULL, &result)"