Doc #75024 [Asn->Csd]: glob(): Non-portable GLOB_BRACE presented without warning

From: Date: Mon, 09 Nov 2020 17:46:11 +0000
Subject: Doc #75024 [Asn->Csd]: glob(): Non-portable GLOB_BRACE presented without warning
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18105@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75024&edit=1

 ID:                 75024
 Updated by:         phpdocbot@php.net
 Reported by:        chealer at gmail dot com
 Summary:            glob(): Non-portable GLOB_BRACE presented without
                     warning
-Status:             Assigned
+Status:             Closed
 Type:               Documentation Problem
 Package:            Filesystem function related
 PHP Version:        Irrelevant
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=97750f17b2cbcb154caf4885f43ee07bf47047cb
Log: Fix #75024: glob(): Non-portable GLOB_BRACE presented without warning


Previous Comments:
------------------------------------------------------------------------
[2017-08-02 14:48:27] chealer at gmail dot com

Description:
------------
http://php.net/manual/en/function.glob.php
contains:
GLOB_BRACE - Expands {a,b,c} to match 'a', 'b', or 'c'

While this apparently works on GNU/Linux, mac OS and Windows, I am told it does not on systems like
Solaris: https://bugs.php.net/bug.php?id=70544&edit=2
And there is indeed a mention to that effect in the documentation page, the only problem being that:
*There is no mention in the item under "Valid flags" for GLOB_BRACE.
*The mention is a mere "Note" (white background).

I have personally committed code using this option without realizing it was not portable.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=75024&edit=1


Thread (2 messages)

« previous php.doc.bugs (#18105) next »