Test results [failed]

From: Date: Fri, 14 Mar 2003 19:36:12 +0000
Subject: Test results [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-10084@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Output buffering tests [tests/func/006.phpt] session object deserialization [ext/session/tests/003.phpt] session_set_save_handler test [ext/session/tests/004.phpt] custom save handler, multiple session_start()s, complex data structure test. [ext/session/tests/005.phpt] bug compatibility: global is used albeit register_globals=0 [ext/session/tests/008-php4.2.3.phpt] unset($_SESSION["name"]); should work with register_globals=off [ext/session/tests/009.phpt] redefining SID should not cause warnings [ext/session/tests/013.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] Bug #21131: fopen($filename, "a+") has broken position [ext/standard/tests/file/bug21131.phpt] Testing randomization of shuffle() and str_shuffle(). [ext/standard/tests/strings/004.phpt] strtotime() function [ext/standard/tests/time/002.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 77 Exts tested : 11 --------------------------------------------------------------------- Number of tests : 443 Tests skipped : 229 (51.7%) Tests failed : 15 ( 3.4%) Tests passed : 199 (44.9%) --------------------------------------------------------------------- Time taken : 59 seconds ===================================================================== ================================================================================ /usr/local/src/php-4.3.1/tests/func/006.phpt ================================================================================ ---- EXPECTED OUTPUT string(2) "2B" string(2) "1A" ---- ACTUAL OUTPUT string(2) "3B" string(2) "2A" ---- FAILED ================================================================================ 001- string(2) "2B" 001+ string(2) "3B" 002- string(2) "1A" 002+ string(2) "2A" ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/session/tests/003.phpt ================================================================================ ---- EXPECTED OUTPUT object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } ---- ACTUAL OUTPUT object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/003.php on line 18 ---- FAILED ================================================================================ 016+ 017+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/003.php on line 18 ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/session/tests/004.phpt ================================================================================ ---- EXPECTED OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } DESTROY: abtest ---- ACTUAL OUTPUT Fatal error: Call to a member function on a non-object in /usr/local/src/php-4.3.1/ext/session/tests/004.php on line 48 ---- FAILED ================================================================================ 001- OPEN: PHPSESSID 001+ Fatal error: Call to a member function on a non-object in /usr/local/src/php-4.3.1/ext/session/tests/004.php on line 48 002- READ: abtest 003- object(foo)(2) { 004- ["bar"]=> 005- string(2) "ok" 006- ["yes"]=> 007- int(2) 008- } 009- array(1) { 010- [3]=> 011- &object(foo)(2) { 012- ["bar"]=> 013- string(2) "ok" 014- ["yes"]=> 015- int(2) 016- } 017- } 018- WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} 019- OPEN: PHPSESSID 020- READ: abtest 021- object(foo)(2) { 022- ["bar"]=> 023- string(2) "ok" 024- ["yes"]=> 025- int(2) 026- } 027- array(1) { 028- [3]=> 029- object(foo)(2) { 030- ["bar"]=> 031- string(2) "ok" 032- ["yes"]=> 033- int(2) 034- } 035- } 036- DESTROY: abtest ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/session/tests/005.phpt ================================================================================ ---- EXPECTED OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123; CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) DESTROY: abtest CLOSE ---- ACTUAL OUTPUT Fatal error: Call to a member function on a non-object in /usr/local/src/php-4.3.1/ext/session/tests/005.php on line 50 ---- FAILED ================================================================================ 001- OPEN: PHPSESSID 001+ Fatal error: Call to a member function on a non-object in /usr/local/src/php-4.3.1/ext/session/tests/005.php on line 50 002- READ: abtest 003- object(foo)(2) { 004- ["bar"]=> 005- string(2) "ok" 006- ["yes"]=> 007- int(2) 008- } 009- array(1) { 010- [3]=> 011- &object(foo)(2) { 012- ["bar"]=> 013- string(2) "ok" 014- ["yes"]=> 015- int(2) 016- } 017- } 018- WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} 019- CLOSE 020- OPEN: PHPSESSID 021- READ: abtest 022- object(foo)(2) { 023- ["bar"]=> 024- string(2) "ok" 025- ["yes"]=> 026- int(3) 027- } 028- array(1) { 029- [3]=> 030- &object(foo)(2) { 031- ["bar"]=> 032- string(2) "ok" 033- ["yes"]=> 034- int(3) 035- } 036- } 037- int(123) 038- WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123; 039- CLOSE 040- OPEN: PHPSESSID 041- READ: abtest 042- object(foo)(2) { 043- ["bar"]=> 044- string(2) "ok" 045- ["yes"]=> 046- int(3) 047- } 048- array(1) { 049- [3]=> 050- object(foo)(2) { 051- ["bar"]=> 052- string(2) "ok" 053- ["yes"]=> 054- int(3) 055- } 056- } 057- int(123) 058- DESTROY: abtest 059- CLOSE ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/session/tests/008-php4.2.3.phpt ================================================================================ ---- EXPECTED OUTPUT NULL Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. array(1) { ["c"]=> float(3.14) } NULL array(1) { ["c"]=> float(3.14) } ---- ACTUAL OUTPUT Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/008-php4.2.3.php on line 6 NULL Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. array(1) { ["c"]=> float(3.14) } NULL array(1) { ["c"]=> float(3.14) } ---- FAILED ================================================================================ 001- NULL 001+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/008-php4.2.3.php on line 6 002- Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. 002+ NULL 003- array(1) { 003+ Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. 004- ["c"]=> 004+ array(1) { 005- float(3.14) 005+ ["c"]=> 006- } 006+ float(3.14) 007- NULL 007+ } 008- array(1) { 008+ NULL 009- ["c"]=> 009+ array(1) { 010- float(3.14) 010+ ["c"]=> 011- } 011+ float(3.14) 012+ } ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/session/tests/009.phpt ================================================================================ ---- EXPECTED OUTPUT array(0) { } array(1) { ["name"]=> string(3) "foo" } array(1) { ["name"]=> string(3) "foo" } array(0) { } array(0) { } ---- ACTUAL OUTPUT Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/009.php on line 8 array(0) { } array(1) { ["name"]=> string(3) "foo" } array(1) { ["name"]=> string(3) "foo" } array(0) { } array(0) { } ---- FAILED ================================================================================ 001- array(0) { 001+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/009.php on line 8 002- } 002+ array(0) { 003- array(1) { 003+ } 004- ["name"]=> 004+ array(1) { 005- string(3) "foo" 005+ ["name"]=> 006- } 006+ string(3) "foo" 007- array(1) { 007+ } 008- ["name"]=> 008+ array(1) { 009- string(3) "foo" 009+ ["name"]=> 010- } 010+ string(3) "foo" 011- array(0) { 011+ } 012- } 012+ array(0) { 013- array(0) { 013+ } 014- } 014+ array(0) { 015+ } ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/session/tests/013.phpt ================================================================================ ---- EXPECTED OUTPUT I live ---- ACTUAL OUTPUT Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/013.php on line 6 I live ---- FAILED ================================================================================ 001- I live 001+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/013.php on line 6 002+ I live ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/session/tests/014.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="/link?PHPSESSID=abtest"> <a href="/link?PHPSESSID=abtest"> <a href="/link?PHPSESSID=abtest"> ---- ACTUAL OUTPUT <a href="/link?PHPSESSID=068baeee354cf9041ca2e9e8051da72b"> <a href="/link?PHPSESSID=068baeee354cf9041ca2e9e8051da72b"> <a href="/link?PHPSESSID=068baeee354cf9041ca2e9e8051da72b"> Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/014.php on line 18 ---- FAILED ================================================================================ 001- <a href="/link?PHPSESSID=abtest"> 001+ <a href="/link?PHPSESSID=068baeee354cf9041ca2e9e8051da72b"> 002- <a href="/link?PHPSESSID=abtest"> 002+ <a href="/link?PHPSESSID=068baeee354cf9041ca2e9e8051da72b"> 003- <a href="/link?PHPSESSID=abtest"> 003+ <a href="/link?PHPSESSID=068baeee354cf9041ca2e9e8051da72b"> 004+ 005+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/014.php on line 18 ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/session/tests/015.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="/link?PHPSESSID=abtest&PHPSESSID=abtest"> ---- ACTUAL OUTPUT <a href="/link?PHPSESSID=4b712086a3e3e6cec01a056468853769&PHPSESSID=4b712086a3e3e6cec01a056468853769"> Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/015.php on line 9 ---- FAILED ================================================================================ 001- <a href="/link?PHPSESSID=abtest&PHPSESSID=abtest"> 001+ <a href="/link?PHPSESSID=4b712086a3e3e6cec01a056468853769&PHPSESSID=4b712086a3e3e6cec01a056468853769"> 002+ 003+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/015.php on line 9 ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/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 <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID" value="172da638938363e92d919e4205510875" /> Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/018.php on line 10 ---- FAILED ================================================================================ 001- <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID" value="abtest" /> 001+ <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID" value="172da638938363e92d919e4205510875" /> 002+ 003+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/018.php on line 10 ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/session/tests/020.phpt ================================================================================ ---- EXPECTED OUTPUT <a href="link.php?a=b&amp;PHPSESSID=abtest"> ---- ACTUAL OUTPUT <a href="link.php?a=b&amp;PHPSESSID=8ecd3d2bef1d15d812d9bf00b95b92a0"> Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/020.php on line 10 ---- FAILED ================================================================================ 001- <a href="link.php?a=b&amp;PHPSESSID=abtest"> 001+ <a href="link.php?a=b&amp;PHPSESSID=8ecd3d2bef1d15d812d9bf00b95b92a0"> 002+ 003+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/020.php on line 10 ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/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 <form><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> <fieldset><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> <form><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> <fieldset> <form><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> <fieldset> <form> <fieldset><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/021.php on line 39 ---- FAILED ================================================================================ 001- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 001+ <form><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> 002- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 002+ <fieldset><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> 003- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 003+ <form><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> 005- <form><input type="hidden" name="PHPSESSID" value="abtest" /> 005+ <form><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> 008- <fieldset><input type="hidden" name="PHPSESSID" value="abtest" /> 008+ <fieldset><input type="hidden" name="PHPSESSID" value="16b172fab12f943a3a91a7adaac735e6" /> 009+ 010+ Warning: session_destroy() [/phpmanual/function.session-destroy.html]: Session object destruction failed in /usr/local/src/php-4.3.1/ext/session/tests/021.php on line 39 ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/standard/tests/file/bug21131.phpt ================================================================================ ---- EXPECTED OUTPUT int(6) int(0) foobar ---- ACTUAL OUTPUT int(0) int(0) foobar ---- FAILED ================================================================================ 001- int(6) 001+ int(0) ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/standard/tests/strings/004.phpt ================================================================================ ---- EXPECTED OUTPUT shuffle 1234: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1243: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1324: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1342: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1423: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1432: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2134: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2143: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2314: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2341: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2413: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2431: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3124: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3142: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3214: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3241: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3412: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3421: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4123: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4132: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4213: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4231: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4312: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4321: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] str_shuffle 1234: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1243: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1324: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1342: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1423: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 1432: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2134: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2143: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2314: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2341: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2413: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 2431: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3124: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3142: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3214: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3241: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3412: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 3421: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4123: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4132: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4213: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4231: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4312: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 4321: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] ---- ACTUAL OUTPUT shuffle 2341: 90000: 1.000 str_shuffle 2341: 90000: 1.000 ---- FAILED ================================================================================ 002- 1234: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 002+ 2341: 90000: 1.000 003- 1243: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 003+ str_shuffle 004- 1324: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 004+ 2341: 90000: 1.000 005- 1342: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 006- 1423: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 007- 1432: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 008- 2134: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 009- 2143: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 010- 2314: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 011- 2341: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 012- 2413: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 013- 2431: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 014- 3124: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 015- 3142: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 016- 3214: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 017- 3241: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 018- 3412: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 019- 3421: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 020- 4123: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 021- 4132: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 022- 4213: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 023- 4231: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 024- 4312: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 025- 4321: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 026- str_shuffle 027- 1234: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 028- 1243: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 029- 1324: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 030- 1342: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 031- 1423: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 032- 1432: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 033- 2134: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 034- 2143: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 035- 2314: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 036- 2341: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 037- 2413: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 038- 2431: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 039- 3124: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 040- 3142: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 041- 3214: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 042- 3241: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 043- 3412: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 044- 3421: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 045- 4123: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 046- 4132: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 047- 4213: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 048- 4231: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 049- 4312: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] 050- 4321: 3[0-9][0-9][0-9]: 0.0[3-4][0-9] ================================================================================ ================================================================================ /usr/local/src/php-4.3.1/ext/standard/tests/time/002.phpt ================================================================================ ---- EXPECTED OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1970-01-01 00:59:59 2001-10-22 21:19:58 2001-10-23 01:19:58 2001-10-23 01:32:58 2001-10-22 21:19:58 2001-10-22 21:06:58 ---- ACTUAL OUTPUT 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 1999-10-13 00:00:00 1999-10-13 00:00:00 2000-01-19 00:00:00 2000-01-19 00:00:00 2001-12-21 00:00:00 2001-12-21 00:00:00 2001-12-21 12:16:00 2001-12-21 12:16:00 1969-12-31 23:59:59 2001-10-22 21:19:58 2001-10-22 23:19:58 2001-10-22 23:32:58 2001-10-22 19:19:58 2001-10-22 19:06:58 ---- FAILED ================================================================================ 023- 1970-01-01 00:59:59 023+ 1969-12-31 23:59:59 025- 2001-10-23 01:19:58 025+ 2001-10-22 23:19:58 026- 2001-10-23 01:32:58 026+ 2001-10-22 23:32:58 027- 2001-10-22 21:19:58 027+ 2001-10-22 19:19:58 028- 2001-10-22 21:06:58 028+ 2001-10-22 19:06:58 ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: SunOS Automake: automake (GNU automake) 1.7 Written by Tom Tromey <tromey@redhat.com>. Copyright 2002 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. Autoconf: Autoconf version 2.9 Libtool: ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52) Compiler: N/A Bison: bison (GNU Bison) 1.875 Written by Robert Corbett and Richard Stallman. Copyright (C) 2002 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. User's E-mail: peterc at pbc dot ottawa dot on dot ca ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.1 System => SunOS fserver 5.7 Generic_106541-23 sun4u Build Date => Mar 14 2003 13:48:19 Configure Command => './configure' '--with-gettext' '--with-ftp' '--with-nsapi=/usr/local/iplanet/servers' '--with-java=/usr/java1.3.1' '--with-imap=/usr/local' Server API => Command Line Interface Virtual Directory Support => enabled Configuration File (php.ini) Path => /usr/local/lib/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => enabled Registered PHP Streams => php, http, ftp This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => Off => Off allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => &amp; => &amp; arg_separator.output => &amp; => &amp; asp_tags => Off => Off auto_append_file => no value => no value auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_functions => no value => no value display_errors => On => On display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => http://www.php.net/ => http://www.php.net/ enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => 2047 => 2047 expose_php => On => On extension_dir => ./ => ./ file_uploads => On => On gpc_order => GPC => GPC highlight.bg => #FFFFFF => #FFFFFF highlight.comment => #FF9900 => #FF9900 highlight.default => #0000CC => #0000CC highlight.html => #000000 => #000000 highlight.keyword => #006600 => #006600 highlight.string => #CC0000 => #CC0000 html_errors => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off include_path => .:/usr/local/lib/php => .:/usr/local/lib/php log_errors => On => On log_errors_max_len => 1024 => 1024 magic_quotes_gpc => Off => Off magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 30 max_input_time => -1 => -1 open_basedir => no value => no value output_buffering => 4096 => 4096 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => Off register_globals => Off => Off report_memleaks => On => On safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => me@localhost.com => me@localhost.com sendmail_path => /usr/lib/sendmail -t -i => /usr/lib/sendmail -t -i short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => /tmp => /tmp user_dir => no value => no value variables_order => GPCS => GPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => Off => Off ctype ctype functions => enabled gettext GetText Support => enabled imap IMAP c-Client Version => 4.1 mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 3.23.49 MYSQL_MODULE_TYPE => builtin MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => MYSQL_LIBS => Directive => Local Value => Master Value mysql.allow_persistent => Off => Off mysql.connect_timeout => -1 => -1 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 posix Revision => $Revision: 1.51 $ session Session Support => enabled Registered save handlers => files user Directive => Local Value => Master Value session.auto_start => On => On session.bug_compat_42 => On => On session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_dividend => 100 => 100 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp => /tmp session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => On => On standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/lib/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.2 Additional Modules Module Name Environment Variable => Value CONTENT_LENGTH => CONTENT_TYPE => HOME => / HOSTNAME => fserver HOSTTYPE => sparc HZ => 100 LC_COLLATE => en_CA LC_CTYPE => en_CA LC_MESSAGES => C LC_MONETARY => en_CA LC_NUMERIC => en_CA LC_TIME => en_CA LD_LIBRARY_PATH => /opt/SUNWspro/lib:/usr/lib:/usr/local/lib:/usr/ucblib:/usr/local/lib/mysql:/usr/local/oracle/app/oracle/product/8.1.7/lib:/opt/gnome/lib:/usr/local/opnet/8.1.A/sys/unix/lib:/opt/SUNWspro/lib:/usr/lib:/usr/local/lib:/usr/ucblib:/usr/local/lib/mysql:/usr/local/oracle/app/oracle/product/8.1.7/lib:/opt/gnome/lib:/usr/local/opnet/8.1.A/sys/unix/lib: LOGNAME => root MACHTYPE => sparc-sun-solaris2.7 MAIL => /usr/mail/root MANPATH => /usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man: NLS_LANG => AMERICAN_AMERICA.UTF8 OLDPWD => /usr/local/src ORACLE_BASE => /usr/local/oracle/app/oracle ORACLE_HOME => /usr/local/oracle/app/oracle/product/8.1.7 ORACLE_SID => netra OSTYPE => solaris2.7 PATH => .:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ucb:/usr/ccs/bin:/usr/X/bin:/usr/local/oracle/app/oracle/product/8.1.7/bin:/opt/gnome/bin:/usr/local/opnet/8.1.A/sys/unix/bin:/usr/local/Acrobat4/bin:/opt/SUNWppro/bin PATH_TRANSLATED => PS1 => \u@\h:\w\$ PWD => /usr/local/src/php-4.3.1 QUERY_STRING => REDIRECT_STATUS => REQUEST_METHOD => SCRIPT_FILENAME => SHELL => /sbin/bash SHLVL => 1 TERM => vt100 TEST_PHP_EXECUTABLE => /usr/local/bin/php TZ => Canada/Eastern USER => peterc _ => /usr/local/bin/php _INIT_PREV_LEVEL => S _INIT_RUN_LEVEL => 3 _INIT_RUN_NPREV => 0 _INIT_UTS_ISA => sparc _INIT_UTS_MACHINE => sun4u _INIT_UTS_NODENAME => fserver _INIT_UTS_PLATFORM => SUNW,Ultra-5_10 _INIT_UTS_RELEASE => 5.7 _INIT_UTS_SYSNAME => SunOS _INIT_UTS_VERSION => Generic_106541-23 PHP Variables Variable => Value _SERVER["CONTENT_LENGTH"] => _SERVER["CONTENT_TYPE"] => _SERVER["HOME"] => / _SERVER["HOSTNAME"] => fserver _SERVER["HOSTTYPE"] => sparc _SERVER["HZ"] => 100 _SERVER["LC_COLLATE"] => en_CA _SERVER["LC_CTYPE"] => en_CA _SERVER["LC_MESSAGES"] => C _SERVER["LC_MONETARY"] => en_CA _SERVER["LC_NUMERIC"] => en_CA _SERVER["LC_TIME"] => en_CA _SERVER["LD_LIBRARY_PATH"] => /opt/SUNWspro/lib:/usr/lib:/usr/local/lib:/usr/ucblib:/usr/local/lib/mysql:/usr/local/oracle/app/oracle/product/8.1.7/lib:/opt/gnome/lib:/usr/local/opnet/8.1.A/sys/unix/lib:/opt/SUNWspro/lib:/usr/lib:/usr/local/lib:/usr/ucblib:/usr/local/lib/mysql:/usr/local/oracle/app/oracle/product/8.1.7/lib:/opt/gnome/lib:/usr/local/opnet/8.1.A/sys/unix/lib: _SERVER["LOGNAME"] => root _SERVER["MACHTYPE"] => sparc-sun-solaris2.7 _SERVER["MAIL"] => /usr/mail/root _SERVER["MANPATH"] => /usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man: _SERVER["NLS_LANG"] => AMERICAN_AMERICA.UTF8 _SERVER["OLDPWD"] => /usr/local/src _SERVER["ORACLE_BASE"] => /usr/local/oracle/app/oracle _SERVER["ORACLE_HOME"] => /usr/local/oracle/app/oracle/product/8.1.7 _SERVER["ORACLE_SID"] => netra _SERVER["OSTYPE"] => solaris2.7 _SERVER["PATH"] => .:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/ucb:/usr/ccs/bin:/usr/X/bin:/usr/local/oracle/app/oracle/product/8.1.7/bin:/opt/gnome/bin:/usr/local/opnet/8.1.A/sys/unix/bin:/usr/local/Acrobat4/bin:/opt/SUNWppro/bin _SERVER["PATH_TRANSLATED"] => _SERVER["PS1"] => \u@\h:\w\$ _SERVER["PWD"] => /usr/local/src/php-4.3.1 _SERVER["QUERY_STRING"] => _SERVER["REDIRECT_STATUS"] => _SERVER["REQUEST_METHOD"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["SHELL"] => /sbin/bash _SERVER["SHLVL"] => 1 _SERVER["TERM"] => vt100 _SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/bin/php _SERVER["TZ"] => Canada/Eastern _SERVER["USER"] => peterc _SERVER["_"] => /usr/local/bin/php _SERVER["_INIT_PREV_LEVEL"] => S _SERVER["_INIT_RUN_LEVEL"] => 3 _SERVER["_INIT_RUN_NPREV"] => 0 _SERVER["_INIT_UTS_ISA"] => sparc _SERVER["_INIT_UTS_MACHINE"] => sun4u _SERVER["_INIT_UTS_NODENAME"] => fserver _SERVER["_INIT_UTS_PLATFORM"] => SUNW,Ultra-5_10 _SERVER["_INIT_UTS_RELEASE"] => 5.7 _SERVER["_INIT_UTS_SYSNAME"] => SunOS _SERVER["_INIT_UTS_VERSION"] => Generic_106541-23 _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

« previous php.qa (#10084) next »