From: ab
Operating system: Windows
PHP version: 5.3.10
Package: SPL related
Bug Type: Bug
Bug description:ext\spl\tests\fileobject_003.phpt fails
Description:
------------
Test diff:
043+
044+ Fatal error: Uncaught exception 'RuntimeException' with message
'SplFileObject::__construct(C:\php-sdk\php53\vc9\x86\php-src\ext\spl\tests/):
failed to open stream: No such file or directory' in
C:\php-sdk\php53\vc9\x86\php-src\ext\spl\tests\fileobject_003.php:18
045+ Stack trace:
046+ #0
C:\php-sdk\php53\vc9\x86\php-src\ext\spl\tests\fileobject_003.php(18):
SplFileObject->__construct('C:\php-sdk\php5...')
047+ #1
C:\php-sdk\php53\vc9\x86\php-src\ext\spl\tests\fileobject_003.php(35):
test('C:\php-sdk\php5...', 's', 'l')
048+ #2 {main}
049+ thrown in
C:\php-sdk\php53\vc9\x86\php-src\ext\spl\tests\fileobject_003.php on line
18
043- %s(%d) "%stests/"
044- string(%d) "%stests"
045- bool(true)
046- string(5) "tests"
047- bool(true)
048- string(%d) "%sspl"
049- bool(true)
050- string(%d) "%stests"
051- string(%d) "tests"
052- string(%d) "%sspl"
053- ===2===
054- object(SplFileInfo)#%d (2) {
055- ["pathName":"SplFileInfo":private]=>
056- string(%d) "%s"
057- ["fileName":"SplFileInfo":private]=>
058- string(%d) "%s"
059- }
060- object(SplFileInfo)#%d (2) {
061- ["pathName":"SplFileInfo":private]=>
062- string(%d) "%s"
063- ["fileName":"SplFileInfo":private]=>
064- string(%d) "%s"
065- }
066- bool(false)
067- bool(true)
068- bool(true)
069- %s(%d) "%stests"
070- string(%d) "%stests"
071- bool(true)
072- string(%d) "tests"
073- bool(true)
074- string(%d) "%sspl"
075- bool(true)
076- string(%d) "%stests"
077- string(5) "tests"
078- string(%d) "%sspl"
079- ===DONE===
Expected result:
----------------
test pass
Actual result:
--------------
test fail
--
Edit bug report at https://bugs.php.net/bug.php?id=61671&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61671&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61671&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=61671&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61671&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=61671&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61671&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=61671&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=61671&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=61671&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=61671&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=61671&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=61671&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=61671&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61671&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=61671&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61671&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=61671&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=61671&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=61671&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=61671&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=61671&r=mysqlcfg