Test results for [failed]

From: Date: Fri, 16 May 2003 22:10:41 +0000
Subject: Test results for [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-12557@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Output buffering tests [tests/func/006.phpt] Test for buffering in core functions with implicit flush off [tests/func/008.phpt] Test for buffering in core functions with implicit flush on [tests/func/009.phpt] highlight_string() buffering [tests/strings/004.phpt] pspell basic tests [ext/pspell/tests/01pspell_basic.phpt] a script should not be able to modify session.use_trans_sid [ext/session/tests/014.phpt] use_trans_sid should not affect SID [ext/session/tests/015.phpt] rewriter correctly handles attribute names which contain dashes [ext/session/tests/018.phpt] rewriter uses arg_seperator.output for modifying URLs [ext/session/tests/020.phpt] rewriter handles form and fieldset tags correctly [ext/session/tests/021.phpt] Test array_diff and array_diff_assoc behaviour [ext/standard/tests/array/007.phpt] Test array_intersect and array_intersect_assoc behaviour [ext/standard/tests/array/008.phpt] Bug #20424: stream_get_meta_data craches on a normal file stream [ext/standard/tests/file/bug20424.phpt] Bug #22414: passthru() does not read data correctly [ext/standard/tests/file/bug22414.phpt] User-space streams [ext/standard/tests/file/userstreams.phpt] unserialize() floats with E notation (#18654) [ext/standard/tests/serialize/003.phpt] explode() function [ext/standard/tests/strings/explode.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 32 Exts tested : 55 --------------------------------------------------------------------- Number of tests : 476 Tests skipped : 75 (15.8%) Tests failed : 17 ( 3.6%) Tests passed : 384 (80.7%) --------------------------------------------------------------------- Time taken : 472 seconds ===================================================================== ================================================================================ /root/src/php4/tests/func/006.phpt ================================================================================ ---- EXPECTED OUTPUT string(2) "2B" string(2) "1A" ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- string(2) "2B" 001+ 002- string(2) "1A" ================================================================================ ================================================================================ /root/src/php4/tests/func/008.phpt ================================================================================ ---- EXPECTED OUTPUT 'foo1' 'foo2' ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- 'foo1' 001+ 002- 003- 'foo2' ================================================================================ ================================================================================ /root/src/php4/tests/func/009.phpt ================================================================================ ---- EXPECTED OUTPUT 'foo1' 'foo2' ---- ACTUAL OUTPUT 'foo1' ---- FAILED ================================================================================ 002- 003- 'foo2' ================================================================================ ================================================================================ /root/src/php4/tests/strings/004.phpt ================================================================================ ---- EXPECTED OUTPUT <code><font color="#000000"> &lt;br /&gt;<font color="#0000BB">&lt;?php </font><font color="#007700">echo </font><font color="#DD0000">"foo"</font><font color="#007700">; </font><font color="#0000BB">?&gt;</font>&lt;br /&gt;</font> </code> [<code><font color="#000000"> &lt;br /&gt;<font color="#0000BB">&lt;?php </font><font color="#007700">echo </font><font color="#DD0000">"bar"</font><font color="#007700">; </font><font color="#0000BB">?&gt;</font>&lt;br /&gt;</font> </code>] ---- ACTUAL OUTPUT <code><font color="#000000"> &lt;br /&gt;<font color="#0000BB">&lt;?php </font><font color="#007700">echo </font><font color="#DD0000">"foo"</font><font color="#007700">; </font><font color="#0000BB">?&gt;</font>&lt;br /&gt;</font> </code> ---- FAILED ================================================================================ 004- [<code><font color="#000000"> 005- &lt;br /&gt;<font color="#0000BB">&lt;?php </font><font color="#007700">echo </font><font color="#DD0000">"bar"</font><font color="#007700">; </font><font color="#0000BB">?&gt;</font>&lt;br /&gt;</font> 006- </code>] ================================================================================ ================================================================================ /root/src/php4/ext/pspell/tests/01pspell_basic.phpt ================================================================================ ---- EXPECTED OUTPUT I : true will : true not : true buy : true this : true record : true it : true is : true scratched : true Sorry : true I : true will : true not : true buy : true this : true record : true it : true is : true scratched : true Uh : true no : true no : true no : true This : true is : true a : true tobacconists : true Ah : true I : true will : true not : true buy : true this : true tobacconists : true it : true is : true scratched : true No : true no : true no : true no : true Tobacco : true um : true cigarettes : true holds : true up : true a : true pack : true Ya : true Seegarets : ..false Possible spelling: Secrets Possible spelling: Regrets Possible spelling: Secretes Possible spelling: Egrets Possible spelling: Serrates Possible spelling: Segre's Possible spelling: Seagate's Possible spelling: Regreets Possible spelling: Segregates Possible spelling: Sergeants Possible spelling: Sugariest Possible spelling: Garrets Possible spelling: Socrates Possible spelling: Egret's Possible spelling: Separates Possible spelling: Cigarettes Possible spelling: Sugared Possible spelling: Scarlets Ya : true Uh : true My : true hovercraft : true is : true full : true of : true eels : true Sorry : true My : true hovercraft : true pantomimes : true puffing : true a : true cigarette : true is : true full : true of : true eels : true pretends : true to : true strike : true a : true match : true Ahh : ..false Possible spelling: Shh Possible spelling: Ah Possible spelling: Aha Possible spelling: Ash Possible spelling: Ha matches : true ---- ACTUAL OUTPUT I : true will : true not : true buy : true this : true record : true it : true is : true scratched : true Sorry : true I : true will : true not : true buy : true this : true record : true it : true is : true scratched : true Uh : true no : true no : true no : true This : true is : true a : true tobacconists : true Ah : true I : true will : true not : true buy : true this : true tobacconists : true it : true is : true scratched : true No : true no : true no : true no : true Tobacco : true um : true cigarettes : true holds : true up : true a : true pack : true Ya : true Seegarets : ..false Possible spelling: Secrets Possible spelling: Regrets Possible spelling: Secretes Possible spelling: Egrets Possible spelling: Segre's Possible spelling: Seagate's Possible spelling: Regreets Possible spelling: Segregates Possible spelling: Sergeants Possible spelling: Sugariest Possible spelling: Garrets Possible spelling: Socrates Possible spelling: Egret's Possible spelling: Separates Possible spelling: Cigarettes Possible spelling: Sugared Possible spelling: Scarlets Ya : true Uh : true My : true hovercraft : true is : true full : true of : true eels : true Sorry : true My : true hovercraft : true pantomimes : true puffing : true a : true cigarette : true is : true full : true of : true eels : true pretends : true to : true strike : true a : true match : true Ahh : ..false Possible spelling: Shh Possible spelling: Ah Possible spelling: Aha Possible spelling: Ash Possible spelling: Ha matches : true ---- FAILED ================================================================================ 055- Possible spelling: Serrates 055+ Possible spelling: Segre's 056- Possible spelling: Segre's 056+ Possible spelling: Seagate's 057- Possible spelling: Seagate's 057+ Possible spelling: Regreets 058- Possible spelling: Regreets 058+ Possible spelling: Segregates 059- Possible spelling: Segregates 059+ Possible spelling: Sergeants 060- Possible spelling: Sergeants 060+ Possible spelling: Sugariest 061- Possible spelling: Sugariest 061+ Possible spelling: Garrets 062- Possible spelling: Garrets 062+ Possible spelling: Socrates 063- Possible spelling: Socrates 063+ Possible spelling: Egret's 064- Possible spelling: Egret's 064+ Possible spelling: Separates 065- Possible spelling: Separates 065+ Possible spelling: Cigarettes 066- Possible spelling: Cigarettes 066+ Possible spelling: Sugared 067- Possible spelling: Sugared 067+ Possible spelling: Scarlets 068- Possible spelling: Scarlets 068+ Ya : true 069- Ya : true 069+ Uh : true 070- Uh : true 070+ My : true 071- My : true 071+ hovercraft : true 072- hovercraft : true 072+ is : true 073- is : true 073+ full : true 074- full : true 074+ of : true 075- of : true 075+ eels : true 076- eels : true 076+ Sorry : true 077- Sorry : true 077+ My : true 078- My : true 078+ hovercraft : true 079- hovercraft : true 079+ pantomimes : true 080- pantomimes : true 080+ puffing : true 081- puffing : true 081+ a : true 082- a : true 082+ cigarette : true 083- cigarette : true 083+ is : true 084- is : true 084+ full : true 085- full : true 085+ of : true 086- of : true 086+ eels : true 087- eels : true 087+ pretends : true 088- pretends : true 088+ to : true 089- to : true 089+ strike : true 090- strike : true 090+ a : true 091- a : true 091+ match : true 092- match : true 092+ Ahh : ..false 093- Ahh : ..false 093+ Possible spelling: Shh 094- Possible spelling: Shh 094+ Possible spelling: Ah 095- Possible spelling: Ah 095+ Possible spelling: Aha 096- Possible spelling: Aha 096+ Possible spelling: Ash 097- Possible spelling: Ash 097+ Possible spelling: Ha 098- Possible spelling: Ha 098+ matches : true 099- matches : true ================================================================================ ================================================================================ /root/src/php4/ext/session/tests/014.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="/link?PHPSESSID=abtest"> <a href="/link?PHPSESSID=abtest"> <a href="/link?PHPSESSID=abtest"> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <a href="/link?PHPSESSID=abtest"> 001+ 002- <a href="/link?PHPSESSID=abtest"> 003- <a href="/link?PHPSESSID=abtest"> ================================================================================ ================================================================================ /root/src/php4/ext/session/tests/015.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="/link?PHPSESSID=abtest&PHPSESSID=abtest"> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <a href="/link?PHPSESSID=abtest&PHPSESSID=abtest"> 001+ ================================================================================ ================================================================================ /root/src/php4/ext/session/tests/018.phpt ================================================================================ ---- EXPECTED OUTPUT <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID" value="abtest" /> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID" value="abtest" /> 001+ ================================================================================ ================================================================================ /root/src/php4/ext/session/tests/020.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="link.php?a=b&amp;PHPSESSID=abtest"> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <a href="link.php?a=b&amp;PHPSESSID=abtest"> 001+ ================================================================================ ================================================================================ /root/src/php4/ext/session/tests/021.phpt ================================================================================ ---- EXPECTED OUTPUT <form><input type="hidden" name="PHPSESSID" value="abtest" /> <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> <form><input type="hidden" name="PHPSESSID" value="abtest" /> <fieldset> <form><input type="hidden" name="PHPSESSID" value="abtest" /> <fieldset> <form> <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 001+ 002- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 003- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 004- <fieldset> 005- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 006- <fieldset> 007- <form> 008- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> ================================================================================ ================================================================================ /root/src/php4/ext/standard/tests/array/007.phpt ================================================================================ ---- EXPECTED OUTPUT $a=array ( 0 => 1, 'big' => 2, 1 => 3, 2 => 6, 3 => 3, 4 => 5, 5 => 3, 6 => 3, 7 => 3, 8 => 3, 9 => 3, 10 => 3, 11 => 3, 12 => 3, 13 => 3, 14 => 3, ); $b=array ( 0 => 2, 1 => 2, 2 => 3, 3 => 3, 4 => 3, 5 => 3, 6 => 3, 7 => 3, 8 => 3, 9 => 3, 10 => 3, 11 => 3, 12 => 3, 13 => 3, 14 => 3, ); $c=array ( 0 => -1, 1 => 1, ); array(2) { [2]=> int(6) [4]=> int(5) } array(5) { [0]=> int(1) ["big"]=> int(2) [1]=> int(3) [2]=> int(6) [4]=> int(5) } $a=array ( 'a' => 2, 'b' => 'some', 'c' => 'done', 'z' => 'foo', 'f' => 5, 'fan' => 'fen', 7 => 18, 9 => 25, 11 => 42, 12 => 42, 45 => 42, 73 => 'foo', 95 => 'some', 'som3' => 'some', 'want' => 'wanna', ); $b=array ( 'a' => 7, 7 => 18, 9 => 13, 11 => 42, 45 => 46, 'som3' => 'some', 'foo' => 'some', 'goo' => 'foo', 'f' => 5, 'z' => 'equal', ); $c=array ( 73 => 'foo', 95 => 'some', ); Results: array(5) { ["a"]=> int(2) ["c"]=> string(4) "done" ["fan"]=> string(3) "fen" [9]=> int(25) ["want"]=> string(5) "wanna" } array(9) { ["a"]=> int(2) ["b"]=> string(4) "some" ["c"]=> string(4) "done" ["z"]=> string(3) "foo" ["fan"]=> string(3) "fen" [9]=> int(25) [12]=> int(42) [45]=> int(42) ["want"]=> string(5) "wanna" } ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- $a=array ( 001+ 002- 0 => 1, 003- 'big' => 2, 004- 1 => 3, 005- 2 => 6, 006- 3 => 3, 007- 4 => 5, 008- 5 => 3, 009- 6 => 3, 010- 7 => 3, 011- 8 => 3, 012- 9 => 3, 013- 10 => 3, 014- 11 => 3, 015- 12 => 3, 016- 13 => 3, 017- 14 => 3, 018- ); 019- $b=array ( 020- 0 => 2, 021- 1 => 2, 022- 2 => 3, 023- 3 => 3, 024- 4 => 3, 025- 5 => 3, 026- 6 => 3, 027- 7 => 3, 028- 8 => 3, 029- 9 => 3, 030- 10 => 3, 031- 11 => 3, 032- 12 => 3, 033- 13 => 3, 034- 14 => 3, 035- ); 036- $c=array ( 037- 0 => -1, 038- 1 => 1, 039- ); 040- array(2) { 041- [2]=> 042- int(6) 043- [4]=> 044- int(5) 045- } 046- array(5) { 047- [0]=> 048- int(1) 049- ["big"]=> 050- int(2) 051- [1]=> 052- int(3) 053- [2]=> 054- int(6) 055- [4]=> 056- int(5) 057- } 058- $a=array ( 059- 'a' => 2, 060- 'b' => 'some', 061- 'c' => 'done', 062- 'z' => 'foo', 063- 'f' => 5, 064- 'fan' => 'fen', 065- 7 => 18, 066- 9 => 25, 067- 11 => 42, 068- 12 => 42, 069- 45 => 42, 070- 73 => 'foo', 071- 95 => 'some', 072- 'som3' => 'some', 073- 'want' => 'wanna', 074- ); 075- $b=array ( 076- 'a' => 7, 077- 7 => 18, 078- 9 => 13, 079- 11 => 42, 080- 45 => 46, 081- 'som3' => 'some', 082- 'foo' => 'some', 083- 'goo' => 'foo', 084- 'f' => 5, 085- 'z' => 'equal', 086- ); 087- $c=array ( 088- 73 => 'foo', 089- 95 => 'some', 090- ); 091- Results: 092- 093- array(5) { 094- ["a"]=> 095- int(2) 096- ["c"]=> 097- string(4) "done" 098- ["fan"]=> 099- string(3) "fen" 100- [9]=> 101- int(25) 102- ["want"]=> 103- string(5) "wanna" 104- } 105- array(9) { 106- ["a"]=> 107- int(2) 108- ["b"]=> 109- string(4) "some" 110- ["c"]=> 111- string(4) "done" 112- ["z"]=> 113- string(3) "foo" 114- ["fan"]=> 115- string(3) "fen" 116- [9]=> 117- int(25) 118- [12]=> 119- int(42) 120- [45]=> 121- int(42) 122- ["want"]=> 123- string(5) "wanna" 124- } ================================================================================ ================================================================================ /root/src/php4/ext/standard/tests/array/008.phpt ================================================================================ ---- EXPECTED OUTPUT -=-=-=-=-=-=-=-=-=-= TEST 1 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $a=array ( 0 => 1, 'big' => 2, 1 => 2, 2 => 6, 3 => 3, 4 => 5, 5 => 3, 6 => 3, 7 => 454, 8 => 'some_string', 9 => 3, 10 => 3, 11 => 3, 12 => 3, 13 => 3, 14 => 3, 15 => 3, 16 => 3, 17 => 17, ); $b=array ( 0 => 2, 1 => 2, 2 => 3, 3 => 3, 4 => 3, 5 => 3, 6 => 3, 7 => 3, 8 => 3, 9 => 3, 10 => 3, 11 => 3, 12 => 3, 13 => 3, 14 => 3, 15 => 17, 16 => 25, 17 => 'some_string', 18 => 7, 19 => 8, 20 => 9, 21 => 109, 22 => 78, 23 => 17, ); $c=array ( 0 => -1, 1 => 2, 2 => 1, 3 => 15, 4 => 25, 5 => 17, ); array_intersect($a,$b,$c); array(3) { ["big"]=> int(2) [1]=> int(2) [17]=> int(17) } array_intersect_assoc($a,$b,$c); array(1) { [1]=> int(2) } array_intersect($a,$b); array(15) { ["big"]=> int(2) [1]=> int(2) [3]=> int(3) [5]=> int(3) [6]=> int(3) [8]=> string(11) "some_string" [9]=> int(3) [10]=> int(3) [11]=> int(3) [12]=> int(3) [13]=> int(3) [14]=> int(3) [15]=> int(3) [16]=> int(3) [17]=> int(17) } array_intersect_assoc($a,$b); array(10) { [1]=> int(2) [3]=> int(3) [5]=> int(3) [6]=> int(3) [9]=> int(3) [10]=> int(3) [11]=> int(3) [12]=> int(3) [13]=> int(3) [14]=> int(3) } -=-=-=-=-=-=-=-=-=-= TEST 2 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= $a=array ( 'a' => 2, 'b' => 'some', 'c' => 'done', 'z' => 'foo', 'f' => 5, 'fan' => 'fen', 'bad' => 'bed', 'gate' => 'web', 7 => 18, 9 => 25, 11 => 42, 12 => 42, 45 => 42, 73 => 'foo', 95 => 'some', 'som3' => 'some', 'want' => 'wanna', ); $b=array ( 'a' => 7, 7 => 18, 9 => 13, 11 => 42, 45 => 46, 'som3' => 'some', 'foo' => 'some', 'goo' => 'foo', 'f' => 5, 'z' => 'equal', 'gate' => 'web', ); $c=array ( 'gate' => 'web', 73 => 'foo', 95 => 'some', ); Results: array_intersect($a,$b,$c); array(6) { ["b"]=> string(4) "some" ["z"]=> string(3) "foo" ["gate"]=> string(3) "web" [73]=> string(3) "foo" [95]=> string(4) "some" ["som3"]=> string(4) "some" } array_intersect_assoc($a,$b,$c); array(1) { ["gate"]=> string(3) "web" } array_intersect($a,$b); array(11) { ["b"]=> string(4) "some" ["z"]=> string(3) "foo" ["f"]=> int(5) ["gate"]=> string(3) "web" [7]=> int(18) [11]=> int(42) [12]=> int(42) [45]=> int(42) [73]=> string(3) "foo" [95]=> string(4) "some" ["som3"]=> string(4) "some" } array_intersect_assoc($a,$b); array(5) { ["f"]=> int(5) ["gate"]=> string(3) "web" [7]=> int(18) [11]=> int(42) ["som3"]=> string(4) "some" } ---- ACTUAL OUTPUT -=-=-=-=-=-=-=-=-=-= TEST 1 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ---- FAILED ================================================================================ 002- $a=array ( 003- 0 => 1, 004- 'big' => 2, 005- 1 => 2, 006- 2 => 6, 007- 3 => 3, 008- 4 => 5, 009- 5 => 3, 010- 6 => 3, 011- 7 => 454, 012- 8 => 'some_string', 013- 9 => 3, 014- 10 => 3, 015- 11 => 3, 016- 12 => 3, 017- 13 => 3, 018- 14 => 3, 019- 15 => 3, 020- 16 => 3, 021- 17 => 17, 022- ); 023- $b=array ( 024- 0 => 2, 025- 1 => 2, 026- 2 => 3, 027- 3 => 3, 028- 4 => 3, 029- 5 => 3, 030- 6 => 3, 031- 7 => 3, 032- 8 => 3, 033- 9 => 3, 034- 10 => 3, 035- 11 => 3, 036- 12 => 3, 037- 13 => 3, 038- 14 => 3, 039- 15 => 17, 040- 16 => 25, 041- 17 => 'some_string', 042- 18 => 7, 043- 19 => 8, 044- 20 => 9, 045- 21 => 109, 046- 22 => 78, 047- 23 => 17, 048- ); 049- $c=array ( 050- 0 => -1, 051- 1 => 2, 052- 2 => 1, 053- 3 => 15, 054- 4 => 25, 055- 5 => 17, 056- ); 057- array_intersect($a,$b,$c); 058- array(3) { 059- ["big"]=> 060- int(2) 061- [1]=> 062- int(2) 063- [17]=> 064- int(17) 065- } 066- array_intersect_assoc($a,$b,$c); 067- array(1) { 068- [1]=> 069- int(2) 070- } 071- array_intersect($a,$b); 072- array(15) { 073- ["big"]=> 074- int(2) 075- [1]=> 076- int(2) 077- [3]=> 078- int(3) 079- [5]=> 080- int(3) 081- [6]=> 082- int(3) 083- [8]=> 084- string(11) "some_string" 085- [9]=> 086- int(3) 087- [10]=> 088- int(3) 089- [11]=> 090- int(3) 091- [12]=> 092- int(3) 093- [13]=> 094- int(3) 095- [14]=> 096- int(3) 097- [15]=> 098- int(3) 099- [16]=> 100- int(3) 101- [17]=> 102- int(17) 103- } 104- array_intersect_assoc($a,$b); 105- array(10) { 106- [1]=> 107- int(2) 108- [3]=> 109- int(3) 110- [5]=> 111- int(3) 112- [6]=> 113- int(3) 114- [9]=> 115- int(3) 116- [10]=> 117- int(3) 118- [11]=> 119- int(3) 120- [12]=> 121- int(3) 122- [13]=> 123- int(3) 124- [14]=> 125- int(3) 126- } 127- -=-=-=-=-=-=-=-=-=-= TEST 2 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 128- $a=array ( 129- 'a' => 2, 130- 'b' => 'some', 131- 'c' => 'done', 132- 'z' => 'foo', 133- 'f' => 5, 134- 'fan' => 'fen', 135- 'bad' => 'bed', 136- 'gate' => 'web', 137- 7 => 18, 138- 9 => 25, 139- 11 => 42, 140- 12 => 42, 141- 45 => 42, 142- 73 => 'foo', 143- 95 => 'some', 144- 'som3' => 'some', 145- 'want' => 'wanna', 146- ); 147- $b=array ( 148- 'a' => 7, 149- 7 => 18, 150- 9 => 13, 151- 11 => 42, 152- 45 => 46, 153- 'som3' => 'some', 154- 'foo' => 'some', 155- 'goo' => 'foo', 156- 'f' => 5, 157- 'z' => 'equal', 158- 'gate' => 'web', 159- ); 160- $c=array ( 161- 'gate' => 'web', 162- 73 => 'foo', 163- 95 => 'some', 164- ); 165- 166- 167- Results: 168- 169- array_intersect($a,$b,$c); 170- array(6) { 171- ["b"]=> 172- string(4) "some" 173- ["z"]=> 174- string(3) "foo" 175- ["gate"]=> 176- string(3) "web" 177- [73]=> 178- string(3) "foo" 179- [95]=> 180- string(4) "some" 181- ["som3"]=> 182- string(4) "some" 183- } 184- array_intersect_assoc($a,$b,$c); 185- array(1) { 186- ["gate"]=> 187- string(3) "web" 188- } 189- array_intersect($a,$b); 190- array(11) { 191- ["b"]=> 192- string(4) "some" 193- ["z"]=> 194- string(3) "foo" 195- ["f"]=> 196- int(5) 197- ["gate"]=> 198- string(3) "web" 199- [7]=> 200- int(18) 201- [11]=> 202- int(42) 203- [12]=> 204- int(42) 205- [45]=> 206- int(42) 207- [73]=> 208- string(3) "foo" 209- [95]=> 210- string(4) "some" 211- ["som3"]=> 212- string(4) "some" 213- } 214- array_intersect_assoc($a,$b); 215- array(5) { 216- ["f"]=> 217- int(5) 218- ["gate"]=> 219- string(3) "web" 220- [7]=> 221- int(18) 222- [11]=> 223- int(42) 224- ["som3"]=> 225- string(4) "some" 226- } ================================================================================ ================================================================================ /root/src/php4/ext/standard/tests/file/bug20424.phpt ================================================================================ ---- EXPECTED OUTPUT I'm alive! ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- I'm alive! 001+ ================================================================================ ================================================================================ /root/src/php4/ext/standard/tests/file/bug22414.phpt ================================================================================ ---- EXPECTED OUTPUT HELLO Works ---- ACTUAL OUTPUT Does not work ---- FAILED ================================================================================ 001- HELLO 001+ Does not work 002- Works ================================================================================ ================================================================================ /root/src/php4/ext/standard/tests/file/userstreams.phpt ================================================================================ ---- EXPECTED OUTPUT Not Registered Registered Registered SEEK: OK FGETS: OK int(0) ...and the road becomes my bride ---- ACTUAL OUTPUT Not Registered Registered Registered ---- FAILED ================================================================================ 004- SEEK: OK 005- FGETS: OK 006- int(0) 007- ...and the road becomes my bride ================================================================================ ================================================================================ /root/src/php4/ext/standard/tests/serialize/003.phpt ================================================================================ ---- EXPECTED OUTPUT d:100; float(100) d:5.2E+25; float(5.2E+25) d:8.528999999999999914734871708787977695465087890625E-22; float(8.529E-22) d:9.0000000000000017763568394002504646778106689453125E-9; float(9.E-9) ---- ACTUAL OUTPUT d:100; float(100) d:5.2E+25; float(5.2E+25) d:8.528999999999999914734871708787977695465087890625E-22; float(8.529E-22) d:9.E-9; Notice: unserialize(): Error at offset 0 of 8 bytes in /root/src/php4/ext/standard/tests/serialize/003.php on line 4 bool(false) ---- FAILED ================================================================================ 010- d:9.0000000000000017763568394002504646778106689453125E-9; 010+ d:9.E-9; 011- float(9.E-9) 011+ 012+ Notice: unserialize(): Error at offset 0 of 8 bytes in /root/src/php4/ext/standard/tests/serialize/003.php on line 4 013+ bool(false) ================================================================================ ================================================================================ /root/src/php4/ext/standard/tests/strings/explode.phpt ================================================================================ ---- EXPECTED OUTPUT 26d4e18734cb2582df5055e2175223df bool(false) bool(false) bool(false) array(1) { [0]=> string(0) "" } array(2) { [0]=> string(0) "" [1]=> string(0) "" } array(1) { [0]=> string(0) "" } bool(false) array(1) { [0]=> string(3) "acb" } array(1) { [0]=> string(11) "otherstring" } array(7) { [0]=> string(0) "" [1]=> string(0) "" [2]=> string(0) "" [3]=> string(0) "" [4]=> string(0) "" [5]=> string(0) "" [6]=> string(0) "" } array(1) { [0]=> string(60) "-=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=-" } array(21) { [0]=> string(1) "-" [1]=> string(2) "48" [2]=> string(2) "--" [3]=> string(2) "48" [4]=> string(2) "--" [5]=> string(2) "48" [6]=> string(2) "--" [7]=> string(2) "48" [8]=> string(2) "--" [9]=> string(2) "48" [10]=> string(2) "--" [11]=> string(2) "48" [12]=> string(2) "--" [13]=> string(2) "48" [14]=> string(2) "--" [15]=> string(2) "48" [16]=> string(2) "--" [17]=> string(2) "48" [18]=> string(2) "--" [19]=> string(2) "48" [20]=> string(1) "-" } ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- 26d4e18734cb2582df5055e2175223df 001+ 002- bool(false) 003- bool(false) 004- bool(false) 005- array(1) { 006- [0]=> 007- string(0) "" 008- } 009- array(2) { 010- [0]=> 011- string(0) "" 012- [1]=> 013- string(0) "" 014- } 015- array(1) { 016- [0]=> 017- string(0) "" 018- } 019- bool(false) 020- array(1) { 021- [0]=> 022- string(3) "acb" 023- } 024- array(1) { 025- [0]=> 026- string(11) "otherstring" 027- } 028- array(7) { 029- [0]=> 030- string(0) "" 031- [1]=> 032- string(0) "" 033- [2]=> 034- string(0) "" 035- [3]=> 036- string(0) "" 037- [4]=> 038- string(0) "" 039- [5]=> 040- string(0) "" 041- [6]=> 042- string(0) "" 043- } 044- array(1) { 045- [0]=> 046- string(60) "-=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=-" 047- } 048- array(21) { 049- [0]=> 050- string(1) "-" 051- [1]=> 052- string(2) "48" 053- [2]=> 054- string(2) "--" 055- [3]=> 056- string(2) "48" 057- [4]=> 058- string(2) "--" 059- [5]=> 060- string(2) "48" 061- [6]=> 062- string(2) "--" 063- [7]=> 064- string(2) "48" 065- [8]=> 066- string(2) "--" 067- [9]=> 068- string(2) "48" 069- [10]=> 070- string(2) "--" 071- [11]=> 072- string(2) "48" 073- [12]=> 074- string(2) "--" 075- [13]=> 076- string(2) "48" 077- [14]=> 078- string(2) "--" 079- [15]=> 080- string(2) "48" 081- [16]=> 082- string(2) "--" 083- [17]=> 084- string(2) "48" 085- [18]=> 086- string(2) "--" 087- [19]=> 088- string(2) "48" 089- [20]=> 090- string(1) "-" 091- } ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux Automake: automake (GNU automake) 1.4-p5 Copyright (C) 1999, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Tom Tromey <tromey@cygnus.com> Autoconf: Autoconf version 2.13 Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2) Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002 Free Software Foundation, Inc. Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es gibt keine Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE ZWECKE. Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x40023000) libzzip-0.so.10 => /usr/lib/libzzip-0.so.10 (0x40050000) libnsl.so.1 => /lib/libnsl.so.1 (0x40056000) libsablot.so.0 => /usr/local/lib/libsablot.so.0 (0x4006c000) libjs.so => /usr/lib/libjs.so (0x4011d000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40188000) libsnmp-0.4.2.6.so => /usr/local/snmp/lib/libsnmp-0.4.2.6.so (0x401a7000) libmm.so.12 => /usr/local/lib/libmm.so.12 (0x40208000) libhistory.so.4 => /usr/local/lib/libhistory.so.4 (0x4020d000) libreadline.so.4 => /usr/local/lib/libreadline.so.4 (0x40214000) libncurses.so.5 => /usr/lib/libncurses.so.5 (0x40242000) libpspell.so.15 => /usr/local/lib/libpspell.so.15 (0x40281000) libaspell.so.15 => /usr/local/lib/libaspell.so.15 (0x40283000) libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40325000) libm.so.6 => /lib/i686/libm.so.6 (0x40368000) libc.so.6 => /lib/i686/libc.so.6 (0x4038b000) libpq.so.2 => /usr/lib/libpq.so.2 (0x404c7000) libpdf.so.1 => /usr/local/pdflib/bind/c/lib/libpdf.so.1 (0x404d9000) libz.so.1 => /lib/libz.so.1 (0x40586000) libtiff.so.3 => /usr/local/lib/libtiff.so.3 (0x40594000) libpng.so.3 => /usr/local/lib/libpng.so.3 (0x405d8000) libpanel.so.5 => /usr/lib/libpanel.so.5 (0x4060e000) libmysqlclient.so.14 => /usr/local/mysql/lib/mysql/libmysqlclient.so.14 (0x40612000) libdl.so.2 => /lib/libdl.so.2 (0x407bf000) libming.so => /usr/local/lib/libming.so (0x407c3000) libmhash.so.2 => /usr/local/lib/libmhash.so.2 (0x40801000) libmcrypt.so.4 => /usr/local/lib/libmcrypt.so.4 (0x40826000) libltdl.so.3 => /usr/local/lib/libltdl.so.3 (0x4085c000) libldap.so.2 => /lib/libldap.so.2 (0x40863000) liblber.so.2 => /lib/liblber.so.2 (0x4088f000) libpam.so.0 => /lib/libpam.so.0 (0x40899000) libgmp.so.3 => /usr/lib/libgmp.so.3 (0x408a1000) libt1.so.5 => /usr/local/lib/libt1.so.5 (0x408c2000) libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x40914000) libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x40972000) libexslt.so.0 => /usr/local/lib/libexslt.so.0 (0x40995000) libxsltbreakpoint.so.1 => /usr/local/lib/libxsltbreakpoint.so.1 (0x409a4000) libxslt.so.1 => /usr/local/lib/libxslt.so.1 (0x409a6000) libdb-4.1.so => /usr/local/db4/lib/libdb-4.1.so (0x409d2000) libdb.so.3 => /usr/lib/libdb.so.3 (0x40a76000) libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40ab2000) libcrack.so => /usr/local/lib/libcrack.so (0x40aba000) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x40ac5000) libresolv.so.2 => /lib/libresolv.so.2 (0x40ad4000) libcurl.so.2 => /usr/lib/libcurl.so.2 (0x40ae6000) libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x40b0a000) libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x40bf3000) libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x40c06000) libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x40c5d000) libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40c6d000) libodbc.so.1 => /usr/local/lib/libodbc.so.1 (0x40c6f000) libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x40cd4000) libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40dc5000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) libssl.so.2 => /lib/libssl.so.2 (0x40ddb000) libcrypto.so.2 => /lib/libcrypto.so.2 (0x40e0b000) libsasl.so.7 => /usr/lib/libsasl.so.7 (0x40edf000) libkrb4.so.2 => /usr/kerberos/lib/libkrb4.so.2 (0x40eea000) libdes425.so.3 => /usr/kerberos/lib/libdes425.so.3 (0x40efe000) User's E-mail: admin at the66 dot org ================================================================================ PHPINFO ================================================================================

« previous php.qa (#12557) next »