Bug #62220 [Com]: 4 spl test fails on 5.3.14rc2

2012-06-04 Thread reeze dot xia at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=62220&edit=1

 ID: 62220
 Comment by: reeze dot xia at gmail dot com
 Reported by:mattfic...@php.net
 Summary:4 spl test fails on 5.3.14rc2
 Status: Open
 Type:   Bug
 Package:SPL related
 Operating System:   Windows
 PHP Version:5.4Git-2012-06-04 (Git)
 Block user comment: N
 Private report: N

 New Comment:

Hi mattficken,
Yes we could:)

Thanks


Previous Comments:

[2012-06-04 17:42:30] mattfic...@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-04 09:52:30] 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 00:55:33] mattfic...@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

Bug #62220 [Com]: 4 spl test fails on 5.3.14rc2

2012-06-04 Thread mattfic...@php.net
Edit report at https://bugs.php.net/bug.php?id=62220&edit=1

 ID: 62220
 Comment by: mattfic...@php.net
 Reported by:mattfic...@php.net
 Summary:4 spl test fails on 5.3.14rc2
 Status: Open
 Type:   Bug
 Package:SPL related
 Operating System:   Windows
 PHP Version:5.4Git-2012-06-04 (Git)
 Block user comment: N
 Private report: N

 New Comment:

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?


Previous Comments:

[2012-06-04 09:52:30] 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 00:55:33] mattfic...@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+ 

Bug #62220 [Com]: 4 spl test fails on 5.3.14rc2

2012-06-04 Thread reeze dot xia at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=62220&edit=1

 ID: 62220
 Comment by: reeze dot xia at gmail dot com
 Reported by:mattfic...@php.net
 Summary:4 spl test fails on 5.3.14rc2
 Status: Open
 Type:   Bug
 Package:SPL related
 Operating System:   Windows
 PHP Version:5.4Git-2012-06-04 (Git)
 Block user comment: N
 Private report: N

 New Comment:

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.


Previous Comments:

[2012-06-04 00:55:33] mattfic...@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 =