Test results for 4.3.7RC1 [failed]

From: Date: Sat, 29 May 2004 08:47:25 +0000
Subject: Test results for 4.3.7RC1 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-17772@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_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 : 49 Exts tested : 39 --------------------------------------------------------------------- Number of tests : 596 Tests skipped : 115 (19.3%) Tests warned : 0 ( 0.0%) Tests failed : 11 (1.8%) Tests passed : 470 (78.9%) --------------------------------------------------------------------- Time taken : 438 seconds ===================================================================== ================================================================================ /data/src/php-4.3.7RC1/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+ ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/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 ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/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 ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/tests/lang/bug27731.phpt ================================================================================ ---- EXPECTED OUTPUT int(2) ---- ACTUAL OUTPUT int(2039) ---- FAILED ================================================================================ 001- int(2) 001+ int(2039) ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/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 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 18 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 26 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 35 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 44 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 53 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 57 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+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 002- 10.abc.field2 contains single quote.3 002+ in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 18 003- 20.cba.field2 contains double quote.3 003+ 004- 30.bac.field2 contains >4k text.4591 004+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 005- 40.100.field2 contains >64k text.70051 005+ in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 26 006- 50.20.empty fields.0 006+ 007- 60.20.empty fields.0 007+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 008- changed_value 008+ in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 35 009- insert-query: dbx_query works ok 009+ 010- 999999.temporary_record.0 010+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 011- update-query: dbx_query works ok 011+ in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 44 012- 999999.temporary_record.11 012+ 013- delete-query: dbx_query works ok 013+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 014- column name lowercased: id.1.root 014+ in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 53 015- column name uppercased: ID.1.root 015+ 016- wrong dbx_link_object: query failure works ok 016+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 017- wrong sql-statement: query failure works ok 017+ in /data/src/php-4.3.7RC1/ext/dbx/tests/005.php on line 57 018- too many parameters: query failure works ok 018+ wrong dbx_link_object: query failure works ok 019- too few parameters: query failure works ok 019+ wrong sql-statement: query failure works ok 020+ too many parameters: query failure works ok 021+ too few parameters: query failure works ok ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/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 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/007.php on line 20 this won't work Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/007.php on line 27 wrong dbx_result_object: dbx_sort failure works ok Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/007.php on line 35 Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/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+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 002- 20.cba 002+ in /data/src/php-4.3.7RC1/ext/dbx/tests/007.php on line 20 003- 30.bac 003+ this won't work 004- 40.100 004+ 005- 50.20 005+ Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/007.php on line 27 006- 60.20 006+ wrong dbx_result_object: dbx_sort failure works ok 007- 40.100 007+ 008- 50.20 008+ Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/007.php on line 35 009- 60.20 009+ 010- 10.abc 010+ Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/007.php on line 38 011- 30.bac 011+ too many parameters: dbx_sort failure works ok 012- 20.cba 012+ too few parameters: dbx_sort failure works ok 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 ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/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 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 45 this won't work Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 52 Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 57 Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 62 Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 67 Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 72 Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/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+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 002- 20.cba 002+ in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 45 003- 30.bac 003+ this won't work 004- 40.100 004+ 005- 50.20 005+ Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 52 006- 60.20 006+ 007- 40.100 007+ Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 57 008- 50.20 008+ 009- 60.20 009+ Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 62 010- 10.abc 010+ 011- 30.bac 011+ Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 67 012- 20.cba 012+ 013- 20.cba 013+ Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 72 014- 30.bac 014+ 015- 10.abc 015+ Warning: Wrong argument type for sort in /data/src/php-4.3.7RC1/ext/dbx/tests/008.php on line 77 016- 50.20 016+ wrong parameters: dbx_compare failure works ok 017- 60.20 017+ too many parameters: dbx_compare failure works ok 018- 40.100 018+ too few parameters: dbx_compare failure works ok 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 ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/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 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 13 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 33 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+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 002- ok: quote ' string 002+ in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 13 003- ok: doublequote " string 003+ 004- ok: backslash \ string 004+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 005- ok: backslash and quote \ ' string 005+ in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 006- ok: ampersand & string 006+ 007- wrong dbx_link_object: escape_string failure works ok 007+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 008- too many parameters: escape_string failure works ok 008+ in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 009- too few parameters: escape_string failure works ok 009+ 010+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 011+ in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 012+ 013+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 014+ in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 015+ 016+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 017+ in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 018+ 019+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 020+ in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 20 021+ 022+ Warning: ociexecute(): OCIStmtExecute: ORA-00942: Tabelle oder View nicht vorhanden 023+ in /data/src/php-4.3.7RC1/ext/dbx/tests/009.php on line 33 024+ wrong dbx_link_object: escape_string failure works ok 025+ too many parameters: escape_string failure works ok 026+ too few parameters: escape_string failure works ok ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/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"]=> ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/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"]=> ================================================================================ ================================================================================ /data/src/php-4.3.7RC1/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 ebola 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 (0x40031000) libmcal.so => /usr/lib/libmcal.so (0x40063000) libmm.so.12 => /usr/lib/libmm.so.12 (0x40074000) librecode.so.0 => /usr/lib/librecode.so.0 (0x40078000) libhistory.so.4 => /lib/libhistory.so.4 (0x401b1000) libreadline.so.4 => /lib/libreadline.so.4 (0x401b8000) libncurses.so.5 => /lib/libncurses.so.5 (0x401e4000) libpdf.so.2 => /usr/local/lib/libpdf.so.2 (0x40227000) libm.so.6 => /lib/libm.so.6 (0x402ff000) libz.so.1 => /lib/libz.so.1 (0x40323000) libpng.so.3 => /usr/lib/libpng.so.3 (0x40332000) libpanel.so.5 => /usr/lib/libpanel.so.5 (0x4035f000) libmysqlclient.so.12 => /opt/mysql4/lib/mysql/libmysqlclient.so.12 (0x40363000) libnsl.so.1 => /lib/libnsl.so.1 (0x40388000) libmhash.so.2 => /usr/lib/libmhash.so.2 (0x4039d000) libmcrypt.so.4 => /usr/local/lib/libmcrypt.so.4 (0x403bf000) libltdl.so.3 => /usr/lib/libltdl.so.3 (0x403fa000) libdl.so.2 => /lib/libdl.so.2 (0x40402000) libgmp.so.3 => /usr/lib/libgmp.so.3 (0x40405000) libt1.so.5 => /usr/lib/libt1.so.5 (0x40431000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40495000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x404d7000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x405cf000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x405de000) libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x405fc000) libdb-4.0.so => /usr/lib/libdb-4.0.so (0x40604000) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x406aa000) libssl.so.0.9.7 => /opt/openssl/lib/libssl.so.0.9.7 (0x406b9000) libcrypto.so.0.9.7 => /opt/openssl/lib/libcrypto.so.0.9.7 (0x406e8000) libresolv.so.2 => /lib/libresolv.so.2 (0x407dc000) libxml2.so.2 => /opt/libxml2/lib/libxml2.so.2 (0x407ee000) libpthread.so.0 => /lib/libpthread.so.0 (0x4091b000) libclntsh.so.9.0 => /data/oracle/product/9iR2/lib/libclntsh.so.9.0 (0x40931000) libc.so.6 => /lib/libc.so.6 (0x41303000) libwtc9.so => /data/oracle/product/9iR2/lib/libwtc9.so (0x41423000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: webmaster at f1-timer dot de ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.7RC1 System => Linux ebola 2.4.21-215-default #1 Tue Apr 27 14:55:35 UTC 2004 i686 Build Date => May 29 2004 10:29:42 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-pdflib=/usr/local' '--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' '--enable-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' '--with-dom=/opt/libxml2' '--enable-exif' '--with-mm=/usr' '--enable-mbstring' '--enable-mbregex' '--enable-mime-magic' '--enable-dbx' '--enable-dio' '--with-mcrypt=/usr/local' '--with-tsrm-! pthreads' '--with-readline' '--with-ncurses' '--enable-dba' '--with-mhash=/usr' '--with-gdbm=/usr' '--with-dbm=/usr' '--with-db4=/usr' '--with-inifile' '--with-flatfile' '--with-recode' '--with-iconv' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /opt/apache2/conf/php4.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 => /phpmanual/ => /phpmanual/ enable_dl => On => On error_append_string => no value => no value error_log => /opt/apache2/logs/php_errors.log => /opt/apache2/logs/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 => .:/html/PEAR => .:/html/PEAR 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 ctype ctype functions => enabled dba DBA support => enabled Supported handlers => gdbm dbm cdb cdb_make db4 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 => unchanged => unchanged 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 gmp gmp support => enabled iconv iconv support => enabled iconv implementation => glibc iconv library version => 2.2.5 Directive => Local Value => Master Value iconv.input_encoding => ISO-8859-1 => ISO-8859-1 iconv.internal_encoding => ISO-8859-1 => ISO-8859-1 iconv.output_encoding => ISO-8859-1 => ISO-8859-1 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 mhash MHASH support => Enabled MHASH API Version => 20020524 mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 4.0.20 MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /var/lib/mysql/mysql.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 ncurses ncurses support => enabled ncurses library version => 5.2 color support => yes oci8 OCI8 Support => enabled Revision => $Revision: 1.183.2.12 $ Oracle Version => 9.2 Compile-time ORACLE_HOME => /data/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.3 Revision => $Revision: 1.112.2.9 $ posix Revision => $Revision: 1.51.2.2 $ recode Recode Support => enabled Revision => $Revision: 1.29.2.1 $ 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 => /wdstore/cache => /wdstore/cache 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:/usr/share/man/allman:/usr/openwin/man INFODIR => /usr/local/info:/usr/share/info:/usr/info NNTPSERVER => news.t-online.de HOSTNAME => ebola TEST_PHP_SRCDIR => /usr/src/php-4.3.7RC1 XKEYSYMDB => /usr/X11R6/lib/X11/XKeysymDB ORGANIZATION => IN-Ovation Software TERM => xterm SHELL => /bin/sh HOST => ebola PROFILEREAD => true MAKEFLAGS => SSH_CLIENT => 192.168.255.6 2148 22 NLS_LANG => german GNOME_PATH => :/opt/gnome:/usr QTDIR => /usr/lib/qt3 SSH_TTY => /dev/pts/0 JRE_HOME => /usr/lib/java 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 => /data/oracle/product/9iR2/lib:/data/oracle/product/9iR2/ctx/lib SCRIPT_FILENAME => OPENWINHOME => /usr/openwin ORACLE_SID => ORACLE XNLSPATH => /usr/X11R6/lib/X11/nls ORACLE_BASE => /data/oracle HOSTTYPE => i386 FROM_HEADER => in-ovation.de 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/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/opt/kde/bin:/usr/lib/java/bin:/opt/gnome/bin:/data/oracle/product/9iR2/bin:/data/oracle/product/9iR2/bin:/opt/mysql4/bin:/opt/apache2/bin GNOMEDIR => /opt/gnome TNS_ADMIN => /data/oracle/product/9iR2/network/admin MAIL => /var/mail/root CPU => i686 _ => /usr/src/php-4.3.7RC1/sapi/cli/php PWD => /data/src/php-4.3.7RC1 INPUTRC => /etc/inputrc TEST_PHP_EXECUTABLE => /usr/src/php-4.3.7RC1/sapi/cli/php REDIRECT_STATUS => PATH_TRANSLATED => TEXINPUTS => :/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX HOME => /root SHLVL => 3 JDK_HOME => /usr/lib/java CONTENT_LENGTH => LESS_ADVANCED_PREPROCESSOR => no OSTYPE => linux LD_ASSUME_KERNEL => 2.2.5 LS_OPTIONS => -a -N --color=tty -T 0 no_proxy => localhost RC_LC_COLLATE => POSIX WINDOWMANAGER => /usr/X11R6/bin/kde OPERADIR => /usr/share/opera LESS => -M -I LOGNAME => root MACHTYPE => i686-suse-linux QUERY_STRING => RC_LANG => de_DE@euro PRINTER => lp LC_CTYPE => de_DE@euro CLASSPATH => /data/oracle/product/9iR2/JRE:/data/oracle/product/9iR2/jlib:/data/oracle/product/9iR2/rdbms/jlib:/data/oracle/product/9iR2/network/jlib LESSOPEN => lessopen.sh %s INFOPATH => /usr/local/info:/usr/share/info:/usr/info CONTENT_TYPE => ORA_NLS33 => /data/oracle/product/9iR2/ocommon/nls/admin/data CC => gcc ORACLE_HOME => /data/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:/usr/share/man/allman:/usr/openwin/man _SERVER["INFODIR"] => /usr/local/info:/usr/share/info:/usr/info _SERVER["NNTPSERVER"] => news.t-online.de _SERVER["HOSTNAME"] => ebola _SERVER["TEST_PHP_SRCDIR"] => /usr/src/php-4.3.7RC1 _SERVER["XKEYSYMDB"] => /usr/X11R6/lib/X11/XKeysymDB _SERVER["ORGANIZATION"] => IN-Ovation Software _SERVER["TERM"] => xterm _SERVER["SHELL"] => /bin/sh _SERVER["HOST"] => ebola _SERVER["PROFILEREAD"] => true _SERVER["MAKEFLAGS"] => _SERVER["SSH_CLIENT"] => 192.168.255.6 2148 22 _SERVER["NLS_LANG"] => german _SERVER["GNOME_PATH"] => :/opt/gnome:/usr _SERVER["QTDIR"] => /usr/lib/qt3 _SERVER["SSH_TTY"] => /dev/pts/0 _SERVER["JRE_HOME"] => /usr/lib/java _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"] => /data/oracle/product/9iR2/lib:/data/oracle/product/9iR2/ctx/lib _SERVER["SCRIPT_FILENAME"] => _SERVER["OPENWINHOME"] => /usr/openwin _SERVER["ORACLE_SID"] => ORACLE _SERVER["XNLSPATH"] => /usr/X11R6/lib/X11/nls _SERVER["ORACLE_BASE"] => /data/oracle _SERVER["HOSTTYPE"] => i386 _SERVER["FROM_HEADER"] => in-ovation.de _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/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/opt/kde/bin:/usr/lib/java/bin:/opt/gnome/bin:/data/oracle/product/9iR2/bin:/data/oracle/product/9iR2/bin:/opt/mysql4/bin:/opt/apache2/bin _SERVER["GNOMEDIR"] => /opt/gnome _SERVER["TNS_ADMIN"] => /data/oracle/product/9iR2/network/admin _SERVER["MAIL"] => /var/mail/root _SERVER["CPU"] => i686 _SERVER["_"] => /usr/src/php-4.3.7RC1/sapi/cli/php _SERVER["PWD"] => /data/src/php-4.3.7RC1 _SERVER["INPUTRC"] => /etc/inputrc _SERVER["TEST_PHP_EXECUTABLE"] => /usr/src/php-4.3.7RC1/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["JDK_HOME"] => /usr/lib/java _SERVER["CONTENT_LENGTH"] => _SERVER["LESS_ADVANCED_PREPROCESSOR"] => no _SERVER["OSTYPE"] => linux _SERVER["LD_ASSUME_KERNEL"] => 2.2.5 _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["OPERADIR"] => /usr/share/opera _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"] => /data/oracle/product/9iR2/JRE:/data/oracle/product/9iR2/jlib:/data/oracle/product/9iR2/rdbms/jlib:/data/oracle/product/9iR2/network/jlib _SERVER["LESSOPEN"] => lessopen.sh %s _SERVER["INFOPATH"] => /usr/local/info:/usr/share/info:/usr/info _SERVER["CONTENT_TYPE"] => _SERVER["ORA_NLS33"] => /data/oracle/product/9iR2/ocommon/nls/admin/data _SERVER["CC"] => gcc _SERVER["ORACLE_HOME"] => /data/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 (#17772) next »