Test results for 4.3.8 [failed]
| From: | noreply@php.net | Date: | Wed, 14 Jul 2004 19:58:00 +0000 |
| Subject: | Test results for 4.3.8 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-19263@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Locale settings affecting float parsing [tests/lang/034.phpt]
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]
Bug #27819 (problems returning reference to a reference parameter) [tests/lang/bug27819.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]
microtime() function [ext/standard/tests/time/001.phpt] (warn: system dependent)
Bug #27719: mktime returns incorrect timestamp for dst days [ext/standard/tests/time/bug27719.phpt]
Bug #27780 (strtotime(+1 xxx) returns a wrong date/time) [ext/standard/tests/time/bug27780.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 62
Exts tested : 27
---------------------------------------------------------------------
Number of tests : 596
Tests skipped : 177 (29.7%)
Tests warned : 1 ( 0.2%)
Tests failed : 11 (1.8%)
Tests passed : 407 (68.3%)
---------------------------------------------------------------------
Time taken : 270 seconds
=====================================================================
================================================================================
/usr/local/src/php/php-4.3.8/tests/lang/034.phpt
================================================================================
---- EXPECTED OUTPUT
3,14
---- ACTUAL OUTPUT
3.14
---- FAILED
================================================================================
001- 3,14
001+ 3.14
================================================================================
================================================================================
/usr/local/src/php/php-4.3.8/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/local/src/php/php-4.3.8/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/local/src/php/php-4.3.8/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/local/src/php/php-4.3.8/tests/lang/bug27731.phpt
================================================================================
---- EXPECTED OUTPUT
int(2)
---- ACTUAL OUTPUT
int(2039)
---- FAILED
================================================================================
001- int(2)
001+ int(2039)
================================================================================
================================================================================
/usr/local/src/php/php-4.3.8/tests/lang/bug27819.phpt
================================================================================
---- EXPECTED OUTPUT
6
7
---- ACTUAL OUTPUT
6
7
*** malloc[9648]: error for object 0x16654c0: Double free
---- FAILED
================================================================================
003+ *** malloc[9648]: error for object 0x16654c0: Double free
================================================================================
================================================================================
/usr/local/src/php/php-4.3.8/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/local/src/php/php-4.3.8/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/local/src/php/php-4.3.8/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"
================================================================================
================================================================================
/usr/local/src/php/php-4.3.8/ext/standard/tests/time/001.phpt (warn: system dependent)
================================================================================
---- EXPECTED OUTPUT
Passed: 100000
Failed: 0
---- ACTUAL OUTPUT
Passed: 99996
Failed: 4
022765: 1089834863 0.58520600 < 1089834863 0.58520600
088181: 1089834865 0.57484100 < 1089834865 0.57484100
088473: 1089834865 0.58480100 < 1089834865 0.58480100
088798: 1089834865 0.59476000 < 1089834865 0.59476000
---- FAILED
================================================================================
001- Passed: 100000
001+ Passed: 99996
002- Failed: 0
002+ Failed: 4
003+ 022765: 1089834863 0.58520600 < 1089834863 0.58520600
004+ 088181: 1089834865 0.57484100 < 1089834865 0.57484100
005+ 088473: 1089834865 0.58480100 < 1089834865 0.58480100
006+ 088798: 1089834865 0.59476000 < 1089834865 0.59476000
================================================================================
================================================================================
/usr/local/src/php/php-4.3.8/ext/standard/tests/time/bug27719.phpt
================================================================================
---- EXPECTED OUTPUT
1081054800 04/04/04 12:00:00
%s
1081054800 04/04/04 12:00:00
1075870800 02/04/04 12:00:00
1075867200 02/03/04 11:00:00
1075870800 02/04/04 12:00:00
1081054800 04/04/04 12:00:00
1081051200 04/03/04 11:00:00
1081054800 04/04/04 12:00:00
1081065600 04/04/04 04:00:00
1081062000 04/04/04 03:00:00
1081062000 04/04/04 03:00:00
1086325200 06/04/04 01:00:00
1086321600 06/04/04 12:00:00
1086321600 06/04/04 12:00:00
---- ACTUAL OUTPUT
1081054800 04/04/04 12:00:00
1081051200 04/03/04 11:00:00
1081054800 04/04/04 12:00:00
1075852800 02/04/04 12:00:00
-14462 12/31/69 07:58:58
1075852800 02/04/04 12:00:00
1081036800 04/04/04 12:00:00
-14462 12/31/69 07:58:58
1081036800 04/04/04 12:00:00
1081047600 04/04/04 03:00:00
-3662 12/31/69 10:58:58
1081047600 04/04/04 03:00:00
1086307200 06/04/04 12:00:00
-14462 12/31/69 07:58:58
1086307200 06/04/04 12:00:00
---- FAILED
================================================================================
002- %s
002+ 1081051200 04/03/04 11:00:00
005- 1075870800 02/04/04 12:00:00
005+ 1075852800 02/04/04 12:00:00
006- 1075867200 02/03/04 11:00:00
006+ -14462 12/31/69 07:58:58
007- 1075870800 02/04/04 12:00:00
007+ 1075852800 02/04/04 12:00:00
009- 1081054800 04/04/04 12:00:00
009+ 1081036800 04/04/04 12:00:00
010- 1081051200 04/03/04 11:00:00
010+ -14462 12/31/69 07:58:58
011- 1081054800 04/04/04 12:00:00
011+ 1081036800 04/04/04 12:00:00
013- 1081065600 04/04/04 04:00:00
013+ 1081047600 04/04/04 03:00:00
014- 1081062000 04/04/04 03:00:00
014+ -3662 12/31/69 10:58:58
015- 1081062000 04/04/04 03:00:00
015+ 1081047600 04/04/04 03:00:00
017- 1086325200 06/04/04 01:00:00
017+ 1086307200 06/04/04 12:00:00
018- 1086321600 06/04/04 12:00:00
018+ -14462 12/31/69 07:58:58
019- 1086321600 06/04/04 12:00:00
019+ 1086307200 06/04/04 12:00:00
================================================================================
================================================================================
/usr/local/src/php/php-4.3.8/ext/standard/tests/time/bug27780.phpt
================================================================================
---- EXPECTED OUTPUT
America/Chicago
1076824799 [2004-02-14 23:59:59 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076824800 [2004-02-15 00:00:00 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076824801 [2004-02-15 00:00:01 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079503200 [2004-03-17 00:00:00 CST] [2004-04-07 00:00:00 -21 days]
1080367200 [2004-03-27 00:00:00 CST] [2004-04-07 00:00:00 11 days ago]
1080460800 [2004-03-28 02:00:00 CST] [2004-04-07 00:00:00 -10 day +2 hours]
1081227600 [2004-04-06 00:00:00 CDT] [2004-04-07 00:00:00 -1 day]
1081314000 [2004-04-07 00:00:00 CDT] [2004-04-07 00:00:00]
1081317600 [2004-04-07 01:00:00 CDT] [2004-04-07 00:00:00 +1 hour]
1081321200 [2004-04-07 02:00:00 CDT] [2004-04-07 00:00:00 +2 hour]
1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 +1 day]
1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 1 day]
1083128400 [2004-04-28 00:00:00 CDT] [2004-04-07 00:00:00 +21 days]
Europe/Amsterdam
1076799599 [2004-02-14 23:59:59 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076799600 [2004-02-15 00:00:00 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076799601 [2004-02-15 00:00:01 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079478000 [2004-03-17 00:00:00 CET] [2004-04-07 00:00:00 -21 days]
1080342000 [2004-03-27 00:00:00 CET] [2004-04-07 00:00:00 11 days ago]
1080435600 [2004-03-28 03:00:00 CEST] [2004-04-07 00:00:00 -10 day +2 hours]
1081202400 [2004-04-06 00:00:00 CEST] [2004-04-07 00:00:00 -1 day]
1081288800 [2004-04-07 00:00:00 CEST] [2004-04-07 00:00:00]
1081292400 [2004-04-07 01:00:00 CEST] [2004-04-07 00:00:00 +1 hour]
1081296000 [2004-04-07 02:00:00 CEST] [2004-04-07 00:00:00 +2 hour]
1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 +1 day]
1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 1 day]
1083103200 [2004-04-28 00:00:00 CEST] [2004-04-07 00:00:00 +21 days]
Asia/Jerusalem
1076795999 [2004-02-14 23:59:59 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076796000 [2004-02-15 00:00:00 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076796001 [2004-02-15 00:00:01 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079474400 [2004-03-17 00:00:00 IST] [2004-04-07 00:00:00 -21 days]
1080338400 [2004-03-27 00:00:00 IST] [2004-04-07 00:00:00 11 days ago]
1080432000 [2004-03-28 02:00:00 IST] [2004-04-07 00:00:00 -10 day +2 hours]
1081202400 [2004-04-06 00:00:00 IST] [2004-04-07 00:00:00 -1 day]
1081288800 [2004-04-07 00:00:00 IST] [2004-04-07 00:00:00]
1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +1 hour]
1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +2 hour]
1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 +1 day]
1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 1 day]
1083099600 [2004-04-28 00:00:00 IDT] [2004-04-07 00:00:00 +21 days]
Asia/Singapore
1076774399 [2004-02-14 23:59:59 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076774400 [2004-02-15 00:00:00 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076774401 [2004-02-15 00:00:01 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079452800 [2004-03-17 00:00:00 SGT] [2004-04-07 00:00:00 -21 days]
1080316800 [2004-03-27 00:00:00 SGT] [2004-04-07 00:00:00 11 days ago]
1080410400 [2004-03-28 02:00:00 SGT] [2004-04-07 00:00:00 -10 day +2 hours]
1081180800 [2004-04-06 00:00:00 SGT] [2004-04-07 00:00:00 -1 day]
1081267200 [2004-04-07 00:00:00 SGT] [2004-04-07 00:00:00]
1081270800 [2004-04-07 01:00:00 SGT] [2004-04-07 00:00:00 +1 hour]
1081274400 [2004-04-07 02:00:00 SGT] [2004-04-07 00:00:00 +2 hour]
1081353600 [2004-04-08 00:00:00 SGT] [2004-04-07 00:00:00 +1 day]
1081353600 [2004-04-08 00:00:00 SGT] [2004-04-07 00:00:00 1 day]
1083081600 [2004-04-28 00:00:00 SGT] [2004-04-07 00:00:00 +21 days]
America/Sao_Paulo
1076810399 [2004-02-14 23:59:59 BRST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076810400 [2004-02-14 23:00:00 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076810401 [2004-02-14 23:00:01 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079492400 [2004-03-17 00:00:00 BRT] [2004-04-07 00:00:00 -21 days]
1080356400 [2004-03-27 00:00:00 BRT] [2004-04-07 00:00:00 11 days ago]
1080450000 [2004-03-28 02:00:00 BRT] [2004-04-07 00:00:00 -10 day +2 hours]
1081220400 [2004-04-06 00:00:00 BRT] [2004-04-07 00:00:00 -1 day]
1081306800 [2004-04-07 00:00:00 BRT] [2004-04-07 00:00:00]
1081310400 [2004-04-07 01:00:00 BRT] [2004-04-07 00:00:00 +1 hour]
1081314000 [2004-04-07 02:00:00 BRT] [2004-04-07 00:00:00 +2 hour]
1081393200 [2004-04-08 00:00:00 BRT] [2004-04-07 00:00:00 +1 day]
1081393200 [2004-04-08 00:00:00 BRT] [2004-04-07 00:00:00 1 day]
1083121200 [2004-04-28 00:00:00 BRT] [2004-04-07 00:00:00 +21 days]
---- ACTUAL OUTPUT
America/Chicago
1076824799 [2004-02-14 23:59:59 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076824800 [2004-02-15 00:00:00 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076824801 [2004-02-15 00:00:01 CST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079503200 [2004-03-17 00:00:00 CST] [2004-04-07 00:00:00 -21 days]
1080367200 [2004-03-27 00:00:00 CST] [2004-04-07 00:00:00 11 days ago]
1080460800 [2004-03-28 02:00:00 CST] [2004-04-07 00:00:00 -10 day +2 hours]
1081227600 [2004-04-06 00:00:00 CDT] [2004-04-07 00:00:00 -1 day]
1081314000 [2004-04-07 00:00:00 CDT] [2004-04-07 00:00:00]
1081317600 [2004-04-07 01:00:00 CDT] [2004-04-07 00:00:00 +1 hour]
1081321200 [2004-04-07 02:00:00 CDT] [2004-04-07 00:00:00 +2 hour]
1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 +1 day]
1081400400 [2004-04-08 00:00:00 CDT] [2004-04-07 00:00:00 1 day]
1083128400 [2004-04-28 00:00:00 CDT] [2004-04-07 00:00:00 +21 days]
Europe/Amsterdam
1076799599 [2004-02-14 23:59:59 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076799600 [2004-02-15 00:00:00 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076799601 [2004-02-15 00:00:01 CET] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079478000 [2004-03-17 00:00:00 CET] [2004-04-07 00:00:00 -21 days]
1080342000 [2004-03-27 00:00:00 CET] [2004-04-07 00:00:00 11 days ago]
-1 [1970-01-01 00:59:59 CET] [2004-04-07 00:00:00 -10 day +2 hours]
1081202400 [2004-04-06 00:00:00 CEST] [2004-04-07 00:00:00 -1 day]
1081288800 [2004-04-07 00:00:00 CEST] [2004-04-07 00:00:00]
1081292400 [2004-04-07 01:00:00 CEST] [2004-04-07 00:00:00 +1 hour]
1081296000 [2004-04-07 02:00:00 CEST] [2004-04-07 00:00:00 +2 hour]
1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 +1 day]
1081375200 [2004-04-08 00:00:00 CEST] [2004-04-07 00:00:00 1 day]
1083103200 [2004-04-28 00:00:00 CEST] [2004-04-07 00:00:00 +21 days]
Asia/Jerusalem
1076795999 [2004-02-14 23:59:59 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076796000 [2004-02-15 00:00:00 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076796001 [2004-02-15 00:00:01 IST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079474400 [2004-03-17 00:00:00 IST] [2004-04-07 00:00:00 -21 days]
1080338400 [2004-03-27 00:00:00 IST] [2004-04-07 00:00:00 11 days ago]
1080432000 [2004-03-28 02:00:00 IST] [2004-04-07 00:00:00 -10 day +2 hours]
1081202400 [2004-04-06 00:00:00 IST] [2004-04-07 00:00:00 -1 day]
1081288800 [2004-04-07 00:00:00 IST] [2004-04-07 00:00:00]
-1 [1970-01-01 01:59:59 IST] [2004-04-07 00:00:00 +1 hour]
1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +2 hour]
1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 +1 day]
1081371600 [2004-04-08 00:00:00 IDT] [2004-04-07 00:00:00 1 day]
1083099600 [2004-04-28 00:00:00 IDT] [2004-04-07 00:00:00 +21 days]
Asia/Singapore
1076774399 [2004-02-14 23:59:59 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076774400 [2004-02-15 00:00:00 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076774401 [2004-02-15 00:00:01 SGT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079452800 [2004-03-17 00:00:00 SGT] [2004-04-07 00:00:00 -21 days]
1080316800 [2004-03-27 00:00:00 SGT] [2004-04-07 00:00:00 11 days ago]
1080410400 [2004-03-28 02:00:00 SGT] [2004-04-07 00:00:00 -10 day +2 hours]
1081180800 [2004-04-06 00:00:00 SGT] [2004-04-07 00:00:00 -1 day]
1081267200 [2004-04-07 00:00:00 SGT] [2004-04-07 00:00:00]
1081270800 [2004-04-07 01:00:00 SGT] [2004-04-07 00:00:00 +1 hour]
1081274400 [2004-04-07 02:00:00 SGT] [2004-04-07 00:00:00 +2 hour]
1081353600 [2004-04-08 00:00:00 SGT] [2004-04-07 00:00:00 +1 day]
1081353600 [2004-04-08 00:00:00 SGT] [2004-04-07 00:00:00 1 day]
1083081600 [2004-04-28 00:00:00 SGT] [2004-04-07 00:00:00 +21 days]
America/Sao_Paulo
1076813999 [2004-02-14 23:59:59 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+59 seconds]
1076814000 [2004-02-15 00:00:00 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+60 seconds]
1076814001 [2004-02-15 00:00:01 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59 minutes
+61 seconds]
1079492400 [2004-03-17 00:00:00 BRT] [2004-04-07 00:00:00 -21 days]
1080356400 [2004-03-27 00:00:00 BRT] [2004-04-07 00:00:00 11 days ago]
1080450000 [2004-03-28 02:00:00 BRT] [2004-04-07 00:00:00 -10 day +2 hours]
1081220400 [2004-04-06 00:00:00 BRT] [2004-04-07 00:00:00 -1 day]
1081306800 [2004-04-07 00:00:00 BRT] [2004-04-07 00:00:00]
1081310400 [2004-04-07 01:00:00 BRT] [2004-04-07 00:00:00 +1 hour]
1081314000 [2004-04-07 02:00:00 BRT] [2004-04-07 00:00:00 +2 hour]
1081393200 [2004-04-08 00:00:00 BRT] [2004-04-07 00:00:00 +1 day]
1081393200 [2004-04-08 00:00:00 BRT] [2004-04-07 00:00:00 1 day]
1083121200 [2004-04-28 00:00:00 BRT] [2004-04-07 00:00:00 +21 days]
---- FAILED
================================================================================
022- 1080435600 [2004-03-28 03:00:00 CEST] [2004-04-07 00:00:00 -10 day +2 hours]
022+ -1 [1970-01-01 00:59:59 CET] [2004-04-07 00:00:00 -10 day +2 hours]
040- 1081292400 [2004-04-07 02:00:00 IDT] [2004-04-07 00:00:00 +1 hour]
040+ -1 [1970-01-01 01:59:59 IST] [2004-04-07 00:00:00 +1 hour]
062- 1076810399 [2004-02-14 23:59:59 BRST] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59
minutes +59 seconds]
062+ 1076813999 [2004-02-14 23:59:59 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59
minutes +59 seconds]
063- 1076810400 [2004-02-14 23:00:00 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59
minutes +60 seconds]
063+ 1076814000 [2004-02-15 00:00:00 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59
minutes +60 seconds]
064- 1076810401 [2004-02-14 23:00:01 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59
minutes +61 seconds]
064+ 1076814001 [2004-02-15 00:00:01 BRT] [2004-04-07 00:00:00 -2 months +7 days +23 hours +59
minutes +61 seconds]
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
Darwin - Darwin kanga.73greencows.com 7.4.0 Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 PDT
2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC Power Macintosh
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.57
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/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
Bison:
GNU Bison version 1.28
Libraries:
User's E-mail: zend dot user at albin dot net
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 4.3.8
System => Darwin kanga.73greencows.com 7.4.0 Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 PDT
2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC Power Macintosh
Build Date => Jul 14 2004 12:28:15
Configure Command => './configure' '--prefix=/usr'
'--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--sysconfdir=/etc' '--localstatedir=/var' '--with-apxs'
'--disable-cgi' '--with-config-file-path=/etc' '--with-openssl=/usr'
'--with-zlib-dir=/usr' '--with-curl=/usr' '--enable-dbx'
'--enable-exif' '--enable-ftp' '--with-gd=/usr/local'
'--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
'--with-freetype-dir=/usr/local' '--with-iconv=/usr'
'--enable-mbstring' '--with-imap=/usr/local/imap'
'--with-kerberos=/usr' '--with-imap-ssl=/usr' '--with-iodbc=/usr'
'--with-ldap=/usr' '--with-mcrypt=/usr/local'
'--with-mhash=/usr/local' '--with-mysql=/usr'
'--with-pspell=/usr/local' '--enable-sockets'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/Zend/etc/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.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.2, Copyright (c) 2003-2004, by Zend Technologies
with Zend Optimizer v2.5.2, Copyright (c) 1998-2004, by Zend Technologies
with Zend Debugger v3.5.0, Copyright (c) 1999-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 => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
error_append_string => no value => no value
error_log => /var/log/httpd/php/error_log => /var/log/httpd/php/error_log
error_prepend_string => no value => no value
error_reporting => 2047 => 2047
expose_php => On => On
extension_dir => ./ => ./
file_uploads => On => On
gpc_order => GPC => GPC
highlight.bg => #FFFFFF => #FFFFFF
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => Off => Off
ignore_repeated_errors => On => On
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => Off
include_path => .:/usr/lib/php:/Library/WebServer/BearAffection/includes =>
.:/usr/lib/php:/Library/WebServer/BearAffection/includes
log_errors => On => On
log_errors_max_len => 102400 => 102400
magic_quotes_gpc => Off => Off
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
max_execution_time => 0 => 30
max_input_time => 60 => 60
open_basedir => no value => no value
output_buffering => 0 => 1
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 => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
Zend Debugger
Expose Zend Debugger => always
Passive Mode Timeout => 20 seconds
Directive => Local Value => Master Value
zend_debugger.allow_hosts => 127.0.0.1/32,192.168.1.0/24 => 127.0.0.1/32,192.168.1.0/24
zend_debugger.connect_password => no value => no value
zend_debugger.deny_hosts => no value => no value
Zend Optimizer
Optimization Pass 1 => enabled
Optimization Pass 2 => enabled
Optimization Pass 3 => enabled
Optimization Pass 4 => enabled
Optimization Pass 9 => disabled
Zend Loader => enabled
License Path =>
ctype
ctype functions => enabled
curl
CURL support => enabled
CURL Information => libcurl/7.10.2 OpenSSL/0.9.7b 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 => lowercase => lowercase
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 => 2.0 or higher
FreeType Support => enabled
FreeType Linkage => with freetype
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
iconv
iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.9
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
imap
IMAP c-Client Version => 2000
SSL Support => enabled
Kerberos Support => enabled
ldap
LDAP Support => enabled
RCS Version => $Id: ldap.c,v 1.130.2.10 2004/06/01 21:05:33 iliaa Exp $
Total Links => 0/unlimited
API Version => 2004
Vendor Name => OpenLDAP
Vendor Version => 20122
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
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 => /tmp/mysql.sock
MYSQL_INCLUDE => -I/usr/include/mysql
MYSQL_LIBS => -L/usr/lib -lmysqlclient
Directive => Local Value => Master Value
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
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
odbc
ODBC Support => enabled
Active Persistent Links => 0
Active Links => 0
ODBC library => iodbc
ODBC_INCLUDE => -I/usr/include
ODBC_LFLAGS => -L/usr/lib
ODBC_LIBS => -liodbc
Directive => Local Value => Master Value
odbc.allow_persistent => On => On
odbc.check_persistent => On => On
odbc.default_db => no value => no value
odbc.default_pw => <i>no value</i> => <i>no value</i>
odbc.default_user => no value => no value
odbc.defaultbinmode => return as is => return as is
odbc.defaultlrl => return up to 4096 bytes => return up to 4096 bytes
odbc.max_links => Unlimited => Unlimited
odbc.max_persistent => Unlimited => Unlimited
openssl
OpenSSL support => enabled
OpenSSL Version => OpenSSL 0.9.7b 10 Apr 2003
overload
User-Space Object Overloading Support => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 4.5 01-December-2003
posix
Revision => $Revision: 1.51.2.2 $
pspell
PSpell Support => enabled
session
Session Support => enabled
Registered save handlers => files user
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 => 2 => 2
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.name => sessionID => sessionID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /tmp => /tmp
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => On => On
session.use_trans_sid => Off => Off
sockets
Sockets Support => enabled
standard
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
safe_mode_allowed_env_vars => PHP_ => PHP_
safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH
url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry =>
a=href,area=href,frame=src,input=src,form=fakeentry
user_agent => no value => no value
tokenizer
Tokenizer Support => enabled
xml
XML Support => active
XML Namespace Support => active
EXPAT Version => 1.95.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
Environment
Variable => Value
ENV_SET =>
MANPATH => /Users/jwilkins/man:/usr/local/share/man:/usr/share/man
TERM_PROGRAM => Apple_Terminal
TEST_PHP_SRCDIR => /usr/local/src/php/php-4.3.8
TERM => xterm-color
SHELL => /bin/sh
HOST => kanga.73greencows.com
MAKEFLAGS =>
TERM_PROGRAM_VERSION => 100
CVSROOT => /usr/local/cvsrep
USER => jwilkins
GROUP => jwilkins
SCRIPT_FILENAME =>
HOSTTYPE => powermac
__CF_USER_TEXT_ENCODING => 0x1F5:0:0
MAKELEVEL => 1
MFLAGS =>
PATH =>
~/bin/powerpc-apple-darwin:/Users/jwilkins/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
_ => /usr/local/src/php/php-4.3.8/sapi/cli/php
PWD => /usr/local/src/php/php-4.3.8
TEST_PHP_EXECUTABLE => /usr/local/src/php/php-4.3.8/sapi/cli/php
REDIRECT_STATUS =>
PATH_TRANSLATED =>
HOME => /Users/jwilkins
SHLVL => 3
CONTENT_LENGTH =>
OSTYPE => darwin
VENDOR => apple
LOGNAME => jwilkins
MACHTYPE => powerpc
QUERY_STRING =>
CONTENT_TYPE =>
CC => gcc
REQUEST_METHOD =>
SECURITYSESSIONID => 211570
PHP Variables
Variable => Value
_SERVER["ENV_SET"] =>
_SERVER["MANPATH"] => /Users/jwilkins/man:/usr/local/share/man:/usr/share/man
_SERVER["TERM_PROGRAM"] => Apple_Terminal
_SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/php/php-4.3.8
_SERVER["TERM"] => xterm-color
_SERVER["SHELL"] => /bin/sh
_SERVER["HOST"] => kanga.73greencows.com
_SERVER["MAKEFLAGS"] =>
_SERVER["TERM_PROGRAM_VERSION"] => 100
_SERVER["CVSROOT"] => /usr/local/cvsrep
_SERVER["USER"] => jwilkins
_SERVER["GROUP"] => jwilkins
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["HOSTTYPE"] => powermac
_SERVER["__CF_USER_TEXT_ENCODING"] => 0x1F5:0:0
_SERVER["MAKELEVEL"] => 1
_SERVER["MFLAGS"] =>
_SERVER["PATH"] =>
~/bin/powerpc-apple-darwin:/Users/jwilkins/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
_SERVER["_"] => /usr/local/src/php/php-4.3.8/sapi/cli/php
_SERVER["PWD"] => /usr/local/src/php/php-4.3.8
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/php/php-4.3.8/sapi/cli/php
_SERVER["REDIRECT_STATUS"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["HOME"] => /Users/jwilkins
_SERVER["SHLVL"] => 3
_SERVER["CONTENT_LENGTH"] =>
_SERVER["OSTYPE"] => darwin
_SERVER["VENDOR"] => apple
_SERVER["LOGNAME"] => jwilkins
_SERVER["MACHTYPE"] => powerpc
_SERVER["QUERY_STRING"] =>
_SERVER["CONTENT_TYPE"] =>
_SERVER["CC"] => gcc
_SERVER["REQUEST_METHOD"] =>
_SERVER["SECURITYSESSIONID"] => 211570
_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.