php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62220 4 spl test fails on 5.3.14rc2
Submitted: 2012-06-04 00:55 UTC Modified: 2012-06-05 18:59 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: mattficken@php.net Assigned:
Status: Closed Package: SPL related
PHP Version: 5.4Git-2012-06-04 (Git) OS: Windows
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: mattficken@php.net
New email:
PHP Version: OS:

 

 [2012-06-04 00:55 UTC] mattficken@php.net
Description:
------------
These 4 spl tests fail on 5.3.14rc2 on Windows. All spl tests have passed on 
snapshot builds for the last couple of months.

ext\spl\tests\bug62073.phpt
ext\spl\tests\heap_005.phpt
ext\spl\tests\heap_006.phpt
ext\spl\tests\pqueue_001.phpt



Expected result:
----------------
ext\spl\tests\bug62073.diff
001+ int(1)
001- int(0)

ext\spl\tests\heap_005.diff
001+ 100 => 1
002+ 99 => 2
003+ 98 => 3
004+ 97 => 4
005+ 96 => 5
006+ 95 => 6
007+ 94 => 7
008+ 93 => 8
009+ 92 => 9
010+ 91 => 10
011+ 90 => 11
012+ 89 => 12
013+ 88 => 13
014+ 87 => 14
015+ 86 => 15
016+ 85 => 16
017+ 84 => 17
018+ 83 => 18
019+ 82 => 19
020+ 81 => 20
021+ 80 => 21
022+ 79 => 22
023+ 78 => 23
024+ 77 => 24
025+ 76 => 25
026+ 75 => 26
027+ 74 => 27
028+ 73 => 28
029+ 72 => 29
030+ 71 => 30
031+ 70 => 31
032+ 69 => 32
033+ 68 => 33
034+ 67 => 34
035+ 66 => 35
036+ 65 => 36
037+ 64 => 37
038+ 63 => 38
039+ 62 => 39
040+ 61 => 40
041+ 60 => 41
042+ 59 => 42
043+ 58 => 43
044+ 57 => 44
045+ 56 => 45
046+ 55 => 46
047+ 54 => 47
048+ 53 => 48
049+ 52 => 49
050+ 51 => 50
051+ 50 => 51
052+ 49 => 52
053+ 48 => 53
054+ 47 => 54
055+ 46 => 55
056+ 45 => 56
057+ 44 => 57
058+ 43 => 58
059+ 42 => 59
060+ 41 => 60
061+ 40 => 61
062+ 39 => 62
063+ 38 => 63
064+ 37 => 64
065+ 36 => 65
066+ 35 => 66
067+ 34 => 67
068+ 33 => 68
069+ 32 => 69
070+ 31 => 70
071+ 30 => 71
072+ 29 => 72
073+ 28 => 73
074+ 27 => 74
075+ 26 => 75
076+ 25 => 76
077+ 24 => 77
078+ 23 => 78
079+ 22 => 79
080+ 21 => 80
081+ 20 => 81
082+ 19 => 82
083+ 18 => 83
084+ 17 => 84
085+ 16 => 85
086+ 15 => 86
087+ 14 => 87
088+ 13 => 88
089+ 12 => 89
090+ 11 => 90
091+ 10 => 91
092+ 9 => 92
093+ 8 => 93
094+ 7 => 94
095+ 6 => 95
096+ 5 => 96
097+ 4 => 97
098+ 3 => 98
099+ 2 => 99
100+ 1 => 100
001- 99 => 1
002- 98 => 2
003- 97 => 3
004- 96 => 4
005- 95 => 5
006- 94 => 6
007- 93 => 7
008- 92 => 8
009- 91 => 9
010- 90 => 10
011- 89 => 11
012- 88 => 12
013- 87 => 13
014- 86 => 14
015- 85 => 15
016- 84 => 16
017- 83 => 17
018- 82 => 18
019- 81 => 19
020- 80 => 20
021- 79 => 21
022- 78 => 22
023- 77 => 23
024- 76 => 24
025- 75 => 25
026- 74 => 26
027- 73 => 27
028- 72 => 28
029- 71 => 29
030- 70 => 30
031- 69 => 31
032- 68 => 32
033- 67 => 33
034- 66 => 34
035- 65 => 35
036- 64 => 36
037- 63 => 37
038- 62 => 38
039- 61 => 39
040- 60 => 40
041- 59 => 41
042- 58 => 42
043- 57 => 43
044- 56 => 44
045- 55 => 45
046- 54 => 46
047- 53 => 47
048- 52 => 48
049- 51 => 49
050- 50 => 50
051- 49 => 51
052- 48 => 52
053- 47 => 53
054- 46 => 54
055- 45 => 55
056- 44 => 56
057- 43 => 57
058- 42 => 58
059- 41 => 59
060- 40 => 60
061- 39 => 61
062- 38 => 62
063- 37 => 63
064- 36 => 64
065- 35 => 65
066- 34 => 66
067- 33 => 67
068- 32 => 68
069- 31 => 69
070- 30 => 70
071- 29 => 71
072- 28 => 72
073- 27 => 73
074- 26 => 74
075- 25 => 75
076- 24 => 76
077- 23 => 77
078- 22 => 78
079- 21 => 79
080- 20 => 80
081- 19 => 81
082- 18 => 82
083- 17 => 83
084- 16 => 84
085- 15 => 85
086- 14 => 86
087- 13 => 87
088- 12 => 88
089- 11 => 89
090- 10 => 90
091- 9 => 91
092- 8 => 92
093- 7 => 93
094- 6 => 94
095- 5 => 95
096- 4 => 96
097- 3 => 97
098- 2 => 98
099- 1 => 99
100- 0 => 100

ext\spl\tests\heap_006.diff
001+ 100 => 100
002+ 99 => 99
003+ 98 => 98
004+ 97 => 97
005+ 96 => 96
006+ 95 => 95
007+ 94 => 94
008+ 93 => 93
009+ 92 => 92
010+ 91 => 91
011+ 90 => 90
012+ 89 => 89
013+ 88 => 88
014+ 87 => 87
015+ 86 => 86
016+ 85 => 85
017+ 84 => 84
018+ 83 => 83
019+ 82 => 82
020+ 81 => 81
021+ 80 => 80
022+ 79 => 79
023+ 78 => 78
024+ 77 => 77
025+ 76 => 76
026+ 75 => 75
027+ 74 => 74
028+ 73 => 73
029+ 72 => 72
030+ 71 => 71
031+ 70 => 70
032+ 69 => 69
033+ 68 => 68
034+ 67 => 67
035+ 66 => 66
036+ 65 => 65
037+ 64 => 64
038+ 63 => 63
039+ 62 => 62
040+ 61 => 61
041+ 60 => 60
042+ 59 => 59
043+ 58 => 58
044+ 57 => 57
045+ 56 => 56
046+ 55 => 55
047+ 54 => 54
048+ 53 => 53
049+ 52 => 52
050+ 51 => 51
051+ 50 => 50
052+ 49 => 49
053+ 48 => 48
054+ 47 => 47
055+ 46 => 46
056+ 45 => 45
057+ 44 => 44
058+ 43 => 43
059+ 42 => 42
060+ 41 => 41
061+ 40 => 40
062+ 39 => 39
063+ 38 => 38
064+ 37 => 37
065+ 36 => 36
066+ 35 => 35
067+ 34 => 34
068+ 33 => 33
069+ 32 => 32
070+ 31 => 31
071+ 30 => 30
072+ 29 => 29
073+ 28 => 28
074+ 27 => 27
075+ 26 => 26
076+ 25 => 25
077+ 24 => 24
078+ 23 => 23
079+ 22 => 22
080+ 21 => 21
081+ 20 => 20
082+ 19 => 19
083+ 18 => 18
084+ 17 => 17
085+ 16 => 16
086+ 15 => 15
087+ 14 => 14
088+ 13 => 13
089+ 12 => 12
090+ 11 => 11
091+ 10 => 10
092+ 9 => 9
093+ 8 => 8
094+ 7 => 7
095+ 6 => 6
096+ 5 => 5
097+ 4 => 4
098+ 3 => 3
099+ 2 => 2
100+ 1 => 1
001- 99 => 100
002- 98 => 99
003- 97 => 98
004- 96 => 97
005- 95 => 96
006- 94 => 95
007- 93 => 94
008- 92 => 93
009- 91 => 92
010- 90 => 91
011- 89 => 90
012- 88 => 89
013- 87 => 88
014- 86 => 87
015- 85 => 86
016- 84 => 85
017- 83 => 84
018- 82 => 83
019- 81 => 82
020- 80 => 81
021- 79 => 80
022- 78 => 79
023- 77 => 78
024- 76 => 77
025- 75 => 76
026- 74 => 75
027- 73 => 74
028- 72 => 73
029- 71 => 72
030- 70 => 71
031- 69 => 70
032- 68 => 69
033- 67 => 68
034- 66 => 67
035- 65 => 66
036- 64 => 65
037- 63 => 64
038- 62 => 63
039- 61 => 62
040- 60 => 61
041- 59 => 60
042- 58 => 59
043- 57 => 58
044- 56 => 57
045- 55 => 56
046- 54 => 55
047- 53 => 54
048- 52 => 53
049- 51 => 52
050- 50 => 51
051- 49 => 50
052- 48 => 49
053- 47 => 48
054- 46 => 47
055- 45 => 46
056- 44 => 45
057- 43 => 44
058- 42 => 43
059- 41 => 42
060- 40 => 41
061- 39 => 40
062- 38 => 39
063- 37 => 38
064- 36 => 37
065- 35 => 36
066- 34 => 35
067- 33 => 34
068- 32 => 33
069- 31 => 32
070- 30 => 31
071- 29 => 30
072- 28 => 29
073- 27 => 28
074- 26 => 27
075- 25 => 26
076- 24 => 25
077- 23 => 24
078- 22 => 23
079- 21 => 22
080- 20 => 21
081- 19 => 20
082- 18 => 19
083- 17 => 18
084- 16 => 17
085- 15 => 16
086- 14 => 15
087- 13 => 14
088- 12 => 13
089- 11 => 12
090- 10 => 11
091- 9 => 10
092- 8 => 9
093- 7 => 8
094- 6 => 7
095- 5 => 6
096- 4 => 5
097- 3 => 4
098- 2 => 3
099- 1 => 2
100- 0 => 1

ext\spl\tests\pqueue_001.diff
002+ 3=>b
003+ 2=>a
004+ 1=>c
005+ EXTR_BOTH
006+ 3=>Array
002- 2=>b
003- 1=>a
004- 0=>c
005- EXTR_BOTH
006- 2=>Array
012+ 2=>Array
012- 1=>Array
018+ 1=>Array
018- 0=>Array
025+ 3=>b
026+ 2=>a
027+ 1=>c
025- 2=>b
026- 1=>a
027- 0=>c
029+ 3=>2
030+ 2=>1
031+ 1=>0
029- 2=>2
030- 1=>1
031- 0=>0



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-04 09:52 UTC] reeze dot xia at gmail dot com
Hi, mattficken:
  Did you get the 5.3.14RC2 from windows.php.net? 
  I found the version: 5.3.14RC2 from windows.php.net did't contain the commit: 
http://git.php.net/?p=php-
src.git;a=commit;h=9205c4fd62a769b7db3d00eccdf2ea35b20dd87f
  do you build yourself? 

Thanks.
 [2012-06-04 17:42 UTC] mattficken@php.net
I used the binary build from http://windows.php.net/downloads/qa/ but the test-pack from ra331f43 (also downloaded from windows.php.net).

The test-pack included with 5.3.14rc2 doesn't include fixes to some other PHPTs that are in the test-pack snapshots (ra331f43, etc...).

Looks like these 4 fail against 5.3.14rc2 but not snapshots because the PHPTs in snapshots like ra331f43 have been updated for that commit, but spl_heap.c wasn't updated in 5.3.14rc2 (explains why the numbers are off by +1). In which case this bug can be ignored/bogus, correct?
 [2012-06-05 02:19 UTC] reeze dot xia at gmail dot com
Hi mattficken,
    Yes we could:)

Thanks
 [2012-06-05 18:59 UTC] mattficken@php.net
-Status: Open +Status: Closed
 [2012-06-05 18:59 UTC] mattficken@php.net
Closing, bogus bug.

Given what seemed to be failing, I wanted to report this bug quickly before fully triaging it.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 13:01:33 2025 UTC