From:             ab
Operating system: Windows
PHP version:      Irrelevant
Package:          Testing related
Bug Type:         Bug
Bug description:ext\spl\examples\tests\dualiterator_001.phpt fails

Description:
------------
Test diff:

Warning:
include(C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests/../dualiterator.inc):
failed to open stream: No such file or directory in
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests\dualiterator_001.php
on line 5

Warning: include(): Failed opening
'C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests/../dualiterator.inc'
for inclusion (include_path='.;C:\php\pear') in
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests\dualiterator_001.php
on line 5

Fatal error: Class 'DualIterator' not found in
C:\snaps\php-test-pack-5.3-nts-windows-vc9-x86-rf3d86b3\ext\spl\examples\tests\dualiterator_001.php
on line 12

The explanation is simple - the test is trying to include a class from the
examples folder, but the examples folder contents is not copied along with
the test pack.

Expected result:
----------------
test pass

Actual result:
--------------
test fail

-- 
Edit bug report at https://bugs.php.net/bug.php?id=61990&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=61990&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=61990&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=61990&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=61990&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=61990&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=61990&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=61990&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=61990&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=61990&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=61990&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=61990&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=61990&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=61990&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=61990&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=61990&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61990&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=61990&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=61990&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=61990&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=61990&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=61990&r=mysqlcfg

Reply via email to