Doc #63069 [NEW]: GLOB_NOCHECK Results

From: Date: Wed, 12 Sep 2012 05:34:08 +0000
Subject: Doc #63069 [NEW]: GLOB_NOCHECK Results
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8854@lists.php.net to get a copy of this message
From: bhsmither at gmail dot com Operating system: Irrelevant PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:GLOB_NOCHECK Results Description: ------------ glob() function http://us3.php.net/manual/en/function.glob.php Documentation says: "GLOB_NOCHECK - Return the search pattern if no files matching it were found." Tests indicate that the search pattern is not returned 'verbatim', but rather an array (with wildcard characters in place) with each array element representing one possible combination of braced options, the whole array having all possible combinations. Test script: --------------- <?php $language='L:\WebServer\htdocs\language\es-ES'; $qqq=glob(' with '.$language.'{-custom,-normal}.xml', GLOB_BRACE | GLOB_NOCHECK); print_r($qqq); ?> -- Edit bug report at https://bugs.php.net/bug.php?id=63069&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63069&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63069&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63069&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63069&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=63069&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=63069&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63069&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63069&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63069&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63069&r=support Expected behavior: https://bugs.php.net/fix.php?id=63069&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63069&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63069&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63069&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63069&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63069&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63069&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63069&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63069&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63069&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63069&r=mysqlcfg

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