From: ab
Operating system: windows
PHP version: 5.3.10
Package: Filesystem function related
Bug Type: Bug
Bug description:ext\standard\tests\file\glob_variation-win32.phpt fails
Description:
------------
Test diff:
240+ bool(false)
241+ bool(false)
242+ bool(false)
243+ bool(false)
244+ bool(false)
245+ bool(false)
246+
247+ -- Iteration 9 --
248- string(%d) "%s/glob_variation/WONDER5"
255- -- Iteration 9 --
256+ string(33) "$file_path/glob_variation/wonder5"
263+ -- Iteration 10 --
264- string(%d) "$file_path/glob_variation/wonder5"
271- -- Iteration 10 --
272+ string(80)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/?wonder?"
279+ -- Iteration 11 --
280- string(%d) "%s/glob_variation/?wonder?"
287- -- Iteration 11 --
288+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder?"
295+ -- Iteration 12 --
296- string(%d) "%s/glob_variation/wonder?"
303- -- Iteration 12 --
304- array(0) {
304+ string(1) "1"
306- array(0) {
308- array(0) {
311+ *** Testing glob() with pattern within braces ***
312+ array(1) {
313+ [0]=>
314+ string(83)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder12345"
312- string(%d) "1"
316+
317+ *** Testing glob() on directories ***
318+ -- Iteration 1 --
319+ array(1) {
320+ [0]=>
321+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder1"
318-
319- *** Testing glob() with pattern within braces ***
322- string(%d) "%s/glob_variation/wonder12345"
323+ -- Iteration 2 --
324+ array(1) {
325+ [0]=>
326+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder1"
324-
325- *** Testing glob() on directories ***
326- -- Iteration 1 --
328+ -- Iteration 3 --
331+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder1"
331- -- Iteration 2 --
332- array(1) {
333- [0]=>
334- string(%d) "%s/glob_variation/wonder1"
333+ -- Iteration 4 --
336+ -- Iteration 5 --
336- -- Iteration 3 --
339+ -- Iteration 6 --
342+ string(79)
"C:\php-sdk\php53\vc9\x86\php-src\ext\standard\tests\file/glob_variation/wonder1"
343+ }
344+ -- Iteration 7 --
345+ array(0) {
346+ }
347+ -- Iteration 8 --
348+ bool(false)
349+ -- Iteration 9 --
350+ array(0) {
351+ }
352+ -- Iteration 10 --
353+ array(0) {
355+ -- Iteration 11 --
360+ -- Iteration 12 --
361+ array(0) {
363+ Done
337- array(1) {
338- [0]=>
339- string(%d) "%s/glob_variation/wonder1"
340- }
341- -- Iteration 4 --
342- array(0) {
343- }
344- -- Iteration 5 --
345- array(0) {
346- }
347- -- Iteration 6 --
348- array(1) {
349- [0]=>
350- string(%d) "%s/glob_variation/wonder1"
351- }
352- -- Iteration 7 --
353- array(0) {
354- }
355- -- Iteration 8 --
356- array(0) {
357- }
358- -- Iteration 9 --
359- array(0) {
360- }
361- -- Iteration 10 --
362- array(0) {
363- }
364- -- Iteration 11 --
365- array(1) {
366- [0]=>
367- string(%d) "%s/glob_variation/wonder1"
368- }
369- -- Iteration 12 --
370- array(0) {
371- }
372- Done
Expected result:
----------------
test pass
Actual result:
--------------
test fail
--
Edit bug report at https://bugs.php.net/bug.php?id=61667&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61667&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61667&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=61667&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61667&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=61667&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61667&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=61667&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=61667&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=61667&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=61667&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=61667&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=61667&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=61667&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61667&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=61667&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61667&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=61667&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=61667&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=61667&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=61667&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=61667&r=mysqlcfg