Test results
| From: | noreply@php.net | Date: | Sat, 23 Nov 2002 05:02:42 +0000 |
| Subject: | Test results | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-6963@lists.php.net to get a copy of this message | ||
OS:
FreeBSD
Automake:
Autoconf:
Libtool:
Compiler:
Reading specs from /usr/lib/gcc-lib/alpha-unknown-freebsd4.5/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --prefix=/usr
Thread model: posix
gcc version 3.2.1
Bison:
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
serializing references test case using globals [ext/session/tests/019.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]
fopencookie detected and working (or cast mechanism works)
[ext/standard/tests/file/fopencookie.phpt]
var_dump float test [ext/standard/tests/general_functions/008.phpt]
GetImageSize() [ext/standard/tests/image/getimagesize.phpt]
Simple math tests [ext/standard/tests/math/abs.phpt]
overflow check for _php_math_basetozval [ext/standard/tests/math/hexdec.phpt]
log() tests [ext/standard/tests/math/log.phpt]
Various pow() tests [ext/standard/tests/math/pow.phpt]
Simple math tests [ext/standard/tests/math/round.phpt]
crc32() function [ext/standard/tests/strings/crc32.phpt]
htmlentities() test 1 (cp1252) [ext/standard/tests/strings/htmlentities01.phpt]
htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
[ext/standard/tests/strings/htmlentities02.phpt]
htmlentities() test 3 (setlocale / de_DE.ISO-8859-1)
[ext/standard/tests/strings/htmlentities03.phpt]
htmlentities() test 10 (default_charset / cp1252) [ext/standard/tests/strings/htmlentities10.phpt]
htmlentities() test 11 (default_charset / ISO-8859-15)
[ext/standard/tests/strings/htmlentities11.phpt]
htmlentities() test 12 (default_charset / ISO-8859-1)
[ext/standard/tests/strings/htmlentities12.phpt]
htmlentities() test 13 (default_charset / EUC-JP) [ext/standard/tests/strings/htmlentities13.phpt]
htmlentities() test 14 (default_charset / Shift_JIS)
[ext/standard/tests/strings/htmlentities14.phpt]
=====================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/session/tests/019.phpt
================================================================================
---- EXPECTED OUTPUT
array(2) {
["o1"]=>
&object(tfoo)(1) {
["c"]=>
int(42)
}
["o2"]=>
&object(tfoo)(1) {
["c"]=>
int(42)
}
}
array(2) {
["o1"]=>
&object(tfoo)(1) {
["c"]=>
int(44)
}
["o2"]=>
&object(tfoo)(1) {
["c"]=>
int(44)
}
}
---- ACTUAL OUTPUT
array(2) {
["o1"]=>
&object(tfoo)(1) {
["c"]=>
int(42)
}
["o2"]=>
&object(tfoo)(1) {
["c"]=>
int(42)
}
}
array(2) {
["o1"]=>
&object(tfoo)(1) {
["c"]=>
int(44)
}
["o2"]=>
&object(tfoo)(1) {
["c"]=>
int(44)
}
}
php in free(): warning: chunk is already free
---- FAILED
================================================================================
025+ php in free(): warning: chunk is already free
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/array/002.phpt
================================================================================
---- EXPECTED OUTPUT
-- Testing arsort() --
No second argument:
array(8) {
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
["test"]=>
int(27)
[2147483647]=>
string(4) "test"
[-2147483648]=>
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) {
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
["test"]=>
int(27)
[2147483647]=>
string(4) "test"
[-2147483648]=>
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)
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[0]=>
string(3) "PHP"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[-2147483648]=>
string(6) "monkey"
[5]=>
string(4) "Test"
[2147483647]=>
string(4) "test"
[16777216]=>
float(-0.33333333333333)
}
Using SORT_STRING
array(8) {
[2147483647]=>
string(4) "test"
[-2147483648]=>
string(6) "monkey"
[5]=>
string(4) "Test"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[0]=>
string(3) "PHP"
["-2147483647"]=>
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"
[-2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
["test"]=>
int(27)
["-2147483647"]=>
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"
[-2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
["test"]=>
int(27)
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
}
Using SORT_NUMERIC:
array(8) {
[16777216]=>
float(-0.33333333333333)
[-2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
[5]=>
string(4) "Test"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[0]=>
string(3) "PHP"
["-2147483647"]=>
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)
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[0]=>
string(3) "PHP"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[5]=>
string(4) "Test"
[-2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
}
-- Testing krsort() --
No second argument:
array(8) {
[2147483647]=>
string(4) "test"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[5]=>
string(4) "Test"
["test"]=>
int(27)
[0]=>
string(3) "PHP"
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[-2147483648]=>
string(6) "monkey"
}
Using SORT_REGULAR:
array(8) {
[2147483647]=>
string(4) "test"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[5]=>
string(4) "Test"
["test"]=>
int(27)
[0]=>
string(3) "PHP"
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[-2147483648]=>
string(6) "monkey"
}
Using SORT_NUMERIC:
array(8) {
[2147483647]=>
string(4) "test"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[5]=>
string(4) "Test"
["test"]=>
int(27)
[0]=>
string(3) "PHP"
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[-2147483648]=>
string(6) "monkey"
}
Using SORT_STRING
array(8) {
["test"]=>
int(27)
[5]=>
string(4) "Test"
[2147483647]=>
string(4) "test"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[16777216]=>
float(-0.33333333333333)
[0]=>
string(3) "PHP"
[-2147483648]=>
string(6) "monkey"
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
}
-- Testing ksort() --
No second argument:
array(8) {
[-2147483648]=>
string(6) "monkey"
["-2147483647"]=>
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"
[16777216]=>
float(-0.33333333333333)
[2147483647]=>
string(4) "test"
}
Using SORT_REGULAR:
array(8) {
[-2147483648]=>
string(6) "monkey"
["-2147483647"]=>
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"
[16777216]=>
float(-0.33333333333333)
[2147483647]=>
string(4) "test"
}
Using SORT_NUMERIC:
array(8) {
[-2147483648]=>
string(6) "monkey"
["-2147483647"]=>
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"
[16777216]=>
float(-0.33333333333333)
[2147483647]=>
string(4) "test"
}
Using SORT_STRING
array(8) {
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[-2147483648]=>
string(6) "monkey"
[0]=>
string(3) "PHP"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[2147483647]=>
string(4) "test"
[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
-- Testing arsort() --
No second argument:
array(8) {
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
["test"]=>
int(27)
[2147483647]=>
string(4) "test"
[2147483648]=>
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) {
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
["test"]=>
int(27)
[2147483647]=>
string(4) "test"
[2147483648]=>
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)
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[0]=>
string(3) "PHP"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[2147483648]=>
string(6) "monkey"
[5]=>
string(4) "Test"
[2147483647]=>
string(4) "test"
[16777216]=>
float(-0.33333333333333)
}
Using SORT_STRING
array(8) {
[2147483647]=>
string(4) "test"
[2147483648]=>
string(6) "monkey"
[5]=>
string(4) "Test"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[0]=>
string(3) "PHP"
["-2147483647"]=>
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"
[2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
["test"]=>
int(27)
["-2147483647"]=>
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"
[2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
["test"]=>
int(27)
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
}
Using SORT_NUMERIC:
array(8) {
[16777216]=>
float(-0.33333333333333)
[2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
[5]=>
string(4) "Test"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[0]=>
string(3) "PHP"
["-2147483647"]=>
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)
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[0]=>
string(3) "PHP"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[5]=>
string(4) "Test"
[2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
}
-- Testing krsort() --
No second argument:
array(8) {
[2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[5]=>
string(4) "Test"
["test"]=>
int(27)
[0]=>
string(3) "PHP"
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
}
Using SORT_REGULAR:
array(8) {
[2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[5]=>
string(4) "Test"
[0]=>
string(3) "PHP"
["test"]=>
int(27)
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
}
Using SORT_NUMERIC:
array(8) {
[2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[5]=>
string(4) "Test"
["test"]=>
int(27)
[0]=>
string(3) "PHP"
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
}
Using SORT_STRING
array(8) {
["test"]=>
int(27)
[5]=>
string(4) "Test"
[2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[16777216]=>
float(-0.33333333333333)
[0]=>
string(3) "PHP"
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
}
-- Testing ksort() --
No second argument:
array(8) {
["-2147483647"]=>
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"
[16777216]=>
float(-0.33333333333333)
[2147483647]=>
string(4) "test"
[2147483648]=>
string(6) "monkey"
}
Using SORT_REGULAR:
array(8) {
["-2147483647"]=>
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"
[16777216]=>
float(-0.33333333333333)
[2147483647]=>
string(4) "test"
[2147483648]=>
string(6) "monkey"
}
Using SORT_NUMERIC:
array(8) {
["-2147483647"]=>
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"
[16777216]=>
float(-0.33333333333333)
[2147483647]=>
string(4) "test"
[2147483648]=>
string(6) "monkey"
}
Using SORT_STRING
array(8) {
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[0]=>
string(3) "PHP"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[2147483647]=>
string(4) "test"
[2147483648]=>
string(6) "monkey"
[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
================================================================================
015- [-2147483648]=>
015+ [2147483648]=>
039- [-2147483648]=>
039+ [2147483648]=>
065- [-2147483648]=>
065+ [2147483648]=>
078- [-2147483648]=>
078+ [2147483648]=>
110- [-2147483648]=>
110+ [2147483648]=>
134- [-2147483648]=>
134+ [2147483648]=>
152- [-2147483648]=>
152+ [2147483648]=>
191- [-2147483648]=>
191+ [2147483648]=>
200- [2147483647]=>
200+ [2147483648]=>
201- string(4) "test"
201+ string(6) "monkey"
202- [16777216]=>
202+ [2147483647]=>
203- float(-0.33333333333333)
203+ string(4) "test"
204- [17]=>
204+ [16777216]=>
205- string(27) "PHP: Hypertext Preprocessor"
205+ float(-0.33333333333333)
206- [5]=>
206+ [17]=>
207- string(4) "Test"
207+ string(27) "PHP: Hypertext Preprocessor"
208- ["test"]=>
208+ [5]=>
209- int(27)
209+ string(4) "Test"
210- [0]=>
210+ ["test"]=>
211- string(3) "PHP"
211+ int(27)
212- ["-2147483647"]=>
212+ [0]=>
213- array(2) {
213+ string(3) "PHP"
214- [0]=>
214+ ["-2147483647"]=>
215- string(6) "banana"
215+ array(2) {
216- [1]=>
216+ [0]=>
217- string(6) "orange"
217+ string(6) "banana"
218- }
218+ [1]=>
219- [-2147483648]=>
219+ string(6) "orange"
220- string(6) "monkey"
220+ }
224- [2147483647]=>
224+ [2147483648]=>
225- string(4) "test"
225+ string(6) "monkey"
226- [16777216]=>
226+ [2147483647]=>
227- float(-0.33333333333333)
227+ string(4) "test"
228- [17]=>
228+ [16777216]=>
229- string(27) "PHP: Hypertext Preprocessor"
229+ float(-0.33333333333333)
230- [5]=>
230+ [17]=>
231- string(4) "Test"
231+ string(27) "PHP: Hypertext Preprocessor"
232- ["test"]=>
232+ [5]=>
233- int(27)
233+ string(4) "Test"
236- ["-2147483647"]=>
236+ ["test"]=>
237- array(2) {
237+ int(27)
238- [0]=>
238+ ["-2147483647"]=>
239- string(6) "banana"
239+ array(2) {
240- [1]=>
240+ [0]=>
241- string(6) "orange"
241+ string(6) "banana"
242- }
242+ [1]=>
243- [-2147483648]=>
243+ string(6) "orange"
244- string(6) "monkey"
244+ }
248- [2147483647]=>
248+ [2147483648]=>
249- string(4) "test"
249+ string(6) "monkey"
250- [16777216]=>
250+ [2147483647]=>
251- float(-0.33333333333333)
251+ string(4) "test"
252- [17]=>
252+ [16777216]=>
253- string(27) "PHP: Hypertext Preprocessor"
253+ float(-0.33333333333333)
254- [5]=>
254+ [17]=>
255- string(4) "Test"
255+ string(27) "PHP: Hypertext Preprocessor"
256- ["test"]=>
256+ [5]=>
257- int(27)
257+ string(4) "Test"
258- [0]=>
258+ ["test"]=>
259- string(3) "PHP"
259+ int(27)
260- ["-2147483647"]=>
260+ [0]=>
261- array(2) {
261+ string(3) "PHP"
262- [0]=>
262+ ["-2147483647"]=>
263- string(6) "banana"
263+ array(2) {
264- [1]=>
264+ [0]=>
265- string(6) "orange"
265+ string(6) "banana"
266- }
266+ [1]=>
267- [-2147483648]=>
267+ string(6) "orange"
268- string(6) "monkey"
268+ }
276- [2147483647]=>
276+ [2147483648]=>
277- string(4) "test"
277+ string(6) "monkey"
278- [17]=>
278+ [2147483647]=>
279- string(27) "PHP: Hypertext Preprocessor"
279+ string(4) "test"
280- [16777216]=>
280+ [17]=>
281- float(-0.33333333333333)
281+ string(27) "PHP: Hypertext Preprocessor"
282- [0]=>
282+ [16777216]=>
283- string(3) "PHP"
283+ float(-0.33333333333333)
284- [-2147483648]=>
284+ [0]=>
285- string(6) "monkey"
285+ string(3) "PHP"
298- [-2147483648]=>
298+ ["-2147483647"]=>
299- string(6) "monkey"
299+ array(2) {
300- ["-2147483647"]=>
300+ [0]=>
301- array(2) {
301+ string(6) "banana"
302- [0]=>
302+ [1]=>
303- string(6) "banana"
303+ string(6) "orange"
304- [1]=>
304+ }
305- string(6) "orange"
305+ [0]=>
306- }
306+ string(3) "PHP"
307- [0]=>
307+ ["test"]=>
308- string(3) "PHP"
308+ int(27)
309- ["test"]=>
309+ [5]=>
310- int(27)
310+ string(4) "Test"
311- [5]=>
311+ [17]=>
312- string(4) "Test"
312+ string(27) "PHP: Hypertext Preprocessor"
313- [17]=>
313+ [16777216]=>
314- string(27) "PHP: Hypertext Preprocessor"
314+ float(-0.33333333333333)
315- [16777216]=>
315+ [2147483647]=>
316- float(-0.33333333333333)
316+ string(4) "test"
317- [2147483647]=>
317+ [2147483648]=>
318- string(4) "test"
318+ string(6) "monkey"
322- [-2147483648]=>
322+ ["-2147483647"]=>
323- string(6) "monkey"
323+ array(2) {
324- ["-2147483647"]=>
324+ [0]=>
325- array(2) {
325+ string(6) "banana"
326- [0]=>
326+ [1]=>
327- string(6) "banana"
327+ string(6) "orange"
328- [1]=>
328+ }
329- string(6) "orange"
329+ ["test"]=>
330- }
330+ int(27)
331- ["test"]=>
331+ [0]=>
332- int(27)
332+ string(3) "PHP"
333- [0]=>
333+ [5]=>
334- string(3) "PHP"
334+ string(4) "Test"
335- [5]=>
335+ [17]=>
336- string(4) "Test"
336+ string(27) "PHP: Hypertext Preprocessor"
337- [17]=>
337+ [16777216]=>
338- string(27) "PHP: Hypertext Preprocessor"
338+ float(-0.33333333333333)
339- [16777216]=>
339+ [2147483647]=>
340- float(-0.33333333333333)
340+ string(4) "test"
341- [2147483647]=>
341+ [2147483648]=>
342- string(4) "test"
342+ string(6) "monkey"
346- [-2147483648]=>
346+ ["-2147483647"]=>
347- string(6) "monkey"
347+ array(2) {
348- ["-2147483647"]=>
348+ [0]=>
349- array(2) {
349+ string(6) "banana"
350- [0]=>
350+ [1]=>
351- string(6) "banana"
351+ string(6) "orange"
352- [1]=>
352+ }
353- string(6) "orange"
353+ [0]=>
354- }
354+ string(3) "PHP"
355- [0]=>
355+ ["test"]=>
356- string(3) "PHP"
356+ int(27)
357- ["test"]=>
357+ [5]=>
358- int(27)
358+ string(4) "Test"
359- [5]=>
359+ [17]=>
360- string(4) "Test"
360+ string(27) "PHP: Hypertext Preprocessor"
361- [17]=>
361+ [16777216]=>
362- string(27) "PHP: Hypertext Preprocessor"
362+ float(-0.33333333333333)
363- [16777216]=>
363+ [2147483647]=>
364- float(-0.33333333333333)
364+ string(4) "test"
365- [2147483647]=>
365+ [2147483648]=>
366- string(4) "test"
366+ string(6) "monkey"
377- [-2147483648]=>
377+ [0]=>
378- string(6) "monkey"
378+ string(3) "PHP"
379- [0]=>
379+ [16777216]=>
380- string(3) "PHP"
380+ float(-0.33333333333333)
381- [16777216]=>
381+ [17]=>
382- float(-0.33333333333333)
382+ string(27) "PHP: Hypertext Preprocessor"
383- [17]=>
383+ [2147483647]=>
384- string(27) "PHP: Hypertext Preprocessor"
384+ string(4) "test"
385- [2147483647]=>
385+ [2147483648]=>
386- string(4) "test"
386+ string(6) "monkey"
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/array/003.phpt
================================================================================
---- EXPECTED OUTPUT
-- Testing uasort() --
array(8) {
[16777216]=>
float(-0.33333333333333)
["-2147483647"]=>
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"
[-2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
}
-- Testing uksort() --
array(8) {
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[-2147483648]=>
string(6) "monkey"
[0]=>
string(3) "PHP"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[2147483647]=>
string(4) "test"
[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)
["-2147483647"]=>
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"
[2147483648]=>
string(6) "monkey"
[2147483647]=>
string(4) "test"
}
-- Testing uksort() --
array(8) {
["-2147483647"]=>
array(2) {
[0]=>
string(6) "banana"
[1]=>
string(6) "orange"
}
[0]=>
string(3) "PHP"
[16777216]=>
float(-0.33333333333333)
[17]=>
string(27) "PHP: Hypertext Preprocessor"
[2147483647]=>
string(4) "test"
[2147483648]=>
string(6) "monkey"
[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
================================================================================
020- [-2147483648]=>
020+ [2147483648]=>
035- [-2147483648]=>
035+ [0]=>
036- string(6) "monkey"
036+ string(3) "PHP"
037- [0]=>
037+ [16777216]=>
038- string(3) "PHP"
038+ float(-0.33333333333333)
039- [16777216]=>
039+ [17]=>
040- float(-0.33333333333333)
040+ string(27) "PHP: Hypertext Preprocessor"
041- [17]=>
041+ [2147483647]=>
042- string(27) "PHP: Hypertext Preprocessor"
042+ string(4) "test"
043- [2147483647]=>
043+ [2147483648]=>
044- string(4) "test"
044+ string(6) "monkey"
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/file/fopencookie.phpt
================================================================================
---- EXPECTED OUTPUT
If you can read this, it worked
---- ACTUAL OUTPUT
Warning: main() [/phpmanual/function.main.html]: cannot represent a stream of type user-space as a
STDIO FILE* in /usr/home/iridium/php-4.3.0RC1/ext/standard/tests/file/fopencookie.php on line 79
Warning: Failed opening 'cookietest://foo' for inclusion
(include_path='.:/usr/php4/lib/php') in
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/file/fopencookie.php on line 79
---- FAILED
================================================================================
001- If you can read this, it worked
001+ Warning: main() [/phpmanual/function.main.html]: cannot represent a stream of type user-space
as a STDIO FILE* in /usr/home/iridium/php-4.3.0RC1/ext/standard/tests/file/fopencookie.php on line
79
002+
003+ Warning: Failed opening 'cookietest://foo' for inclusion
(include_path='.:/usr/php4/lib/php') in
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/file/fopencookie.php on line 79
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/general_functions/008.phpt
================================================================================
---- EXPECTED OUTPUT
array(14) {
[0]=>
string(2) "12"
[1]=>
float(0.012)
[2]=>
float(-0.012)
[3]=>
float(0.12)
[4]=>
float(-0.12)
[5]=>
float(1.2)
[6]=>
float(-1.2)
[7]=>
float(12)
[8]=>
float(-12)
[9]=>
float(0.000123)
[10]=>
float(1.23E-5)
[11]=>
float(123456789012)
[12]=>
float(1234567890120)
[13]=>
float(1.23456789012E+19)
}
---- ACTUAL OUTPUT
array(14) {
[0]=>
string(2) "12"
[1]=>
float(0.012)
[2]=>
float(-0.012)
[3]=>
float(0.12)
[4]=>
float(-0.12)
[5]=>
float(1.2)
[6]=>
float(-1.2)
[7]=>
float(12)
[8]=>
float(-12)
[9]=>
float(0.000123)
[10]=>
float(1.23E-5)
[11]=>
int(123456789012)
[12]=>
int(1234567890123)
[13]=>
float(1.23456789012E+19)
}
---- FAILED
================================================================================
025- float(123456789012)
025+ int(123456789012)
027- float(1234567890120)
027+ int(1234567890123)
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/image/getimagesize.phpt
================================================================================
---- EXPECTED OUTPUT
array(10) {
["test1pix.bmp"]=>
array(6) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
int(6)
[3]=>
string(20) "width="1" height="1""
["bits"]=>
int(24)
["mime"]=>
string(9) "image/bmp"
}
["test1pix.jpc"]=>
array(6) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
int(9)
[3]=>
string(20) "width="1" height="1""
["bits"]=>
int(3)
["mime"]=>
string(10) "image/jpeg"
}
["test1pix.jpg"]=>
array(7) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
string(20) "width="1" height="1""
["bits"]=>
int(8)
["channels"]=>
int(3)
["mime"]=>
string(10) "image/jpeg"
}
["test2pix.gif"]=>
array(7) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(1)
[3]=>
string(20) "width="2" height="1""
["bits"]=>
int(1)
["channels"]=>
int(3)
["mime"]=>
string(9) "image/gif"
}
["test4pix.gif"]=>
array(7) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(1)
[3]=>
string(20) "width="4" height="1""
["bits"]=>
int(2)
["channels"]=>
int(3)
["mime"]=>
string(9) "image/gif"
}
["test4pix.iff"]=>
array(6) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(14)
[3]=>
string(20) "width="4" height="1""
["bits"]=>
int(4)
["mime"]=>
string(9) "image/iff"
}
["test4pix.png"]=>
array(5) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(3)
[3]=>
string(20) "width="4" height="1""
["mime"]=>
string(9) "image/png"
}
["test4pix.psd"]=>
array(5) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(5)
[3]=>
string(20) "width="4" height="1""
["mime"]=>
string(9) "image/psd"
}
["test4pix.swf"]=>
array(5) {
[0]=>
int(550)
[1]=>
int(400)
[2]=>
int(4)
[3]=>
string(24) "width="550" height="400""
["mime"]=>
string(29) "application/x-shockwave-flash"
}
["test4pix.tif"]=>
array(5) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(7)
[3]=>
string(20) "width="4" height="1""
["mime"]=>
string(10) "image/tiff"
}
}
---- ACTUAL OUTPUT
array(10) {
["test1pix.bmp"]=>
array(5) {
[0]=>
int(1)
[1]=>
int(1572865)
[2]=>
int(6)
[3]=>
string(26) "width="1" height="1572865""
["mime"]=>
string(9) "image/bmp"
}
["test1pix.jpc"]=>
array(6) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
int(9)
[3]=>
string(20) "width="1" height="1""
["bits"]=>
int(3)
["mime"]=>
string(10) "image/jpeg"
}
["test1pix.jpg"]=>
array(7) {
[0]=>
int(1)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
string(20) "width="1" height="1""
["bits"]=>
int(8)
["channels"]=>
int(3)
["mime"]=>
string(10) "image/jpeg"
}
["test2pix.gif"]=>
array(7) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(1)
[3]=>
string(20) "width="2" height="1""
["bits"]=>
int(1)
["channels"]=>
int(3)
["mime"]=>
string(9) "image/gif"
}
["test4pix.gif"]=>
array(7) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(1)
[3]=>
string(20) "width="4" height="1""
["bits"]=>
int(2)
["channels"]=>
int(3)
["mime"]=>
string(9) "image/gif"
}
["test4pix.iff"]=>
array(6) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(14)
[3]=>
string(20) "width="4" height="1""
["bits"]=>
int(4)
["mime"]=>
string(9) "image/iff"
}
["test4pix.png"]=>
array(5) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(3)
[3]=>
string(20) "width="4" height="1""
["mime"]=>
string(9) "image/png"
}
["test4pix.psd"]=>
array(5) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(5)
[3]=>
string(20) "width="4" height="1""
["mime"]=>
string(9) "image/psd"
}
["test4pix.swf"]=>
array(5) {
[0]=>
int(550)
[1]=>
int(400)
[2]=>
int(4)
[3]=>
string(24) "width="550" height="400""
["mime"]=>
string(29) "application/x-shockwave-flash"
}
["test4pix.tif"]=>
array(5) {
[0]=>
int(4)
[1]=>
int(1)
[2]=>
int(7)
[3]=>
string(20) "width="4" height="1""
["mime"]=>
string(10) "image/tiff"
}
}
---- FAILED
================================================================================
003- array(6) {
003+ array(5) {
007- int(1)
007+ int(1572865)
011- string(20) "width="1" height="1""
011+ string(26) "width="1" height="1572865""
012- ["bits"]=>
012+ ["mime"]=>
013- int(24)
013+ string(9) "image/bmp"
014- ["mime"]=>
014+ }
015- string(9) "image/bmp"
015+ ["test1pix.jpc"]=>
016- }
016+ array(6) {
017- ["test1pix.jpc"]=>
017+ [0]=>
018- array(6) {
018+ int(1)
019- [0]=>
019+ [1]=>
021- [1]=>
021+ [2]=>
022- int(1)
022+ int(9)
023- [2]=>
023+ [3]=>
024- int(9)
024+ string(20) "width="1" height="1""
025- [3]=>
025+ ["bits"]=>
026- string(20) "width="1" height="1""
026+ int(3)
027- ["bits"]=>
027+ ["mime"]=>
028- int(3)
028+ string(10) "image/jpeg"
029- ["mime"]=>
029+ }
030- string(10) "image/jpeg"
030+ ["test1pix.jpg"]=>
031- }
031+ array(7) {
032- ["test1pix.jpg"]=>
032+ [0]=>
033- array(7) {
033+ int(1)
034- [0]=>
034+ [1]=>
036- [1]=>
036+ [2]=>
037- int(1)
037+ int(2)
038- [2]=>
038+ [3]=>
039- int(2)
039+ string(20) "width="1" height="1""
040- [3]=>
040+ ["bits"]=>
041- string(20) "width="1" height="1""
041+ int(8)
042- ["bits"]=>
042+ ["channels"]=>
043- int(8)
043+ int(3)
044- ["channels"]=>
044+ ["mime"]=>
045- int(3)
045+ string(10) "image/jpeg"
046- ["mime"]=>
046+ }
047- string(10) "image/jpeg"
047+ ["test2pix.gif"]=>
048- }
048+ array(7) {
049- ["test2pix.gif"]=>
049+ [0]=>
050- array(7) {
050+ int(2)
051- [0]=>
051+ [1]=>
052- int(2)
052+ int(1)
053- [1]=>
053+ [2]=>
055- [2]=>
055+ [3]=>
056- int(1)
056+ string(20) "width="2" height="1""
057- [3]=>
057+ ["bits"]=>
058- string(20) "width="2" height="1""
058+ int(1)
059- ["bits"]=>
059+ ["channels"]=>
060- int(1)
060+ int(3)
061- ["channels"]=>
061+ ["mime"]=>
062- int(3)
062+ string(9) "image/gif"
063- ["mime"]=>
063+ }
064- string(9) "image/gif"
064+ ["test4pix.gif"]=>
065- }
065+ array(7) {
066- ["test4pix.gif"]=>
066+ [0]=>
067- array(7) {
067+ int(4)
068- [0]=>
068+ [1]=>
069- int(4)
069+ int(1)
070- [1]=>
070+ [2]=>
072- [2]=>
072+ [3]=>
073- int(1)
073+ string(20) "width="4" height="1""
074- [3]=>
074+ ["bits"]=>
075- string(20) "width="4" height="1""
075+ int(2)
076- ["bits"]=>
076+ ["channels"]=>
077- int(2)
077+ int(3)
078- ["channels"]=>
078+ ["mime"]=>
079- int(3)
079+ string(9) "image/gif"
080- ["mime"]=>
080+ }
081- string(9) "image/gif"
081+ ["test4pix.iff"]=>
082- }
082+ array(6) {
083- ["test4pix.iff"]=>
083+ [0]=>
084- array(6) {
084+ int(4)
085- [0]=>
085+ [1]=>
086- int(4)
086+ int(1)
087- [1]=>
087+ [2]=>
088- int(1)
088+ int(14)
089- [2]=>
089+ [3]=>
090- int(14)
090+ string(20) "width="4" height="1""
091- [3]=>
091+ ["bits"]=>
092- string(20) "width="4" height="1""
092+ int(4)
093- ["bits"]=>
093+ ["mime"]=>
094- int(4)
094+ string(9) "image/iff"
095- ["mime"]=>
095+ }
096- string(9) "image/iff"
096+ ["test4pix.png"]=>
097- }
097+ array(5) {
098- ["test4pix.png"]=>
098+ [0]=>
099- array(5) {
099+ int(4)
100- [0]=>
100+ [1]=>
101- int(4)
101+ int(1)
102- [1]=>
102+ [2]=>
103- int(1)
103+ int(3)
104- [2]=>
104+ [3]=>
105- int(3)
105+ string(20) "width="4" height="1""
106- [3]=>
106+ ["mime"]=>
107- string(20) "width="4" height="1""
107+ string(9) "image/png"
108- ["mime"]=>
108+ }
109- string(9) "image/png"
109+ ["test4pix.psd"]=>
110- }
110+ array(5) {
111- ["test4pix.psd"]=>
111+ [0]=>
112- array(5) {
112+ int(4)
113- [0]=>
113+ [1]=>
114- int(4)
114+ int(1)
115- [1]=>
115+ [2]=>
116- int(1)
116+ int(5)
117- [2]=>
117+ [3]=>
118- int(5)
118+ string(20) "width="4" height="1""
119- [3]=>
119+ ["mime"]=>
120- string(20) "width="4" height="1""
120+ string(9) "image/psd"
121- ["mime"]=>
121+ }
122- string(9) "image/psd"
122+ ["test4pix.swf"]=>
123- }
123+ array(5) {
124- ["test4pix.swf"]=>
124+ [0]=>
125- array(5) {
125+ int(550)
126- [0]=>
126+ [1]=>
127- int(550)
127+ int(400)
128- [1]=>
128+ [2]=>
129- int(400)
129+ int(4)
130- [2]=>
130+ [3]=>
131- int(4)
131+ string(24) "width="550" height="400""
132- [3]=>
132+ ["mime"]=>
133- string(24) "width="550" height="400""
133+ string(29) "application/x-shockwave-flash"
134- ["mime"]=>
134+ }
135- string(29) "application/x-shockwave-flash"
135+ ["test4pix.tif"]=>
136- }
136+ array(5) {
137- ["test4pix.tif"]=>
137+ [0]=>
138- array(5) {
138+ int(4)
139- [0]=>
139+ [1]=>
140- int(4)
140+ int(1)
141- [1]=>
141+ [2]=>
142- int(1)
142+ int(7)
143- [2]=>
143+ [3]=>
144- int(7)
144+ string(20) "width="4" height="1""
145- [3]=>
145+ ["mime"]=>
146- string(20) "width="4" height="1""
146+ string(10) "image/tiff"
147- ["mime"]=>
147+ }
148- string(10) "image/tiff"
148+ }
149- }
150- }
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/math/abs.phpt
================================================================================
---- EXPECTED OUTPUT
1,1,0,0
OK
---- ACTUAL OUTPUT
1,1,1,1
Assert failed:
-LONG_MIN+1 === abs(LONG_MIN-1)
Left: int(-9223372036854775807)
Right: int(9223372036854775807)
Assert failed:
-LONG_MIN === abs(LONG_MIN)
Left: int(-9223372036854775808)
Right: float(9.2233720368548E+18)
---- FAILED
================================================================================
001- 1,1,0,0
001+ 1,1,1,1
002- OK
002+
003+ Assert failed:
004+ -LONG_MIN+1 === abs(LONG_MIN-1)
005+ Left: int(-9223372036854775807)
006+ Right: int(9223372036854775807)
007+
008+ Assert failed:
009+ -LONG_MIN === abs(LONG_MIN)
010+ Left: int(-9223372036854775808)
011+ Right: float(9.2233720368548E+18)
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/math/hexdec.phpt
================================================================================
---- EXPECTED OUTPUT
int(74565)
int(74565)
int(74565)
int(74565)
int(74565)
float(78187069441)
float(6442450943)
---- ACTUAL OUTPUT
int(74565)
int(74565)
int(74565)
int(74565)
int(74565)
int(78187069441)
int(6442450943)
---- FAILED
================================================================================
006- float(78187069441)
006+ int(78187069441)
007- float(6442450943)
007+ int(6442450943)
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/math/log.phpt
================================================================================
---- EXPECTED OUTPUT
On failure, please mail result to php-dev@lists.php.net
200
50
50
50
50
50
50
50
50
50
---- ACTUAL OUTPUT
On failure, please mail result to php-dev@lists.php.net
200
---- FAILED
================================================================================
003- 50
004- 50
005- 50
006- 50
007- 50
008- 50
009- 50
010- 50
011- 50
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/math/pow.phpt
================================================================================
---- EXPECTED OUTPUT
1,1,0,0
On failure, please mail result to php-dev@lists.php.net
OK
---- ACTUAL OUTPUT
1,1,1,1
On failure, please mail result to php-dev@lists.php.net
---- FAILED
================================================================================
001- 1,1,0,0
001+ 1,1,1,1
003- OK
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/math/round.phpt
================================================================================
---- EXPECTED OUTPUT
1,1,0,0
OK
---- ACTUAL OUTPUT
1,1,1,1
Assert failed:
LONG_MIN-1 ~== round(LONG_MIN - 0.6)
Left: int(9223372036854775807)
Right: float(-9.2233720368548E+18)
Assert failed:
LONG_MIN-1 ~== floor(LONG_MIN - 0.5)
Left: int(9223372036854775807)
Right: float(-9.2233720368548E+18)
Assert failed:
LONG_MAX+1 ~== ceil(LONG_MAX + 0.5)
Left: int(-9223372036854775808)
Right: float(9.2233720368548E+18)
Assert failed:
LONG_MAX+1 ~== round(LONG_MAX + 0.6)
Left: int(-9223372036854775808)
Right: float(9.2233720368548E+18)
---- FAILED
================================================================================
001- 1,1,0,0
001+ 1,1,1,1
002- OK
002+
003+ Assert failed:
004+ LONG_MIN-1 ~== round(LONG_MIN - 0.6)
005+ Left: int(9223372036854775807)
006+ Right: float(-9.2233720368548E+18)
007+
008+ Assert failed:
009+ LONG_MIN-1 ~== floor(LONG_MIN - 0.5)
010+ Left: int(9223372036854775807)
011+ Right: float(-9.2233720368548E+18)
012+
013+ Assert failed:
014+ LONG_MAX+1 ~== ceil(LONG_MAX + 0.5)
015+ Left: int(-9223372036854775808)
016+ Right: float(9.2233720368548E+18)
017+
018+ Assert failed:
019+ LONG_MAX+1 ~== round(LONG_MAX + 0.6)
020+ Left: int(-9223372036854775808)
021+ Right: float(9.2233720368548E+18)
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/strings/crc32.phpt
================================================================================
---- EXPECTED OUTPUT
-1938594527
1996459178
2015626392
824412087
---- ACTUAL OUTPUT
2356372769
1996459178
2015626392
824412087
---- FAILED
================================================================================
001- -1938594527
001+ 2356372769
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/strings/htmlentities01.phpt
================================================================================
---- EXPECTED OUTPUT
string(28) "‚†™Ÿ"
string(32) "€¢£¤¥"
---- ACTUAL OUTPUT
---- FAILED
================================================================================
001- string(28) "‚†™Ÿ"
001+
002- string(32) "€¢£¤¥"
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/strings/htmlentities02.phpt
================================================================================
---- EXPECTED OUTPUT
string(20) "ŒœŸ"
---- ACTUAL OUTPUT
---- FAILED
================================================================================
001- string(20) "ŒœŸ"
001+
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/strings/htmlentities03.phpt
================================================================================
---- EXPECTED OUTPUT
string(18) "äöü"
---- ACTUAL OUTPUT
---- FAILED
================================================================================
001- string(18) "äöü"
001+
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/strings/htmlentities10.phpt
================================================================================
---- EXPECTED OUTPUT
cp1252
string(28) "‚†™Ÿ"
string(32) "€¢£¤¥"
---- ACTUAL OUTPUT
cp1252
---- FAILED
================================================================================
002- string(28) "‚†™Ÿ"
003- string(32) "€¢£¤¥"
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/strings/htmlentities11.phpt
================================================================================
---- EXPECTED OUTPUT
ISO-8859-15
string(20) "ŒœŸ"
---- ACTUAL OUTPUT
ISO-8859-15
---- FAILED
================================================================================
002- string(20) "ŒœŸ"
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/strings/htmlentities12.phpt
================================================================================
---- EXPECTED OUTPUT
ISO-8859-1
string(18) "äöü"
---- ACTUAL OUTPUT
ISO-8859-1
---- FAILED
================================================================================
002- string(18) "äöü"
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/strings/htmlentities13.phpt
================================================================================
---- EXPECTED OUTPUT
EUC-JP
string(6) "¡¢¡£¡¤"
---- ACTUAL OUTPUT
EUC-JP
---- FAILED
================================================================================
002- string(6) "¡¢¡£¡¤"
================================================================================
================================================================================
/usr/home/iridium/php-4.3.0RC1/ext/standard/tests/strings/htmlentities14.phpt
================================================================================
---- EXPECTED OUTPUT
Shift_JIS
string(6) "ABC"
---- ACTUAL OUTPUT
Shift_JIS
---- FAILED
================================================================================
002- string(6) "ABC"
================================================================================
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 4.3.0RC1
System => FreeBSD fore 4.5-RELEASE-p23 FreeBSD 4.5-RELEASE-p23 #2: Fri alpha
Build Date => Nov 23 2002 04:53:53
Configure Command => './configure' '--prefix=/usr/php4'
'--sysconfdir=/etc/php4' '--mandir=/usr/share/man'
'--with-apxs2=/usr/apache2/bin/apxs' '--with-config-file-path=/usr/php4'
'--with-pear' '--with-mysql' '--with-tsrm-pth'
'--disable-xml' '--disable-ctype' '--enable-calendar'
'--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir'
'--with-png-dir' '--with-freetype-dir' '--with-zlib-dir'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/php4
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
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_functions => no value => no value
display_errors => On => On
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => http://www.php.net/ => http://www.php.net/
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => no value => no value
expose_php => On => On
extension_dir => /usr/php4/lib/php/extensions/no-debug-non-zts-20020429 =>
/usr/php4/lib/php/extensions/no-debug-non-zts-20020429
file_uploads => On => On
gpc_order => GPC => GPC
highlight.bg => #FFFFFF => #FFFFFF
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => Off => On
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => Off
include_path => .:/usr/php4/lib/php => .:/usr/php4/lib/php
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
magic_quotes_gpc => On => On
magic_quotes_runtime => Off => Off
magic_quotes_sybase => Off => Off
max_execution_time => 0 => 30
max_input_time => -1 => -1
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
register_argc_argv => On => On
register_globals => Off => Off
report_memleaks => On => On
safe_mode => Off => Off
safe_mode_exec_dir => 1 => 1
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
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => no value => no value
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
tokenizer
Tokenizer 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,form=,fieldset= =>
a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
session
Session Support => enabled
Registered save handlers => files user
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => On => On
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_dividend => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /tmp => /tmp
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => Off => Off
posix
Revision => $Revision: 1.51 $
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 3.92 11-Sep-2002
overload
User-Space Object Overloading Support => enabled
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 3.23.49
MYSQL_MODULE_TYPE => builtin
MYSQL_SOCKET => /tmp/mysql.sock
MYSQL_INCLUDE => MYSQL_LIBS =>
Directive => Local Value => Master Value
mysql.allow_persistent => On => On
mysql.connect_timeout => -1 => -1
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => no value => no value
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off
gd
GD Support => enabled
GD Version => bundled (2.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
GIF Read Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
calendar
Calendar support => enabled
zlib
ZLib Support => enabled
'zlib:' fopen wrapper => enabled
Compiled Version => 1.1.3
Linked Version => 1.1.3
Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value
Additional Modules
Module Name
Environment
Variable => Value
CONTENT_TYPE => MACHTYPE => alpha
USER => iridium
SSH_CLIENT => 65.89.186.193 3222 22
MAIL => /var/mail/iridium
VENDOR => digital
SHLVL => 1
QUERY_STRING => HOME => /usr/home/iridium
TEST_PHP_SRCDIR => /usr/home/iridium/php-4.3.0RC1
SSH_TTY => /dev/ttyp3
CONTENT_LENGTH => MAKEFLAGS => SCRIPT_FILENAME =>
/usr/home/iridium/php-4.3.0RC1/tests/strings/004.php
PATH_TRANSLATED => /usr/home/iridium/php-4.3.0RC1/tests/strings/004.php
GROUP => furries
LOGNAME => iridium
TEST_PHP_EXECUTABLE => /usr/home/iridium/php-4.3.0RC1/sapi/cli/php
TERM => vt100
GNUMAKE => gmake
PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/home/iridium/bin
CFLAGS => -mcpu=ev56 -O1 -prefer-pic
MAKELEVEL => 1
REMOTEHOST => rijndael.cryptot
SHELL => /bin/sh
HOST => fore
REDIRECT_STATUS => 1
REQUEST_METHOD => GET
OSTYPE => FreeBSD
PWD => /usr/home/iridium/php-4.3.0RC1
SSH_CONNECTION => 65.89.186.193 3222 65.89.186.43 22
MFLAGS => CC => gcc
HOSTTYPE => FreeBSD
PHP Variables
Variable => Value
_SERVER["CONTENT_TYPE"] =>
_SERVER["MACHTYPE"] => alpha
_SERVER["USER"] => iridium
_SERVER["SSH_CLIENT"] => 65.89.186.193 3222 22
_SERVER["MAIL"] => /var/mail/iridium
_SERVER["VENDOR"] => digital
_SERVER["SHLVL"] => 1
_SERVER["QUERY_STRING"] =>
_SERVER["HOME"] => /usr/home/iridium
_SERVER["TEST_PHP_SRCDIR"] => /usr/home/iridium/php-4.3.0RC1
_SERVER["SSH_TTY"] => /dev/ttyp3
_SERVER["CONTENT_LENGTH"] =>
_SERVER["MAKEFLAGS"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["GROUP"] => furries
_SERVER["LOGNAME"] => iridium
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/home/iridium/php-4.3.0RC1/sapi/cli/php
_SERVER["TERM"] => vt100
_SERVER["GNUMAKE"] => gmake
_SERVER["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/home/iridium/bin
_SERVER["CFLAGS"] => -mcpu=ev56 -O1 -prefer-pic
_SERVER["MAKELEVEL"] => 1
_SERVER["REMOTEHOST"] => rijndael.cryptot
_SERVER["SHELL"] => /bin/sh
_SERVER["HOST"] => fore
_SERVER["REDIRECT_STATUS"] => 1
_SERVER["REQUEST_METHOD"] => GET
_SERVER["OSTYPE"] => FreeBSD
_SERVER["PWD"] => /usr/home/iridium/php-4.3.0RC1
_SERVER["SSH_CONNECTION"] => 65.89.186.193 3222 65.89.186.43 22
_SERVER["MFLAGS"] =>
_SERVER["CC"] => gcc
_SERVER["HOSTTYPE"] => FreeBSD
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["CONTENT_TYPE"] =>
_ENV["MACHTYPE"] => alpha
_ENV["USER"] => iridium
_ENV["SSH_CLIENT"] => 65.89.186.193 3222 22
_ENV["MAIL"] => /var/mail/iridium
_ENV["VENDOR"] => digital
_ENV["SHLVL"] => 1
_ENV["QUERY_STRING"] =>
_ENV["HOME"] => /usr/home/iridium
_ENV["TEST_PHP_SRCDIR"] => /usr/home/iridium/php-4.3.0RC1
_ENV["SSH_TTY"] => /dev/ttyp3
_ENV["CONTENT_LENGTH"] =>
_ENV["MAKEFLAGS"] =>
_ENV["SCRIPT_FILENAME"] => /usr/home/iridium/php-4.3.0RC1/tests/strings/004.php
_ENV["PATH_TRANSLATED"] => /usr/home/iridium/php-4.3.0RC1/tests/strings/004.php
_ENV["GROUP"] => furries
_ENV["LOGNAME"] => iridium
_ENV["TEST_PHP_EXECUTABLE"] => /usr/home/iridium/php-4.3.0RC1/sapi/cli/php
_ENV["TERM"] => vt100
_ENV["GNUMAKE"] => gmake
_ENV["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/home/iridium/bin
_ENV["CFLAGS"] => -mcpu=ev56 -O1 -prefer-pic
_ENV["MAKELEVEL"] => 1
_ENV["REMOTEHOST"] => rijndael.cryptot
_ENV["SHELL"] => /bin/sh
_ENV["HOST"] => fore
_ENV["REDIRECT_STATUS"] => 1
_ENV["REQUEST_METHOD"] => GET
_ENV["OSTYPE"] => FreeBSD
_ENV["PWD"] => /usr/home/iridium/php-4.3.0RC1
_ENV["SSH_CONNECTION"] => 65.89.186.193 3222 65.89.186.43 22
_ENV["MFLAGS"] =>
_ENV["CC"] => gcc
_ENV["HOSTTYPE"] => FreeBSD
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.