Test results for 4.3.7 [failed]

From: Date: Tue, 15 Jun 2004 08:23:29 +0000
Subject: Test results for 4.3.7 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-18308@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 : 54 Exts tested : 34 --------------------------------------------------------------------- Number of tests : 596 Tests skipped : 147 (24.7%) Tests warned : 0 ( 0.0%) Tests failed : 12 (2.0%) Tests passed : 437 (73.3%) --------------------------------------------------------------------- Time taken : 476 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 TEUS-Web 2.4.21-215-default #1 Tue Apr 27 14:55:35 UTC 2004 i686 Automake: automake (GNU automake) 1.6.3 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 (GNU Autoconf) 2.53 Written by David J. MacKenzie and Akim Demaille. 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. 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/3.2/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc version 3.2 Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 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. Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001d000) libmcal.so => /usr/lib/libmcal.so (0x4004f000) libmm.so.12 => /usr/lib/libmm.so.12 (0x40060000) libhistory.so.4 => /lib/libhistory.so.4 (0x40064000) libreadline.so.4 => /lib/libreadline.so.4 (0x4006b000) libncurses.so.5 => /lib/libncurses.so.5 (0x40097000) libpdf.so.2 => /usr/local/lib/libpdf.so.2 (0x400da000) libm.so.6 => /lib/i686/libm.so.6 (0x401b2000) libz.so.1 => /lib/libz.so.1 (0x401d5000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x401e5000) libmysqlclient.so.12 => /opt/mysql4/lib/mysql/libmysqlclient.so.12 (0x40215000) libnsl.so.1 => /lib/libnsl.so.1 (0x4023a000) libssl.so.0.9.7 => /opt/openssl/lib/libssl.so.0.9.7 (0x4024f000) libcrypto.so.0.9.7 => /opt/openssl/lib/libcrypto.so.0.9.7 (0x4027e000) libmcrypt.so.4 => /usr/lib/libmcrypt.so.4 (0x40372000) libdl.so.2 => /lib/libdl.so.2 (0x40378000) libltdl.so.3 => /usr/lib/libltdl.so.3 (0x4037c000) libgmp.so.3 => /usr/lib/libgmp.so.3 (0x40383000) libt1.so.1 => /usr/lib/libt1.so.1 (0x403af000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x403f6000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40438000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40530000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4053f000) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x4055d000) libresolv.so.2 => /lib/libresolv.so.2 (0x4056c000) libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x4057f000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x405ae000) libclntsh.so.9.0 => /opt/oracle/product/9ir2/lib/libclntsh.so.9.0 (0x40656000) libc.so.6 => /lib/i686/libc.so.6 (0x40f63000) libwtc9.so => /opt/oracle/product/9ir2/lib/libwtc9.so (0x41081000) libpthread.so.0 => /lib/i686/libpthread.so.0 (0x41084000) /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 TEUS-Web 2.4.21-215-default #1 Tue Apr 27 14:55:35 UTC 2004 i686 Build Date => Jun 15 2004 10:03:44 Configure Command => './configure' '--enable-bcmath' '--with-apxs2=/opt/apache2/bin/apxs' '--with-openssl=/opt/openssl' '--enable-sigchild' '--with-pear=/html/PEAR' '--enable-libgcc' '--with-config-file-path=/opt/apache2/conf' '--with-oci8' '--with-gd' '--with-ttf=/usr' '--with-freetype-dir=/usr' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-t1lib=/usr' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--disable-debug' '--disable-ctype' '--with-mysql=/opt/mysql4' '--with-zlib=/usr' '--enable-track-vars' '--enable-calendar' '--enable-ftp' '--enable-sockets' '--with-gmp' '--disable-trans-sid' '--enable-shmop' '--without-msql' '--with-mcal=/usr' '--with-gettext' '--with-bz2=/usr' '--without-dom' '--enable-exif' '--with-mm=/usr' '--enable-mbstring' '--enable-mbregex' '--enable-mime-magic' '--enable-dbx' '--enable-dio' '--with-mcrypt=/usr' '--with-tsrm-pthreads' '--with-readline' '--with-dom=/u! sr' '--with-curl=/usr/local' '--with-pdflib=/usr/local' 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 => & => & 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 => iso-8859-1 => iso-8859-1 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 => #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 => .:/userdata/html/PEAR:/userdata/html/jpgraph => .:/userdata/html/PEAR:/userdata/html/jpgraph 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 => 86400 max_input_time => 60 => 60 open_basedir => no value => no value output_buffering => 0 => no value 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 => no value => no value sendmail_path => export LD_PRELOAD= ; /usr/sbin/sendmail -t -i -v => export LD_PRELOAD= ; /usr/sbin/sendmail -t -i -v 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 => 10M => 10M 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 => Off => Off 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.7c ipv6 zlib/1.1.4 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 => unchanged => unchanged dio dio support => enabled domxml DOM/XML => enabled DOM/XML API Version => 20020815 libxml Version => 20423 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 gmp gmp 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 => arcfour blowfish-compat blowfish cast-128 cast-256 des enigma gost idea loki97 mars panama rc2 rc6 rijndael-128 rijndael-192 rijndael-256 safer-sk128 safer-sk64 saferplus serpent skipjack threeway tripledes twofish wake xtea 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 => 9.2 Compile-time ORACLE_HOME => /opt/oracle/product/9ir2 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 => 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_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 => Off => Off 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 => export LD_PRELOAD= ; /usr/sbin/sendmail -t -i -v Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => no value => no value assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 20 => 20 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.1.4 Linked Version => 1.1.4 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 readline sysvsem sysvshm Environment Variable => Value LESSKEY => /etc/lesskey.bin MANPATH => /usr/share/man:/usr/local/man:/usr/X11R6/man:/opt/gnome/man INFODIR => /usr/local/info:/usr/share/info:/usr/info NNTPSERVER => news HOSTNAME => TEUS-Web TEST_PHP_SRCDIR => /usr/src/php-4.3.7 XKEYSYMDB => /usr/X11R6/lib/X11/XKeysymDB TERM => xterm SHELL => /bin/sh HOST => TEUS-Web PROFILEREAD => true MAKEFLAGS => SSH_CLIENT => 195.4.13.55 4411 22 GNOME_PATH => :/opt/gnome:/usr QTDIR => /usr/lib/qt3 SSH_TTY => /dev/pts/0 JRE_HOME => /usr/lib/java/jre USER => root LS_COLORS => no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.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:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: LD_LIBRARY_PATH => /opt/oracle/product/9ir2/lib:/opt/oracle/product/9ir2/ctx/lib:/opt/oracle/product/9ir2/lib:/opt/oracle/product/9ir2/ctx/lib SCRIPT_FILENAME => ORACLE_SID => mydb XNLSPATH => /usr/X11R6/lib/X11/nls ORACLE_BASE => /opt/oracle SSH_AUTH_SOCK => /tmp/ssh-XXPIoBzk/agent.1527 HOSTTYPE => i386 MAKELEVEL => 1 PAGER => less MFLAGS => MINICOM => -c on PATH => /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin:/opt/oracle/product/9ir2/bin:/opt/mysql4/bin:/opt/apache2/bin:/opt/openssl/bin GNOMEDIR => /opt/gnome TNS_ADMIN => /opt/oracle/product/9ir2/network/admin MAIL => /var/mail/root CPU => i686 _ => /usr/src/php-4.3.7/sapi/cli/php JAVA_BINDIR => /usr/lib/java/jre/bin PWD => /usr/src/php-4.3.7 INPUTRC => /etc/inputrc JAVA_HOME => /usr/lib/java/jre TEST_PHP_EXECUTABLE => /usr/src/php-4.3.7/sapi/cli/php REDIRECT_STATUS => PATH_TRANSLATED => TEXINPUTS => :/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX HOME => /root SHLVL => 3 CONTENT_LENGTH => LESS_ADVANCED_PREPROCESSOR => no OSTYPE => linux LS_OPTIONS => -a -N --color=tty -T 0 no_proxy => localhost RC_LC_COLLATE => POSIX WINDOWMANAGER => /usr/X11R6/bin/kde LESS => -M -I LOGNAME => root MACHTYPE => i686-suse-linux QUERY_STRING => RC_LANG => de_DE@euro PRINTER => lp LC_CTYPE => de_DE@euro CLASSPATH => /opt/oracle/product/9ir2/JRE:/opt/oracle/product/9ir2/jlib:/opt/oracle/product/9ir2/rdbms/jlib:/opt/oracle/product/9ir2/network/jlib LESSOPEN => lessopen.sh %s INFOPATH => /usr/local/info:/usr/share/info:/usr/info CONTENT_TYPE => DISPLAY => 195.4.13.221:0.0 ORA_NLS33 => /opt/oracle/product/9ir2/ocommon/nls/admin/data CC => gcc ORACLE_HOME => /opt/oracle/product/9ir2 REQUEST_METHOD => LESSCLOSE => lessclose.sh %s %s JAVA_ROOT => /usr/lib/java COLORTERM => 1 mc => () { mkdir -p $HOME/.mc/tmp 2>/dev/null; chmod 700 $HOME/.mc/tmp; MC=$HOME/.mc/tmp/mc-$$; /usr/bin/mc -P "$@" >"$MC"; cd "cat $MC"; rm -f "$MC"; unset MC } PHP Variables Variable => Value _SERVER["LESSKEY"] => /etc/lesskey.bin _SERVER["MANPATH"] => /usr/share/man:/usr/local/man:/usr/X11R6/man:/opt/gnome/man _SERVER["INFODIR"] => /usr/local/info:/usr/share/info:/usr/info _SERVER["NNTPSERVER"] => news _SERVER["HOSTNAME"] => TEUS-Web _SERVER["TEST_PHP_SRCDIR"] => /usr/src/php-4.3.7 _SERVER["XKEYSYMDB"] => /usr/X11R6/lib/X11/XKeysymDB _SERVER["TERM"] => xterm _SERVER["SHELL"] => /bin/sh _SERVER["HOST"] => TEUS-Web _SERVER["PROFILEREAD"] => true _SERVER["MAKEFLAGS"] => _SERVER["SSH_CLIENT"] => 195.4.13.55 4411 22 _SERVER["GNOME_PATH"] => :/opt/gnome:/usr _SERVER["QTDIR"] => /usr/lib/qt3 _SERVER["SSH_TTY"] => /dev/pts/0 _SERVER["JRE_HOME"] => /usr/lib/java/jre _SERVER["USER"] => root _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.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:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: _SERVER["LD_LIBRARY_PATH"] => /opt/oracle/product/9ir2/lib:/opt/oracle/product/9ir2/ctx/lib:/opt/oracle/product/9ir2/lib:/opt/oracle/product/9ir2/ctx/lib _SERVER["SCRIPT_FILENAME"] => _SERVER["ORACLE_SID"] => mydb _SERVER["XNLSPATH"] => /usr/X11R6/lib/X11/nls _SERVER["ORACLE_BASE"] => /opt/oracle _SERVER["SSH_AUTH_SOCK"] => /tmp/ssh-XXPIoBzk/agent.1527 _SERVER["HOSTTYPE"] => i386 _SERVER["MAKELEVEL"] => 1 _SERVER["PAGER"] => less _SERVER["MFLAGS"] => _SERVER["MINICOM"] => -c on _SERVER["PATH"] => /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin:/opt/oracle/product/9ir2/bin:/opt/mysql4/bin:/opt/apache2/bin:/opt/openssl/bin _SERVER["GNOMEDIR"] => /opt/gnome _SERVER["TNS_ADMIN"] => /opt/oracle/product/9ir2/network/admin _SERVER["MAIL"] => /var/mail/root _SERVER["CPU"] => i686 _SERVER["_"] => /usr/src/php-4.3.7/sapi/cli/php _SERVER["JAVA_BINDIR"] => /usr/lib/java/jre/bin _SERVER["PWD"] => /usr/src/php-4.3.7 _SERVER["INPUTRC"] => /etc/inputrc _SERVER["JAVA_HOME"] => /usr/lib/java/jre _SERVER["TEST_PHP_EXECUTABLE"] => /usr/src/php-4.3.7/sapi/cli/php _SERVER["REDIRECT_STATUS"] => _SERVER["PATH_TRANSLATED"] => _SERVER["TEXINPUTS"] => :/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX _SERVER["HOME"] => /root _SERVER["SHLVL"] => 3 _SERVER["CONTENT_LENGTH"] => _SERVER["LESS_ADVANCED_PREPROCESSOR"] => no _SERVER["OSTYPE"] => linux _SERVER["LS_OPTIONS"] => -a -N --color=tty -T 0 _SERVER["no_proxy"] => localhost _SERVER["RC_LC_COLLATE"] => POSIX _SERVER["WINDOWMANAGER"] => /usr/X11R6/bin/kde _SERVER["LESS"] => -M -I _SERVER["LOGNAME"] => root _SERVER["MACHTYPE"] => i686-suse-linux _SERVER["QUERY_STRING"] => _SERVER["RC_LANG"] => de_DE@euro _SERVER["PRINTER"] => lp _SERVER["LC_CTYPE"] => de_DE@euro _SERVER["CLASSPATH"] => /opt/oracle/product/9ir2/JRE:/opt/oracle/product/9ir2/jlib:/opt/oracle/product/9ir2/rdbms/jlib:/opt/oracle/product/9ir2/network/jlib _SERVER["LESSOPEN"] => lessopen.sh %s _SERVER["INFOPATH"] => /usr/local/info:/usr/share/info:/usr/info _SERVER["CONTENT_TYPE"] => _SERVER["DISPLAY"] => 195.4.13.221:0.0 _SERVER["ORA_NLS33"] => /opt/oracle/product/9ir2/ocommon/nls/admin/data _SERVER["CC"] => gcc _SERVER["ORACLE_HOME"] => /opt/oracle/product/9ir2 _SERVER["REQUEST_METHOD"] => _SERVER["LESSCLOSE"] => lessclose.sh %s %s _SERVER["JAVA_ROOT"] => /usr/lib/java _SERVER["COLORTERM"] => 1 _SERVER["mc"] => () { mkdir -p $HOME/.mc/tmp 2>/dev/null; chmod 700 $HOME/.mc/tmp; MC=$HOME/.mc/tmp/mc-$$; /usr/bin/mc -P "$@" >"$MC"; cd "cat $MC"; rm -f "$MC"; unset MC } _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 (#18308) next »