Test results for 4.3.7 [failed]

From: Date: Thu, 17 Jun 2004 09:50:43 +0000
Subject: Test results for 4.3.7 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-18373@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #24773 (unset() of integers treated as arrays causes a crash) [tests/lang/bug24773.phpt] Bug #24783 ($key not binary safe in "foreach($arr as $key => $val)") [tests/lang/bug24783.phpt] Bug #25547 (error_handler and array index with function call) [tests/lang/bug25547.phpt] Bug #27731 (error_reporing() call inside @ block does not work correctly) [tests/lang/bug27731.phpt] dbx_query [ext/dbx/tests/005.phpt] dbx_error [ext/dbx/tests/006.phpt] dbx_sort [ext/dbx/tests/007.phpt] dbx_compare [ext/dbx/tests/008.phpt] dbx_escape_string [ext/dbx/tests/009.phpt] Test arsort, asort, krsort, ksort, rsort, and sort [ext/standard/tests/array/002.phpt] Test usort, uksort and uasort [ext/standard/tests/array/003.phpt] Bug #21918 (different handling of positive vs. negative array indexes) [ext/standard/tests/array/bug21918.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 55 Exts tested : 33 --------------------------------------------------------------------- Number of tests : 596 Tests skipped : 136 (22.8%) Tests warned : 0 ( 0.0%) Tests failed : 12 (2.0%) Tests passed : 448 (75.2%) --------------------------------------------------------------------- Time taken : 405 seconds ===================================================================== ================================================================================ /usr/src/php-4.3.7/tests/lang/bug24773.phpt ================================================================================ ---- EXPECTED OUTPUT Fatal error: Cannot unset string offsets in %s on line %d ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001- Fatal error: Cannot unset string offsets in %s on line %d 001+ ================================================================================ ================================================================================ /usr/src/php-4.3.7/tests/lang/bug24783.phpt ================================================================================ ---- EXPECTED OUTPUT 7: foo%00bar => foo%00bar ---- ACTUAL OUTPUT 3: foo => foo%00bar ---- FAILED ================================================================================ 001- 7: foo%00bar => foo%00bar 001+ 3: foo => foo%00bar ================================================================================ ================================================================================ /usr/src/php-4.3.7/tests/lang/bug25547.phpt ================================================================================ ---- EXPECTED OUTPUT handler(Undefined index: foo) Array ( [foo] => 1 ) Done ---- ACTUAL OUTPUT handler(Undefined index: foo) Array ( [([0x0]o] => 1 ) Done ---- FAILED ================================================================================ 004- [foo] => 1 004+ [([0x0]o] => 1 ================================================================================ ================================================================================ /usr/src/php-4.3.7/tests/lang/bug27731.phpt ================================================================================ ---- EXPECTED OUTPUT int(2) ---- ACTUAL OUTPUT int(2039) ---- FAILED ================================================================================ 001- int(2) 001+ int(2039) ================================================================================ ================================================================================ /usr/src/php-4.3.7/ext/dbx/tests/005.phpt ================================================================================ ---- EXPECTED OUTPUT 1.root.empty fields.0 10.abc.field2 contains single quote.3 20.cba.field2 contains double quote.3 30.bac.field2 contains >4k text.4591 40.100.field2 contains >64k text.70051 50.20.empty fields.0 60.20.empty fields.0 changed_value insert-query: dbx_query works ok 999999.temporary_record.0 update-query: dbx_query works ok 999999.temporary_record.11 delete-query: dbx_query works ok column name lowercased: id.1.root column name uppercased: ID.1.root wrong dbx_link_object: query failure works ok wrong sql-statement: query failure works ok too many parameters: query failure works ok too few parameters: query failure works ok ---- ACTUAL OUTPUT wrong dbx_link_object: query failure works ok wrong sql-statement: query failure works ok too many parameters: query failure works ok too few parameters: query failure works ok ---- FAILED ================================================================================ 001- 1.root.empty fields.0 001+ wrong dbx_link_object: query failure works ok 002- 10.abc.field2 contains single quote.3 002+ wrong sql-statement: query failure works ok 003- 20.cba.field2 contains double quote.3 003+ too many parameters: query failure works ok 004- 30.bac.field2 contains >4k text.4591 004+ too few parameters: query failure works ok 005- 40.100.field2 contains >64k text.70051 006- 50.20.empty fields.0 007- 60.20.empty fields.0 008- changed_value 009- insert-query: dbx_query works ok 010- 999999.temporary_record.0 011- update-query: dbx_query works ok 012- 999999.temporary_record.11 013- delete-query: dbx_query works ok 014- column name lowercased: id.1.root 015- column name uppercased: ID.1.root 016- wrong dbx_link_object: query failure works ok 017- wrong sql-statement: query failure works ok 018- too many parameters: query failure works ok 019- too few parameters: query failure works ok ================================================================================ ================================================================================ /usr/src/php-4.3.7/ext/dbx/tests/006.phpt ================================================================================ ---- EXPECTED OUTPUT query generated an error: dbx_error works ok query is valid: dbx_error works ok wrong dbx_link_object: dbx_error failure works ok too many parameters: dbx_error failure works ok too few parameters: dbx_error failure works ok ---- ACTUAL OUTPUT query generated an error: dbx_error works ok wrong dbx_link_object: dbx_error failure works ok too many parameters: dbx_error failure works ok too few parameters: dbx_error failure works ok ---- FAILED ================================================================================ 002- query is valid: dbx_error works ok 002+ wrong dbx_link_object: dbx_error failure works ok 003- wrong dbx_link_object: dbx_error failure works ok 003+ too many parameters: dbx_error failure works ok 004- too many parameters: dbx_error failure works ok 004+ too few parameters: dbx_error failure works ok 005- too few parameters: dbx_error failure works ok ================================================================================ ================================================================================ /usr/src/php-4.3.7/ext/dbx/tests/007.phpt ================================================================================ ---- EXPECTED OUTPUT 10.abc 20.cba 30.bac 40.100 50.20 60.20 40.100 50.20 60.20 10.abc 30.bac 20.cba wrong dbx_result_object: dbx_sort failure works ok nonexisting compare function: dbx_sort will NOT complain invalid compare function: dbx_sort will NOT complain too many parameters: dbx_sort failure works ok too few parameters: dbx_sort failure works ok ---- ACTUAL OUTPUT this won't work Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/007.php on line 27 wrong dbx_result_object: dbx_sort failure works ok Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/007.php on line 35 Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/007.php on line 38 too many parameters: dbx_sort failure works ok too few parameters: dbx_sort failure works ok ---- FAILED ================================================================================ 001- 10.abc 001+ this won't work 002- 20.cba 002+ 003- 30.bac 003+ Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/007.php on line 27 004- 40.100 004+ wrong dbx_result_object: dbx_sort failure works ok 005- 50.20 005+ 006- 60.20 006+ Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/007.php on line 35 007- 40.100 007+ 008- 50.20 008+ Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/007.php on line 38 009- 60.20 009+ too many parameters: dbx_sort failure works ok 010- 10.abc 010+ too few parameters: dbx_sort failure works ok 011- 30.bac 012- 20.cba 013- wrong dbx_result_object: dbx_sort failure works ok 014- nonexisting compare function: dbx_sort will NOT complain 015- invalid compare function: dbx_sort will NOT complain 016- too many parameters: dbx_sort failure works ok 017- too few parameters: dbx_sort failure works ok ================================================================================ ================================================================================ /usr/src/php-4.3.7/ext/dbx/tests/008.phpt ================================================================================ ---- EXPECTED OUTPUT 10.abc 20.cba 30.bac 40.100 50.20 60.20 40.100 50.20 60.20 10.abc 30.bac 20.cba 20.cba 30.bac 10.abc 50.20 60.20 40.100 40.100 60.20 50.20 10.abc 30.bac 20.cba 20.cba 30.bac 10.abc 60.20 50.20 40.100 40.100 50.20 60.20 10.abc 30.bac 20.cba 10.0 20.0 30.0 50.20 60.20 40.100 wrong parameters: dbx_compare failure works ok too many parameters: dbx_compare failure works ok too few parameters: dbx_compare failure works ok ---- ACTUAL OUTPUT this won't work Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 52 Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 57 Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 62 Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 67 Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 72 Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 77 wrong parameters: dbx_compare failure works ok too many parameters: dbx_compare failure works ok too few parameters: dbx_compare failure works ok ---- FAILED ================================================================================ 001- 10.abc 001+ this won't work 002- 20.cba 002+ 003- 30.bac 003+ Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 52 004- 40.100 004+ 005- 50.20 005+ Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 57 006- 60.20 006+ 007- 40.100 007+ Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 62 008- 50.20 008+ 009- 60.20 009+ Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 67 010- 10.abc 010+ 011- 30.bac 011+ Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 72 012- 20.cba 012+ 013- 20.cba 013+ Warning: Wrong argument type for sort in /usr/src/php-4.3.7/ext/dbx/tests/008.php on line 77 014- 30.bac 014+ wrong parameters: dbx_compare failure works ok 015- 10.abc 015+ too many parameters: dbx_compare failure works ok 016- 50.20 016+ too few parameters: dbx_compare failure works ok 017- 60.20 018- 40.100 019- 40.100 020- 60.20 021- 50.20 022- 10.abc 023- 30.bac 024- 20.cba 025- 20.cba 026- 30.bac 027- 10.abc 028- 60.20 029- 50.20 030- 40.100 031- 40.100 032- 50.20 033- 60.20 034- 10.abc 035- 30.bac 036- 20.cba 037- 10.0 038- 20.0 039- 30.0 040- 50.20 041- 60.20 042- 40.100 043- wrong parameters: dbx_compare failure works ok 044- too many parameters: dbx_compare failure works ok 045- too few parameters: dbx_compare failure works ok ================================================================================ ================================================================================ /usr/src/php-4.3.7/ext/dbx/tests/009.phpt ================================================================================ ---- EXPECTED OUTPUT ok: no special characters ok: quote ' string ok: doublequote " string ok: backslash \ string ok: backslash and quote \ ' string ok: ampersand & string wrong dbx_link_object: escape_string failure works ok too many parameters: escape_string failure works ok too few parameters: escape_string failure works ok ---- ACTUAL OUTPUT wrong dbx_link_object: escape_string failure works ok too many parameters: escape_string failure works ok too few parameters: escape_string failure works ok ---- FAILED ================================================================================ 001- ok: no special characters 001+ wrong dbx_link_object: escape_string failure works ok 002- ok: quote ' string 002+ too many parameters: escape_string failure works ok 003- ok: doublequote " string 003+ too few parameters: escape_string failure works ok 004- ok: backslash \ string 005- ok: backslash and quote \ ' string 006- ok: ampersand & string 007- wrong dbx_link_object: escape_string failure works ok 008- too many parameters: escape_string failure works ok 009- too few parameters: escape_string failure works ok ================================================================================ ================================================================================ /usr/src/php-4.3.7/ext/standard/tests/array/002.phpt ================================================================================ ---- EXPECTED OUTPUT Unsorted data: array(8) { [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [1000]=> string(4) "test" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } -- Testing arsort() -- No second argument: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [16777216]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [16777216]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [1000]=> string(4) "test" [16777216]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [16777216]=> float(-0.33333333333333) } -- Testing asort() -- No second argument: array(8) { [16777216]=> float(-0.33333333333333) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [16777216]=> float(-0.33333333333333) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) } Using SORT_STRING array(8) { [16777216]=> float(-0.33333333333333) ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" } -- Testing krsort() -- No second argument: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [0]=> string(3) "PHP" ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_STRING array(8) { ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } -- Testing ksort() -- No second argument: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [0]=> string(3) "PHP" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) } -- Testing rsort() -- No second argument: array(8) { [0]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1]=> int(27) [2]=> string(4) "test" [3]=> string(6) "monkey" [4]=> string(4) "Test" [5]=> string(27) "PHP: Hypertext Preprocessor" [6]=> string(3) "PHP" [7]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { [0]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1]=> int(27) [2]=> string(4) "test" [3]=> string(6) "monkey" [4]=> string(4) "Test" [5]=> string(27) "PHP: Hypertext Preprocessor" [6]=> string(3) "PHP" [7]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { [0]=> int(27) [1]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [2]=> string(3) "PHP" [3]=> string(27) "PHP: Hypertext Preprocessor" [4]=> string(6) "monkey" [5]=> string(4) "Test" [6]=> string(4) "test" [7]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [0]=> string(4) "test" [1]=> string(6) "monkey" [2]=> string(4) "Test" [3]=> string(27) "PHP: Hypertext Preprocessor" [4]=> string(3) "PHP" [5]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [6]=> int(27) [7]=> float(-0.33333333333333) } -- Testing sort() -- No second argument: array(8) { [0]=> float(-0.33333333333333) [1]=> string(3) "PHP" [2]=> string(27) "PHP: Hypertext Preprocessor" [3]=> string(4) "Test" [4]=> string(6) "monkey" [5]=> string(4) "test" [6]=> int(27) [7]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [0]=> float(-0.33333333333333) [1]=> string(3) "PHP" [2]=> string(27) "PHP: Hypertext Preprocessor" [3]=> string(4) "Test" [4]=> string(6) "monkey" [5]=> string(4) "test" [6]=> int(27) [7]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [0]=> float(-0.33333333333333) [1]=> string(6) "monkey" [2]=> string(4) "test" [3]=> string(4) "Test" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(3) "PHP" [6]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [7]=> int(27) } Using SORT_STRING array(8) { [0]=> float(-0.33333333333333) [1]=> int(27) [2]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [3]=> string(3) "PHP" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [6]=> string(6) "monkey" [7]=> string(4) "test" } ---- ACTUAL OUTPUT Unsorted data: array(8) { [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [1000]=> string(4) "test" ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } -- Testing arsort() -- No second argument: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [16777216]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [16777216]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [1000]=> string(4) "test" [16777216]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [1000]=> string(4) "test" [1001]=> string(6) "monkey" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [16777216]=> float(-0.33333333333333) } -- Testing asort() -- No second argument: array(8) { [16777216]=> float(-0.33333333333333) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [16777216]=> float(-0.33333333333333) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) } Using SORT_STRING array(8) { [16777216]=> float(-0.33333333333333) ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" } -- Testing krsort() -- No second argument: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [0]=> string(3) "PHP" ["test"]=> int(27) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_STRING array(8) { ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [16777216]=> float(-0.33333333333333) [1001]=> string(6) "monkey" [1000]=> string(4) "test" [0]=> string(3) "PHP" [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } -- Testing ksort() -- No second argument: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [0]=> string(3) "PHP" [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" ["test"]=> int(27) [5]=> string(4) "Test" [17]=> string(27) "PHP: Hypertext Preprocessor" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) } -- Testing rsort() -- No second argument: array(8) { [0]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1]=> int(27) [2]=> string(4) "test" [3]=> string(6) "monkey" [4]=> string(4) "Test" [5]=> string(27) "PHP: Hypertext Preprocessor" [6]=> string(3) "PHP" [7]=> float(-0.33333333333333) } Using SORT_REGULAR: array(8) { [0]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [1]=> int(27) [2]=> string(4) "test" [3]=> string(6) "monkey" [4]=> string(4) "Test" [5]=> string(27) "PHP: Hypertext Preprocessor" [6]=> string(3) "PHP" [7]=> float(-0.33333333333333) } Using SORT_NUMERIC: array(8) { [0]=> int(27) [1]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [2]=> string(3) "PHP" [3]=> string(27) "PHP: Hypertext Preprocessor" [4]=> string(6) "monkey" [5]=> string(4) "Test" [6]=> string(4) "test" [7]=> float(-0.33333333333333) } Using SORT_STRING array(8) { [0]=> string(4) "test" [1]=> string(6) "monkey" [2]=> string(4) "Test" [3]=> string(27) "PHP: Hypertext Preprocessor" [4]=> string(3) "PHP" [5]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [6]=> int(27) [7]=> float(-0.33333333333333) } -- Testing sort() -- No second argument: array(8) { [0]=> float(-0.33333333333333) [1]=> string(3) "PHP" [2]=> string(27) "PHP: Hypertext Preprocessor" [3]=> string(4) "Test" [4]=> string(6) "monkey" [5]=> string(4) "test" [6]=> int(27) [7]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_REGULAR: array(8) { [0]=> float(-0.33333333333333) [1]=> string(3) "PHP" [2]=> string(27) "PHP: Hypertext Preprocessor" [3]=> string(4) "Test" [4]=> string(6) "monkey" [5]=> string(4) "test" [6]=> int(27) [7]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } } Using SORT_NUMERIC: array(8) { [0]=> float(-0.33333333333333) [1]=> string(6) "monkey" [2]=> string(4) "test" [3]=> string(4) "Test" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(3) "PHP" [6]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [7]=> int(27) } Using SORT_STRING array(8) { [0]=> float(-0.33333333333333) [1]=> int(27) [2]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [3]=> string(3) "PHP" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [6]=> string(6) "monkey" [7]=> string(4) "test" } ---- FAILED ================================================================================ 013- [-1000]=> 013+ ["-1000"]=> ================================================================================ ================================================================================ /usr/src/php-4.3.7/ext/standard/tests/array/003.phpt ================================================================================ ---- EXPECTED OUTPUT -- Testing uasort() -- array(8) { [16777216]=> float(-0.33333333333333) [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" } -- Testing uksort() -- array(8) { [-1000]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) } -- Testing usort() -- array(8) { [0]=> float(-0.33333333333333) [1]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [2]=> int(27) [3]=> string(3) "PHP" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [6]=> string(6) "monkey" [7]=> string(4) "test" } ---- ACTUAL OUTPUT -- Testing uasort() -- array(8) { [16777216]=> float(-0.33333333333333) ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } ["test"]=> int(27) [0]=> string(3) "PHP" [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [1001]=> string(6) "monkey" [1000]=> string(4) "test" } -- Testing uksort() -- array(8) { ["-1000"]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [0]=> string(3) "PHP" [1000]=> string(4) "test" [1001]=> string(6) "monkey" [16777216]=> float(-0.33333333333333) [17]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" ["test"]=> int(27) } -- Testing usort() -- array(8) { [0]=> float(-0.33333333333333) [1]=> array(2) { [0]=> string(6) "banana" [1]=> string(6) "orange" } [2]=> int(27) [3]=> string(3) "PHP" [4]=> string(27) "PHP: Hypertext Preprocessor" [5]=> string(4) "Test" [6]=> string(6) "monkey" [7]=> string(4) "test" } ---- FAILED ================================================================================ 005- [-1000]=> 005+ ["-1000"]=> 028- [-1000]=> 028+ ["-1000"]=> ================================================================================ ================================================================================ /usr/src/php-4.3.7/ext/standard/tests/array/bug21918.phpt ================================================================================ ---- EXPECTED OUTPUT ==Mixed== int(-1) string(1) "a" int(-2) string(1) "b" int(3) string(1) "c" int(4) string(1) "d" int(5) string(1) "e" int(6001) string(1) "f" string(2) "07" string(1) "g" ==Normal== int(0) string(1) "a" ==Negative== int(-2) string(1) "a" ==Done== ---- ACTUAL OUTPUT ==Mixed== int(-1) string(1) "a" string(2) "-2" string(1) "b" int(3) string(1) "c" int(4) string(1) "d" int(5) string(1) "e" int(6001) string(1) "f" string(2) "07" string(1) "g" ==Normal== int(0) string(1) "a" ==Negative== string(2) "-2" string(1) "a" ==Done== ---- FAILED ================================================================================ 004- int(-2) 004+ string(2) "-2" 020- int(-2) 020+ string(2) "-2" ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux linux 2.4.23 #2 Mon Dec 15 12:16:55 CET 2003 i686 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 (GNU Autoconf) 2.52 Written by David J. MacKenzie. Copyright 1992, 1993, 1994, 1996, 1999, 2000, 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. 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/i486-suse-linux/2.95.3/specs gcc version 2.95.3 20010315 (SuSE) Bison: GNU Bison version 1.28 Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x40021000) libmcal.so => /usr/lib/libmcal.so (0x4004e000) libmm.so.11 => /usr/lib/libmm.so.11 (0x4005f000) libpdf.so.2 => /usr/local/lib/libpdf.so.2 (0x40063000) libm.so.6 => /lib/libm.so.6 (0x40147000) libz.so.1 => /lib/libz.so.1 (0x4016a000) libpng.so.2 => /usr/lib/libpng.so.2 (0x40179000) libmysqlclient.so.12 => /opt/mysql4/lib/mysql/libmysqlclient.so.12 (0x401ab000) libmcrypt.so.4 => /usr/lib/libmcrypt.so.4 (0x401ce000) libltdl.so.3 => /usr/lib/libltdl.so.3 (0x40212000) libdl.so.2 => /lib/libdl.so.2 (0x40219000) libt1.so.1 => /usr/lib/libt1.so.1 (0x4021d000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40260000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4029b000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4037e000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4038d000) libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x403ac000) libresolv.so.2 => /lib/libresolv.so.2 (0x403bc000) libnsl.so.1 => /lib/libnsl.so.1 (0x403ce000) libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x403e4000) libxml2.so.2 => /opt/libxml2/lib/libxml2.so.2 (0x40416000) libpthread.so.0 => /lib/libpthread.so.0 (0x40544000) libclntsh.so.8.0 => /opt/oracle/product/8.1.7/lib/libclntsh.so.8.0 (0x4055a000) libc.so.6 => /lib/libc.so.6 (0x40ace000) libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x40bf4000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40c22000) libwtc8.so => /opt/oracle/product/8.1.7/lib/libwtc8.so (0x40ceb000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: s dot pfalz at teles dot de ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.7 System => Linux linux 2.4.23 #2 Mon Dec 15 12:16:55 CET 2003 i686 Build Date => Jun 17 2004 11:35:57 Configure Command => './configure' '--with-apxs2=/opt/apache2/bin/apxs' '--disable-cgi' '--with-config-file-path=/opt/apache2/conf' '--enable-sigchild' '--disable-debug' '--enable-libgcc' '--with-openssl=/opt/openssl' '--with-zlib=/usr' '--enable-bcmath' '--with-bz2' '--enable-calendar' '--disable-ctype' '--with-curl=/opt/curl' '--enable-dba' '--enable-dbx' '--enable-dio' '--enable-exif' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib-dir=/usr' '--with-xpm-dir=/usr' '--with-ttf=/usr' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--enable-gd-native-ttf' '--with-gettext' '--enable-mbstring' '--enable-mbregex' '--with-mcal=/usr' '--with-mcrypt=/usr' '--without-msql' '--with-mysql=/opt/mysql4' '--with-oci8' '--with-pdflib=/usr/local' '--with-mm=/usr' '--enable-shmop' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-dom=/opt/libxml2' '--enable-mime-magic' '--enable-track-vars' '--disable-trans-sid' '--with! -pear=/html/pear' '--with-gnu-ld' '--with-tsrm-pthreads' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /opt/apache2/conf/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, https, ftps, compress.bzip2, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Optimizer v2.5.1, Copyright (c) 1998-2004, by 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 => & => & 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_classes => no value => no value disable_functions => no value => no value display_errors => On => On display_startup_errors => Off => Off doc_root => no value => no value docref_ext => .html => .html docref_root => http://195.4.13.68/phpmanual/ => http://195.4.13.68/phpmanual/ enable_dl => On => On error_append_string => no value => no value error_log => /var/log/apache2/php_errors.log => /var/log/apache2/php_errors.log error_prepend_string => no value => no value error_reporting => 2039 => 2039 expose_php => On => On extension_dir => ./ => ./ file_uploads => On => On gpc_order => GPC => GPC highlight.bg => #FFFFFF => #FFFFFF highlight.comment => #FF8000 => #FF8000 highlight.default => #0000BB => #0000BB highlight.html => #000000 => #000000 highlight.keyword => #007700 => #007700 highlight.string => #DD0000 => #DD0000 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 => .:/html/Smarty:/html/pear => .:/html/Smarty:/html/pear log_errors => On => On log_errors_max_len => 0 => 0 magic_quotes_gpc => Off => Off magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 86400 max_input_time => 86400 => 86400 open_basedir => no value => no value output_buffering => 0 => no value output_handler => no value => no value post_max_size => 256M => 256M 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 => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 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 => 256M => 256M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => GPCS => GPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On Zend Optimizer Optimization Pass 1 => enabled Optimization Pass 2 => enabled Optimization Pass 3 => enabled Optimization Pass 4 => enabled Optimization Pass 5 => disabled Optimization Pass 9 => disabled Optimization Pass 10 => disabled Zend Loader => disabled License Path => bcmath BCMath support => enabled bz2 BZip2 Support => Enabled BZip2 Version => 1.0.2, 30-Dec-2001 calendar Calendar support => enabled curl CURL support => enabled CURL Information => libcurl/7.10.8 OpenSSL/0.9.7d ipv6 zlib/1.1.3 dba DBA support => enabled Supported handlers => cdb cdb_make inifile flatfile dbx dbx support => enabled dbx version => 1.0.0 supported databases => MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT Directive => Local Value => Master Value dbx.colnames_case => lowercase => lowercase dio dio support => enabled domxml DOM/XML => enabled DOM/XML API Version => 20020815 libxml Version => 20607 HTML Support => enabled XPath Support => enabled XPointer Support => enabled exif EXIF Support => enabled EXIF Version => 1.4 $Id: exif.c,v 1.118.2.27 2003/12/17 09:08:37 helly Exp $ Supported EXIF Version => 0220 Supported filetypes => JPEG,TIFF ftp FTP support => enabled gd GD Support => enabled GD Version => bundled (2.0.23 compatible) FreeType Support => enabled FreeType Linkage => with freetype T1Lib Support => enabled GIF Read Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled XBM Support => enabled gettext GetText Support => enabled mbstring Multibyte Support => enabled Japanese support => enabled Simplified chinese support => enabled Traditional chinese support => enabled Korean support => enabled Russian support => enabled Multibyte (japanese) regex support => enabled mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => ISO-8859-1 => no value mbstring.language => neutral => neutral mbstring.substitute_character => no value => no value mcal MCAL Support => enabled MCAL Version => 0.6 - 20000121 mcrypt mcrypt support => enabled version => >= 2.4.x Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream Directive => Local Value => Master Value mcrypt.algorithms_dir => no value => no value mcrypt.modes_dir => no value => no value mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 4.0.18 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /var/lib/mysql/mysql4.sock MYSQL_INCLUDE => -I/opt/mysql4/include/mysql MYSQL_LIBS => -L/opt/mysql4/lib/mysql -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => 15 => 15 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 oci8 OCI8 Support => enabled Revision => $Revision: 1.183.2.12 $ Oracle Version => 8.1 Compile-time ORACLE_HOME => /opt/oracle/product/8.1.7 Libraries Used => openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.7d 17 Mar 2004 overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.5 01-December-2003 pdf PDF Support => enabled PDFlib GmbH Version => 5.0.2 Revision => $Revision: 1.112.2.9 $ posix Revision => $Revision: 1.51.2.2 $ session Session Support => enabled Registered save handlers => files user mm Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => Off => Off session.bug_compat_warn => On => On session.cache_expire => 120 => 120 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_divisor => 1000 => 1000 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 => Off => Off shmop shmop support => enabled sockets Sockets Support => enabled standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/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 => 15 => 15 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 => PHP => PHP sysvmsg sysvmsg support => enabled Revision => $Revision: 1.4.2.3 $ tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.6 zlib ZLib Support => enabled Compiled Version => 1.2.1 Linked Version => 1.1.3 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name sysvsem sysvshm Environment Variable => Value PWD => /usr/src/php-4.3.7 ORACLE_SID => ORADEV TMPDIR => /tmp MAKEFLAGS => SCRIPT_FILENAME => MFLAGS => HOSTNAME => linux LD_LIBRARY_PATH => /opt/oracle/product/8.1.7/lib:/opt/oracle/product/8.1.7/ctx/lib LS_OPTIONS => -a -N --color=tty -T 0 SUSE_DOC_HOST => sgllinux.teles.de CLASSPATH => /opt/oracle/product/8.1.7/JRE:/opt/oracle/product/8.1.7/jlib:/opt/oracle/product/8.1.7/rdbms/jlib:/opt/oracle/product/8.1.7/network/jlib ORGANIZATION => TEUS GmbH CC => gcc PERLDOC => -U NNTPSERVER => news.cs.tu-berlin.de REQUEST_METHOD => LS_COLORS => no=00:fi=00:di=01;34:ln=01:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tbz2=00;31:*.png=01;35:*.bmp=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.pcx=01;35:*.ppm=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.wav=00;32:*.mp3=00;32:*.au=00;32:*.aiff=00;32:*.mid=00;32:*.voc=00;32: RC_LC_COLLATE => POSIX MACHTYPE => i686-suse-linux TEST_PHP_SRCDIR => /usr/src/php-4.3.7 PATH_TRANSLATED => LESS_ADVANCED_PREPROCESSOR => no QUERY_STRING => CONTENT_LENGTH => ORACLE_BASE => /opt/oracle HOST => linux MAKELEVEL => 1 ORACLE_HOME => /opt/oracle/product/8.1.7 ORACLE_TERM => xterm COLORTERM => 1 SHLVL => 3 LOGNAME => root MINICOM => -c on INFODIR => /usr/local/info:/usr/share/info:/usr/info REDIRECT_STATUS => TEST_PHP_EXECUTABLE => /usr/src/php-4.3.7/sapi/cli/php _ => /usr/src/php-4.3.7/sapi/cli/php ORA_NLS33 => /opt/oracle/product/8.1.7/ocommon/nls/admin/data SHELL => /bin/sh PRINTER => lp CPU => i686 HOSTTYPE => i386 OSTYPE => linux no_proxy => localhost TERM => xterm HOME => /root XNLSPATH => /usr/X11R6/lib/X11/nls NLS_LANG => GERMAN_GERMANY.WE8ISO8859P1 PATH => /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde2/bin:/opt/gnome/bin:/opt/oracle/product/8.1.7/bin:/opt/mysql4/bin FROM_HEADER => teles.de CONTENT_TYPE => PHP Variables Variable => Value _SERVER["PWD"] => /usr/src/php-4.3.7 _SERVER["ORACLE_SID"] => ORADEV _SERVER["TMPDIR"] => /tmp _SERVER["MAKEFLAGS"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["MFLAGS"] => _SERVER["HOSTNAME"] => linux _SERVER["LD_LIBRARY_PATH"] => /opt/oracle/product/8.1.7/lib:/opt/oracle/product/8.1.7/ctx/lib _SERVER["LS_OPTIONS"] => -a -N --color=tty -T 0 _SERVER["SUSE_DOC_HOST"] => sgllinux.teles.de _SERVER["CLASSPATH"] => /opt/oracle/product/8.1.7/JRE:/opt/oracle/product/8.1.7/jlib:/opt/oracle/product/8.1.7/rdbms/jlib:/opt/oracle/product/8.1.7/network/jlib _SERVER["ORGANIZATION"] => TEUS GmbH _SERVER["CC"] => gcc _SERVER["PERLDOC"] => -U _SERVER["NNTPSERVER"] => news.cs.tu-berlin.de _SERVER["REQUEST_METHOD"] => _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tbz2=00;31:*.png=01;35:*.bmp=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.pcx=01;35:*.ppm=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.wav=00;32:*.mp3=00;32:*.au=00;32:*.aiff=00;32:*.mid=00;32:*.voc=00;32: _SERVER["RC_LC_COLLATE"] => POSIX _SERVER["MACHTYPE"] => i686-suse-linux _SERVER["TEST_PHP_SRCDIR"] => /usr/src/php-4.3.7 _SERVER["PATH_TRANSLATED"] => _SERVER["LESS_ADVANCED_PREPROCESSOR"] => no _SERVER["QUERY_STRING"] => _SERVER["CONTENT_LENGTH"] => _SERVER["ORACLE_BASE"] => /opt/oracle _SERVER["HOST"] => linux _SERVER["MAKELEVEL"] => 1 _SERVER["ORACLE_HOME"] => /opt/oracle/product/8.1.7 _SERVER["ORACLE_TERM"] => xterm _SERVER["COLORTERM"] => 1 _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => root _SERVER["MINICOM"] => -c on _SERVER["INFODIR"] => /usr/local/info:/usr/share/info:/usr/info _SERVER["REDIRECT_STATUS"] => _SERVER["TEST_PHP_EXECUTABLE"] => /usr/src/php-4.3.7/sapi/cli/php _SERVER["_"] => /usr/src/php-4.3.7/sapi/cli/php _SERVER["ORA_NLS33"] => /opt/oracle/product/8.1.7/ocommon/nls/admin/data _SERVER["SHELL"] => /bin/sh _SERVER["PRINTER"] => lp _SERVER["CPU"] => i686 _SERVER["HOSTTYPE"] => i386 _SERVER["OSTYPE"] => linux _SERVER["no_proxy"] => localhost _SERVER["TERM"] => xterm _SERVER["HOME"] => /root _SERVER["XNLSPATH"] => /usr/X11R6/lib/X11/nls _SERVER["NLS_LANG"] => GERMAN_GERMANY.WE8ISO8859P1 _SERVER["PATH"] => /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde2/bin:/opt/gnome/bin:/opt/oracle/product/8.1.7/bin:/opt/mysql4/bin _SERVER["FROM_HEADER"] => teles.de _SERVER["CONTENT_TYPE"] => _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 (#18373) next »