Test results for 5.2.3 [failed]
| From: | noreply@php.net | Date: | Sat, 28 Jul 2007 06:28:30 +0000 |
| Subject: | Test results for 5.2.3 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-42307@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test array_keys() function [ext/standard/tests/array/array_keys.phpt]
Test gettype() & settype() functions : usage variations
[ext/standard/tests/general_functions/gettype_settype_variation2.phpt]
Generic pack()/unpack() tests [ext/standard/tests/strings/pack.phpt]
strripos() offset integer overflow [ext/standard/tests/strings/strripos_offset.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 70
Exts tested : 9
---------------------------------------------------------------------
Number of tests : 3345 1606
Tests skipped : 1739 ( 52.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 4 ( 0.1%) ( 0.2%)
Tests passed : 1602 ( 47.9%) ( 99.8%)
---------------------------------------------------------------------
Time taken : 596 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test array_keys() function [ext/standard/tests/array/array_keys.phpt]
Test gettype() & settype() functions : usage variations
[ext/standard/tests/general_functions/gettype_settype_variation2.phpt]
Generic pack()/unpack() tests [ext/standard/tests/strings/pack.phpt]
strripos() offset integer overflow [ext/standard/tests/strings/strripos_offset.phpt]
=====================================================================
================================================================================
/usr/local/src/php-5.2.3/ext/standard/tests/array/array_keys.phpt
================================================================================
*** Testing array_keys() on basic array operation ***
array(5) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
int(2)
[3]=>
int(-23)
[4]=>
int(3)
}
*** Testing array_keys() on various arrays ***
-- Iteration 0 --
array(0) {
}
-- Iteration 1 --
array(1) {
[0]=>
int(0)
}
-- Iteration 2 --
array(1) {
[0]=>
int(0)
}
-- Iteration 3 --
array(1) {
[0]=>
string(5) "Hello"
}
-- Iteration 4 --
array(1) {
[0]=>
string(0) ""
}
-- Iteration 5 --
array(4) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
string(1) "d"
}
-- Iteration 6 --
array(4) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
}
-- Iteration 7 --
array(4) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
}
-- Iteration 8 --
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
string(1) "a"
[3]=>
int(3)
[4]=>
int(5)
}
-- Iteration 9 --
array(5) {
[0]=>
int(1)
[1]=>
int(0)
[2]=>
string(0) ""
[3]=>
int(2)
[4]=>
int(3)
}
-- Iteration 10 --
array(3) {
[0]=>
string(1) "a"
[1]=>
string(2) "ab"
[2]=>
string(2) "cd"
}
-- Iteration 11 --
array(4) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
string(0) ""
}
*** Testing array_keys() on all the types other than arrays ***
-- Loose type checking --
array(3) {
[0]=>
int(1)
[1]=>
int(-1)
[2]=>
string(3) "php"
}
-- strict type checking --
array(0) {
}
-- Loose type checking --
array(4) {
[0]=>
int(0)
[1]=>
int(2)
[2]=>
int(3)
[3]=>
string(0) ""
}
-- strict type checking --
array(0) {
}
-- Loose type checking --
array(1) {
[0]=>
int(1)
}
-- strict type checking --
array(0) {
}
-- Loose type checking --
array(4) {
[0]=>
int(0)
[1]=>
int(2)
[2]=>
string(3) "php"
[3]=>
string(0) ""
}
-- strict type checking --
array(0) {
}
-- Loose type checking --
array(1) {
[0]=>
int(-1)
}
-- strict type checking --
array(0) {
}
-- Loose type checking --
array(1) {
[0]=>
int(1)
}
-- strict type checking --
array(1) {
[0]=>
int(1)
}
-- Loose type checking --
array(1) {
[0]=>
int(0)
}
-- strict type checking --
array(1) {
[0]=>
int(0)
}
-- Loose type checking --
array(1) {
[0]=>
int(-1)
}
-- strict type checking --
array(1) {
[0]=>
int(-1)
}
-- Loose type checking --
array(3) {
[0]=>
int(2)
[1]=>
int(3)
[2]=>
string(0) ""
}
-- strict type checking --
array(1) {
[0]=>
int(2)
}
-- Loose type checking --
array(2) {
[0]=>
int(2)
[1]=>
int(3)
}
-- strict type checking --
array(1) {
[0]=>
int(3)
}
-- Loose type checking --
array(1) {
[0]=>
string(3) "php"
}
-- strict type checking --
array(1) {
[0]=>
string(3) "php"
}
-- Loose type checking --
array(2) {
[0]=>
int(2)
[1]=>
string(0) ""
}
-- strict type checking --
array(1) {
[0]=>
string(0) ""
}
*** Testing array_keys() with resource type ***
array(1) {
[0]=>
int(0)
}
array(1) {
[0]=>
int(0)
}
array(1) {
[0]=>
int(1)
}
array(1) {
[0]=>
int(1)
}
*** Testing array_keys() on range of values ***
array(4) {
[0]=>
int(2147483647)
[1]=>
int(-2147483647)
[2]=>
int(-2147483648)
[3]=>
int(0)
}
*** Testing array_keys() on an array created on the fly ***
array(3) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
}
array(0) {
}
*** Testing error conditions ***
Warning: array_keys(): The first argument should be an array in
/usr/local/src/php-5.2.3/ext/standard/tests/array/array_keys.php on line 89
NULL
Warning: array_keys(): The first argument should be an array in
/usr/local/src/php-5.2.3/ext/standard/tests/array/array_keys.php on line 90
NULL
Warning: array_keys(): The first argument should be an array in
/usr/local/src/php-5.2.3/ext/standard/tests/array/array_keys.php on line 91
NULL
Warning: Wrong parameter count for array_keys() in
/usr/local/src/php-5.2.3/ext/standard/tests/array/array_keys.php on line 92
NULL
Warning: Wrong parameter count for array_keys() in
/usr/local/src/php-5.2.3/ext/standard/tests/array/array_keys.php on line 93
NULL
Warning: Illegal offset type in /usr/local/src/php-5.2.3/ext/standard/tests/array/array_keys.php on
line 94
array(3) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
}
Done
================================================================================
312+ int(-2147483647)
313+ [2]=>
313- [2]=>
314- int(-2147483647)
================================================================================
================================================================================
/usr/local/src/php-5.2.3/ext/standard/tests/general_functions/gettype_settype_variation2.phpt
================================================================================
8: Undefined variable: unset_var
8: Undefined variable: undef_var
*** Testing settype() & gettype() : usage variations ***
-- Setting type of data to integer --
-- Iteration 1 --
string(4) "NULL"
bool(true)
int(0)
string(7) "integer"
-- Iteration 2 --
string(7) "boolean"
bool(true)
int(0)
string(7) "integer"
-- Iteration 3 --
string(7) "boolean"
bool(true)
int(1)
string(7) "integer"
-- Iteration 4 --
string(7) "boolean"
bool(true)
int(1)
string(7) "integer"
-- Iteration 5 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 6 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 7 --
string(6) "string"
bool(true)
int(3)
string(7) "integer"
-- Iteration 8 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 9 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 10 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 11 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 12 --
string(6) "string"
bool(true)
int(10)
string(7) "integer"
-- Iteration 13 --
string(6) "string"
bool(true)
int(10)
string(7) "integer"
-- Iteration 14 --
string(6) "string"
bool(true)
int(10)
string(7) "integer"
-- Iteration 15 --
string(6) "string"
bool(true)
int(10)
string(7) "integer"
-- Iteration 16 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 17 --
string(6) "string"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 18 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 19 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 20 --
string(6) "string"
bool(true)
int(2147483647)
string(7) "integer"
-- Iteration 21 --
string(6) "string"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 22 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 23 --
string(6) "string"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 24 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 25 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 26 --
string(6) "string"
bool(true)
int(2147483647)
string(7) "integer"
-- Iteration 27 --
string(6) "string"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 28 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 29 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 30 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 31 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 32 --
string(6) "string"
bool(true)
int(123)
string(7) "integer"
-- Iteration 33 --
string(6) "string"
bool(true)
int(123)
string(7) "integer"
-- Iteration 34 --
string(6) "string"
bool(true)
int(-123)
string(7) "integer"
-- Iteration 35 --
string(6) "string"
bool(true)
int(123)
string(7) "integer"
-- Iteration 36 --
string(6) "string"
bool(true)
int(-123)
string(7) "integer"
-- Iteration 37 --
string(6) "string"
bool(true)
int(123)
string(7) "integer"
-- Iteration 38 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 39 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 40 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 41 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 42 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 43 --
string(5) "array"
bool(true)
int(0)
string(7) "integer"
-- Iteration 44 --
string(5) "array"
bool(true)
int(1)
string(7) "integer"
-- Iteration 45 --
string(5) "array"
bool(true)
int(1)
string(7) "integer"
-- Iteration 46 --
string(5) "array"
bool(true)
int(1)
string(7) "integer"
-- Iteration 47 --
string(5) "array"
bool(true)
int(1)
string(7) "integer"
-- Iteration 48 --
string(6) "double"
bool(true)
int(-2147483648)
string(7) "integer"
-- Iteration 49 --
string(7) "integer"
bool(true)
int(2147483647)
string(7) "integer"
-- Iteration 50 --
string(6) "double"
bool(true)
int(-2147483647)
string(7) "integer"
-- Iteration 51 --
string(6) "double"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 52 --
string(7) "integer"
bool(true)
int(85)
string(7) "integer"
-- Iteration 53 --
string(6) "double"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 54 --
string(7) "integer"
bool(true)
int(-21903)
string(7) "integer"
-- Iteration 55 --
string(7) "integer"
bool(true)
int(365)
string(7) "integer"
-- Iteration 56 --
string(7) "integer"
bool(true)
int(-365)
string(7) "integer"
-- Iteration 57 --
string(6) "double"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 58 --
string(6) "double"
bool(true)
int(100000)
string(7) "integer"
-- Iteration 59 --
string(6) "double"
bool(true)
int(-100000)
string(7) "integer"
-- Iteration 60 --
string(6) "double"
bool(true)
int(100000)
string(7) "integer"
-- Iteration 61 --
string(6) "double"
bool(true)
int(-100000)
string(7) "integer"
-- Iteration 62 --
string(6) "double"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 63 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 64 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 65 --
string(6) "double"
bool(true)
int(500000)
string(7) "integer"
-- Iteration 66 --
string(6) "double"
bool(true)
int(-500000)
string(7) "integer"
-- Iteration 67 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 68 --
string(6) "double"
bool(true)
int(500000)
string(7) "integer"
-- Iteration 69 --
string(6) "double"
bool(true)
int(-500000)
string(7) "integer"
-- Iteration 70 --
string(6) "double"
bool(true)
int(512000)
string(7) "integer"
-- Iteration 71 --
string(6) "double"
bool(true)
int(-512000)
string(7) "integer"
-- Iteration 72 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 73 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 74 --
string(6) "double"
bool(true)
int(512000)
string(7) "integer"
-- Iteration 75 --
string(6) "double"
bool(true)
int(-512000)
string(7) "integer"
-- Iteration 76 --
string(6) "object"
8: Object of class point could not be converted to int
bool(true)
int(1)
string(7) "integer"
-- Iteration 77 --
string(6) "object"
8: Object of class point could not be converted to int
bool(true)
int(1)
string(7) "integer"
-- Iteration 78 --
string(6) "object"
8: Object of class point could not be converted to int
bool(true)
int(1)
string(7) "integer"
-- Iteration 79 --
string(4) "NULL"
bool(true)
int(0)
string(7) "integer"
-- Iteration 80 --
string(4) "NULL"
bool(true)
int(0)
string(7) "integer"
-- Setting type of data to int --
-- Iteration 1 --
string(4) "NULL"
bool(true)
int(0)
string(7) "integer"
-- Iteration 2 --
string(7) "boolean"
bool(true)
int(0)
string(7) "integer"
-- Iteration 3 --
string(7) "boolean"
bool(true)
int(1)
string(7) "integer"
-- Iteration 4 --
string(7) "boolean"
bool(true)
int(1)
string(7) "integer"
-- Iteration 5 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 6 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 7 --
string(6) "string"
bool(true)
int(3)
string(7) "integer"
-- Iteration 8 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 9 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 10 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 11 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 12 --
string(6) "string"
bool(true)
int(10)
string(7) "integer"
-- Iteration 13 --
string(6) "string"
bool(true)
int(10)
string(7) "integer"
-- Iteration 14 --
string(6) "string"
bool(true)
int(10)
string(7) "integer"
-- Iteration 15 --
string(6) "string"
bool(true)
int(10)
string(7) "integer"
-- Iteration 16 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 17 --
string(6) "string"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 18 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 19 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 20 --
string(6) "string"
bool(true)
int(2147483647)
string(7) "integer"
-- Iteration 21 --
string(6) "string"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 22 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 23 --
string(6) "string"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 24 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 25 --
string(6) "string"
bool(true)
int(1)
string(7) "integer"
-- Iteration 26 --
string(6) "string"
bool(true)
int(2147483647)
string(7) "integer"
-- Iteration 27 --
string(6) "string"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 28 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 29 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 30 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 31 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 32 --
string(6) "string"
bool(true)
int(123)
string(7) "integer"
-- Iteration 33 --
string(6) "string"
bool(true)
int(123)
string(7) "integer"
-- Iteration 34 --
string(6) "string"
bool(true)
int(-123)
string(7) "integer"
-- Iteration 35 --
string(6) "string"
bool(true)
int(123)
string(7) "integer"
-- Iteration 36 --
string(6) "string"
bool(true)
int(-123)
string(7) "integer"
-- Iteration 37 --
string(6) "string"
bool(true)
int(123)
string(7) "integer"
-- Iteration 38 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 39 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 40 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 41 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 42 --
string(6) "string"
bool(true)
int(0)
string(7) "integer"
-- Iteration 43 --
string(5) "array"
bool(true)
int(0)
string(7) "integer"
-- Iteration 44 --
string(5) "array"
bool(true)
int(1)
string(7) "integer"
-- Iteration 45 --
string(5) "array"
bool(true)
int(1)
string(7) "integer"
-- Iteration 46 --
string(5) "array"
bool(true)
int(1)
string(7) "integer"
-- Iteration 47 --
string(5) "array"
bool(true)
int(1)
string(7) "integer"
-- Iteration 48 --
string(6) "double"
bool(true)
int(-2147483648)
string(7) "integer"
-- Iteration 49 --
string(7) "integer"
bool(true)
int(2147483647)
string(7) "integer"
-- Iteration 50 --
string(6) "double"
bool(true)
int(-2147483647)
string(7) "integer"
-- Iteration 51 --
string(6) "double"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 52 --
string(7) "integer"
bool(true)
int(85)
string(7) "integer"
-- Iteration 53 --
string(6) "double"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 54 --
string(7) "integer"
bool(true)
int(-21903)
string(7) "integer"
-- Iteration 55 --
string(7) "integer"
bool(true)
int(365)
string(7) "integer"
-- Iteration 56 --
string(7) "integer"
bool(true)
int(-365)
string(7) "integer"
-- Iteration 57 --
string(6) "double"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 58 --
string(6) "double"
bool(true)
int(100000)
string(7) "integer"
-- Iteration 59 --
string(6) "double"
bool(true)
int(-100000)
string(7) "integer"
-- Iteration 60 --
string(6) "double"
bool(true)
int(100000)
string(7) "integer"
-- Iteration 61 --
string(6) "double"
bool(true)
int(-100000)
string(7) "integer"
-- Iteration 62 --
string(6) "double"
bool(true)
int(-1)
string(7) "integer"
-- Iteration 63 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 64 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 65 --
string(6) "double"
bool(true)
int(500000)
string(7) "integer"
-- Iteration 66 --
string(6) "double"
bool(true)
int(-500000)
string(7) "integer"
-- Iteration 67 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 68 --
string(6) "double"
bool(true)
int(500000)
string(7) "integer"
-- Iteration 69 --
string(6) "double"
bool(true)
int(-500000)
string(7) "integer"
-- Iteration 70 --
string(6) "double"
bool(true)
int(512000)
string(7) "integer"
-- Iteration 71 --
string(6) "double"
bool(true)
int(-512000)
string(7) "integer"
-- Iteration 72 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 73 --
string(6) "double"
bool(true)
int(0)
string(7) "integer"
-- Iteration 74 --
string(6) "double"
bool(true)
int(512000)
string(7) "integer"
-- Iteration 75 --
string(6) "double"
bool(true)
int(-512000)
string(7) "integer"
-- Iteration 76 --
string(6) "object"
8: Object of class point could not be converted to int
bool(true)
int(1)
string(7) "integer"
-- Iteration 77 --
string(6) "object"
8: Object of class point could not be converted to int
bool(true)
int(1)
string(7) "integer"
-- Iteration 78 --
string(6) "object"
8: Object of class point could not be converted to int
bool(true)
int(1)
string(7) "integer"
-- Iteration 79 --
string(4) "NULL"
bool(true)
int(0)
string(7) "integer"
-- Iteration 80 --
string(4) "NULL"
bool(true)
int(0)
string(7) "integer"
Done
================================================================================
260+ int(-1)
260- int(-508130303)
270+ int(-1)
270- int(1952002105)
290+ int(-1)
290- int(343000682)
665+ int(-1)
665- int(-508130303)
675+ int(-1)
675- int(1952002105)
695+ int(-1)
695- int(343000682)
================================================================================
================================================================================
/usr/local/src/php-5.2.3/ext/standard/tests/strings/pack.phpt
================================================================================
Array
(
[1] => h
)
Array
(
[1] => hello world
)
"hello "
Array
(
[1] => 129
)
Array
(
[1] => 127
)
Array
(
[1] => 255
)
Array
(
[1] => 127
)
Array
(
[1] => 4
)
Array
(
[1] => 65534
)
Array
(
[1] => 0
)
Array
(
[1] => -1000
)
Array
(
[1] => -64434
)
Array
(
[1] => -1
)
Array
(
[1] => -2147483648
)
Array
(
[1] => 65534
)
Array
(
[1] => 0
)
Array
(
[1] => -2147483646
)
Array
(
[1] => -1
)
Array
(
[1] => -2147483648
)
Array
(
[1] => 65534
)
Array
(
[1] => 0
)
Array
(
[1] => -2147483646
)
Array
(
[1] => -1
)
Array
(
[1] => -2147483648
)
Array
(
[1] => -30000
)
Array
(
[1] => 65534
)
Array
(
[1] => 1
)
Array
(
[1] => 0
)
Array
(
[1] => 64536
)
Array
(
[1] => 1102
)
Array
(
[1] => 1
)
Array
(
[1] => 65534
)
Array
(
[1] => 0
)
Array
(
[1] => -2147483646
)
Array
(
[1] => -1
)
Array
(
[1] => -2147483648
)
Array
(
[1] => h
)
Array
(
[1] => hello world
)
Array
(
[1] => -127
)
Array
(
[1] => 127
)
Array
(
[1] => -1
)
Array
(
[1] => 127
)
Array
(
[1] => 3
)
Array
(
[1] => 65534
)
Array
(
[1] => 0
)
Array
(
[1] => -1000
)
Array
(
[1] => -64434
)
Array
(
[1] => -65535
)
Array
(
[1] => -2147483647
)
Array
(
[1] => 65534
)
Array
(
[1] => 0
)
Array
(
[1] => -2147483646
)
Array
(
[1] => -1
)
Array
(
[1] => -2147483648
)
Array
(
[1] => 65534
)
Array
(
[1] => 1
)
Array
(
[1] => 0
)
Array
(
[1] => 64536
)
Array
(
[1] => 1102
)
Array
(
[1] => 1
)
Array
(
[1] => 32767
)
Array
(
[1] => -1
)
Array
(
[1] => 0
)
Array
(
[1] => -1000
)
Array
(
[1] => 1102
)
Array
(
[1] => 1
)
Array
(
[1] => 65534
)
Array
(
[1] => 1
)
Array
(
[1] => 0
)
Array
(
[1] => 64536
)
Array
(
[1] => 1102
)
Array
(
[1] => 1
)
================================================================================
048+ [1] => -1
048- [1] => 0
088+ [1] => -1
088- [1] => 0
136+ [1] => -1
136- [1] => 0
208+ [1] => -1
208- [1] => 0
================================================================================
================================================================================
/usr/local/src/php-5.2.3/ext/standard/tests/strings/strripos_offset.phpt
================================================================================
================================================================================
001- Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
002- bool(false)
004- Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
005- bool(false)
006-
007- Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
008- bool(false)
009-
010- Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
011- bool(false)
012-
013- Warning: strripos() expects parameter 1 to be string, array given in %s on line %d
014- bool(false)
015-
016- Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
017- bool(false)
018-
019- Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
020- bool(false)
021-
022- Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
023- bool(false)
024-
025- Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
026- bool(false)
027- Done
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
Linux - Linux localhost 2.4.34.1 #1 Tue Jun 5 23:56:00 JST 2007 ppc
Autoconf:
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
Bundled Libtool:
ltmain.sh (GNU libtool) 1.5.20 (1.1220.2.287 2005/08/31 18:54:15)
Copyright (C) 2005 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.
System Libtool:
N/A
Compiler:
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --disable-softfloat
--enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --enable-checking=release
powerpc-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Bison:
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Libraries:
libcrypt.so.1 => /lib/libcrypt.so.1 (0x0ffb3000)
librt.so.1 => /lib/librt.so.1 (0x0ff7f000)
libresolv.so.2 => /lib/libresolv.so.2 (0x0ff4c000)
libm.so.6 => /lib/libm.so.6 (0x0feb4000)
libdl.so.2 => /lib/libdl.so.2 (0x0fe90000)
libnsl.so.1 => /lib/libnsl.so.1 (0x0fe59000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0fde7000)
libc.so.6 => /lib/libc.so.6 (0x0fc90000)
/lib/ld.so.1 (0x30000000)
User's E-mail:
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.2.3
System => Linux localhost 2.4.34.1 #1 Tue Jun 5 23:56:00 JST 2007 ppc
Build Date => Jul 28 2007 14:39:16
Configure Command => './configure' '--disable-all' '--enable-hash'
'--enable-mbstring' '--enable-pdo' '--enable-sqlite-utf8'
'--prefix=/mnt/apache_2.0.59/php_5.2.3'
'--with-apxs2=/mnt/apache_2.0.59/bin/apxs'
'--with-config-file-path=/mnt/apache_2.0.59/php_5.2.3' '--with-pcre-regex'
'--with-pdo-sqlite' '--with-sqlite'
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => /mnt/apache_2.0.59/php_5.2.3
Loaded Configuration File => (none)
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => no
Thread Safety => enabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => php, file, data, http, ftp
Registered Stream Socket Transports => tcp, udp, unix, udg
Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags,
convert.*, consumed
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
allow_url_include => Off => Off
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_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => On => On
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
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 => /mnt/apache_2.0.59/php_5.2.3/lib/php/extensions/no-debug-zts-20060613 =>
/mnt/apache_2.0.59/php_5.2.3/lib/php/extensions/no-debug-zts-20060613
file_uploads => On => On
highlight.bg => <font style="color: #FFFFFF">#FFFFFF</font> => <font
style="color: #FFFFFF">#FFFFFF</font>
highlight.comment => <font style="color: #FF8000">#FF8000</font> =>
<font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> =>
<font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> =>
<font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> =>
<font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> =>
<font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .: => .:
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
mail.force_extra_parameters => no value => no value
max_execution_time => 0 => 0
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend.ze1_compatibility_mode => Off => Off
date
date/time support => enabled
"Olson" Timezone Database Version => 2007.5
Timezone Database => internal
Default timezone => Asia/Tokyo
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value
hash
hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320
whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32
crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4
haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
mbstring
Multibyte Support => enabled
Multibyte string engine => libmbfl
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 4.4.4
Multibyte regex (oniguruma) backtrack check => On
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.strict_detection => Off => Off
mbstring.substitute_character => no value => no value
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.0 18-Dec-2006
PDO
PDO support => enabled
PDO drivers => sqlite2, sqlite
pdo_sqlite
PDO Driver for SQLite 3.x => enabled
PECL Module version => (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.2 2007/03/23 14:30:00 wez
Exp $
SQLite Library => 3.3.17
Reflection
Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.39 2007/05/29 08:44:05 helly Exp $
SQLite
SQLite support => enabled
PECL Module version => 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9 2007/05/19 17:58:22 iliaa Exp $
SQLite Library => 2.8.17
SQLite Encoding => UTF-8
Directive => Local Value => Master Value
sqlite.assoc_case => 0 => 0
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
Additional Modules
Module Name
Environment
Variable => Value
TEST_PHP_SRCDIR => /usr/local/src/php-5.2.3
SHELL => /bin/bash
TERM => xterm
MAKEFLAGS =>
SSH_CLIENT => deleted
OLDPWD => /usr/local/src/php-5.2.3
SSH_TTY => deleted
USER => root
SUDO_USER => temp
SUDO_UID => 1000
SSH_AUTH_SOCK => deleted
MAKELEVEL => 1
MFLAGS =>
PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
PWD => /usr/local/src/php-5.2.3
TEST_PHP_EXECUTABLE => /usr/local/src/php-5.2.3/sapi/cli/php
SUDO_COMMAND => /usr/bin/make test
HOME => /home/temp
SHLVL => 2
LOGNAME => root
SSH_CONNECTION => deleted
SUDO_GID => 1000
CC => /usr/local/src/php-5.2.3/meta_ccld
_ => /usr/local/src/php-5.2.3/sapi/cli/php
PHP Variables
Variable => Value
_SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/php-5.2.3
_SERVER["SHELL"] => /bin/bash
_SERVER["TERM"] => xterm
_SERVER["MAKEFLAGS"] =>
_SERVER["SSH_CLIENT"] => deleted
_SERVER["OLDPWD"] => /usr/local/src/php-5.2.3
_SERVER["SSH_TTY"] => deleted
_SERVER["USER"] => root
_SERVER["SUDO_USER"] => temp
_SERVER["SUDO_UID"] => 1000
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["MAKELEVEL"] => 1
_SERVER["MFLAGS"] =>
_SERVER["PATH"] =>
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
_SERVER["PWD"] => /usr/local/src/php-5.2.3
_SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-5.2.3/sapi/cli/php
_SERVER["SUDO_COMMAND"] => /usr/bin/make test
_SERVER["HOME"] => /home/temp
_SERVER["SHLVL"] => 2
_SERVER["LOGNAME"] => root
_SERVER["SSH_CONNECTION"] => deleted
_SERVER["SUDO_GID"] => 1000
_SERVER["CC"] => /usr/local/src/php-5.2.3/meta_ccld
_SERVER["_"] => /usr/local/src/php-5.2.3/sapi/cli/php
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1185603972
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["TEST_PHP_SRCDIR"] => /usr/local/src/php-5.2.3
_ENV["SHELL"] => /bin/bash
_ENV["TERM"] => xterm
_ENV["MAKEFLAGS"] =>
_ENV["SSH_CLIENT"] => deleted
_ENV["OLDPWD"] => /usr/local/src/php-5.2.3
_ENV["SSH_TTY"] => deleted
_ENV["USER"] => root
_ENV["SUDO_USER"] => temp
_ENV["SUDO_UID"] => 1000
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["MAKELEVEL"] => 1
_ENV["MFLAGS"] =>
_ENV["PATH"] =>
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
_ENV["PWD"] => /usr/local/src/php-5.2.3
_ENV["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-5.2.3/sapi/cli/php
_ENV["SUDO_COMMAND"] => /usr/bin/make test
_ENV["HOME"] => /home/temp
_ENV["SHLVL"] => 2
_ENV["LOGNAME"] => root
_ENV["SSH_CONNECTION"] => deleted
_ENV["SUDO_GID"] => 1000
_ENV["CC"] => /usr/local/src/php-5.2.3/meta_ccld
_ENV["_"] => /usr/local/src/php-5.2.3/sapi/cli/php
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.