php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61468 ext/phar/tests/phar_oo_005.phpt fails
Submitted: 2012-03-21 20:24 UTC Modified: 2012-03-28 11:23 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: PHAR related
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ab@php.net
New email:
PHP Version: OS:

 

 [2012-03-21 20:24 UTC] ab@php.net
Description:
------------
RecursiveIterator functionality changed, the test diff is

005+ string(21) "phar_oo_test.phar.php"
005- string(5) "a.php"
010+ string(1) "b"
010- string(5) "c.php"
015+ string(1) "b"
015- string(5) "d.php"
020+ string(21) "phar_oo_test.phar.php"
020- string(5) "b.php"
025+ string(21) "phar_oo_test.phar.php"
025- string(5) "e.php"

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

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

Patches

phar_oo_005.phpt.diff (last revision 2012-03-21 20:26 UTC by ab@php.net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-21 20:26 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: phar_oo_005.phpt.diff
Revision:   1332361598
URL:        https://bugs.php.net/patch-display.php?bug=61468&patch=phar_oo_005.phpt.diff&revision=1332361598
 [2012-03-21 20:27 UTC] ab@php.net
In the patch phar_oo_005.phpt.diff the output is adopted according to the new 
iterator functionality.
 [2012-03-22 20:31 UTC] mattficken@php.net
With the patch, the test passes for me on Windows 7 sp1x64 with PHP_5_3-r324324
 [2012-03-28 11:21 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=0b20329aaf4228e071ab03f4e96adeafa6c48f52
Log: Fix bug #61468 ext/phar/tests/phar_oo_005.phpt fails
 [2012-03-28 11:23 UTC] ab@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-03-28 11:23 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-03-29 04:23 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=0b20329aaf4228e071ab03f4e96adeafa6c48f52
Log: Fix bug #61468 ext/phar/tests/phar_oo_005.phpt fails
 [2012-04-02 22:56 UTC] mattficken@php.net
This patch passes on PHP5.3.11rc1 on Windows 7 sp1x64.

It does not break for me on Linux x64 (Gentoo and Fedora 16) with PHP5.3.11rc1.
 [2014-10-07 23:28 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=0b20329aaf4228e071ab03f4e96adeafa6c48f52
Log: Fix bug #61468 ext/phar/tests/phar_oo_005.phpt fails
 [2014-10-07 23:38 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=0b20329aaf4228e071ab03f4e96adeafa6c48f52
Log: Fix bug #61468 ext/phar/tests/phar_oo_005.phpt fails
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 11:01:30 2025 UTC