Test results for 5.2.3 [failed]
| From: | noreply@php.net | Date: | Tue, 26 Jun 2007 14:18:42 +0000 |
| Subject: | Test results for 5.2.3 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-37004@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Testing register_shutdown_function() with timeout. (Bug: #21513) [tests/func/005a.phpt]
Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail on MacOS X)
[tests/lang/bug30638.phpt]
Test array_keys() function [ext/standard/tests/array/array_keys.phpt]
Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.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]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 71
Exts tested : 8
---------------------------------------------------------------------
Number of tests : 3251 1395
Tests skipped : 1856 ( 57.1%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 6 ( 0.2%) ( 0.4%)
Tests passed : 1389 ( 42.7%) ( 99.6%)
---------------------------------------------------------------------
Time taken : 139 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Testing register_shutdown_function() with timeout. (Bug: #21513) [tests/func/005a.phpt]
Bug #30638 (localeconv returns wrong LC_NUMERIC settings) (ok to fail on MacOS X)
[tests/lang/bug30638.phpt]
Test array_keys() function [ext/standard/tests/array/array_keys.phpt]
Sort with SORT_LOCALE_STRING [ext/standard/tests/array/locale_sort.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]
=====================================================================
================================================================================
/Volumes/XRAID/Users/admin/php-5.2.3/tests/func/005a.phpt
================================================================================
Start
** ERROR: process timed out **
================================================================================
002+
002- Shutdown
003+ ** ERROR: process timed out **
================================================================================
================================================================================
/Volumes/XRAID/Users/admin/php-5.2.3/tests/lang/bug30638.phpt
================================================================================
decimal_point: ,
thousands_sep:
================================================================================
002+ thousands_sep:
002- thousands_sep: .
================================================================================
================================================================================
/Volumes/XRAID/Users/admin/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
/Volumes/XRAID/Users/admin/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
/Volumes/XRAID/Users/admin/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
/Volumes/XRAID/Users/admin/php-5.2.3/ext/standard/tests/array/array_keys.php on line 91
NULL
Warning: Wrong parameter count for array_keys() in
/Volumes/XRAID/Users/admin/php-5.2.3/ext/standard/tests/array/array_keys.php on line 92
NULL
Warning: Wrong parameter count for array_keys() in
/Volumes/XRAID/Users/admin/php-5.2.3/ext/standard/tests/array/array_keys.php on line 93
NULL
Warning: Illegal offset type in
/Volumes/XRAID/Users/admin/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)
================================================================================
================================================================================
/Volumes/XRAID/Users/admin/php-5.2.3/ext/standard/tests/array/locale_sort.phpt
================================================================================
array(13) {
["AB"]=>
string(7) "Alberta"
["BC"]=>
string(20) "Colombie-Britannique"
["MB"]=>
string(8) "Manitoba"
["NB"]=>
string(17) "Nouveau-Brunswick"
["NS"]=>
string(15) "Nouvelle-Écosse"
["NU"]=>
string(7) "Nunavut"
["ON"]=>
string(7) "Ontario"
["QC"]=>
string(6) "Québec"
["SK"]=>
string(12) "Saskatchewan"
["NL"]=>
string(23) "Terre-Neuve-et-Labrador"
["YT"]=>
string(19) "Territoire du Yukon"
["NT"]=>
string(25) "Territoires du Nord-Ouest"
["PE"]=>
string(21) "Île-du-Prince-Édouard"
}
================================================================================
006- ["PE"]=>
007- string(21) "Île-du-Prince-Édouard"
026+ ["PE"]=>
027+ string(21) "Île-du-Prince-Édouard"
================================================================================
================================================================================
/Volumes/XRAID/Users/admin/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)
================================================================================
================================================================================
/Volumes/XRAID/Users/admin/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
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
Darwin - Darwin hgxserver.genetics.emory.edu 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23
16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh
Autoconf:
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.
Copyright (C) 2003 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.
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:
ltmain.sh (GNU libtool) 1.5.10 (1.1220.2.130 2004/09/19 12:13:49)
Copyright (C) 2003 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.
Compiler:
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --disable-checking -enable-werror
--prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0
--with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)
Bison:
GNU Bison version 1.28
Libraries:
User's E-mail: n
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.2.3
System => Darwin hgxserver.genetics.emory.edu 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23
16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh
Build Date => Jun 26 2007 10:15:31
Configure Command => './configure' '--prefix=/sw/php5'
'--enable-fastcgi' '--disable-all' '--with-apxs2=/sw/apache2/bin/apxs'
'--with-mysql=/sw' '--with-libxml=/sw'
'--with-openssl=/sw/lib/system-openssl' '--enable-ftp'
'--with-ldap=/sw' '--with-pcre-regex'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /sw/php5/lib
Loaded Configuration File => (none)
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => no
Thread Safety => disabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => php, file, data, http, ftp, https, ftps
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
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 => /sw/php5/lib/php/extensions/no-debug-non-zts-20060613 =>
/sw/php5/lib/php/extensions/no-debug-non-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 => America/New_York
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
ftp
FTP support => enabled
ldap
LDAP Support => enabled
RCS Version => $Id: ldap.c,v 1.161.2.3.2.5 2007/04/30 21:40:02 tony2001 Exp $
Total Links => 0/unlimited
API Version => 3001
Vendor Name => OpenLDAP
Vendor Version => 20327
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 4.1.22
MYSQL_MODULE_TYPE => external
MYSQL_SOCKET => /var/mysql/mysql.sock
MYSQL_INCLUDE => -I/usr/include/mysql
MYSQL_LIBS => -L/usr/lib/mysql -lmysqlclient -lz
Directive => Local Value => Master Value
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => no value => no value
mysql.default_socket => no value => no value
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off
openssl
OpenSSL support => enabled
OpenSSL Version => OpenSSL 0.9.7i 14 Oct 2005
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 7.0 18-Dec-2006
Reflection
Reflection => enabled
Version => $Id: php_reflection.c,v 1.164.2.33.2.39 2007/05/29 08:44:05 helly Exp $
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
MANPATH =>
/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man:/sw/lib/perl5/5.8.6/man
TEST_PHP_SRCDIR => /Users/admin/php-5.2.3
SHELL => /bin/sh
TERM => xterm-color
MAKEFLAGS =>
SSH_CLIENT => deleted
PERL5LIB => /sw/lib/perl5:/sw/lib/perl5/darwin
SSH_TTY => deleted
SGML_CATALOG_FILES => /sw/etc/sgml/catalog
USER => admin
SSH_AUTH_SOCK => deleted
__CF_USER_TEXT_ENCODING => 0x1F5:0:0
MAKELEVEL => 1
MFLAGS =>
PATH => /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin
_ => /Users/admin/php-5.2.3/sapi/cli/php
XML_CATALOG_FILES => /sw/etc/xml/catalog
PWD => /Users/admin/php-5.2.3
TEST_PHP_EXECUTABLE => /Users/admin/php-5.2.3/sapi/cli/php
HOME => /Users/admin
SHLVL => 3
SSH_CONNECTION => deleted
INFOPATH => /sw/share/info:/sw/info:/usr/share/info
CC => gcc
PHP Variables
Variable => Value
_SERVER["MANPATH"] =>
/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man:/sw/lib/perl5/5.8.6/man
_SERVER["TEST_PHP_SRCDIR"] => /Users/admin/php-5.2.3
_SERVER["SHELL"] => /bin/sh
_SERVER["TERM"] => xterm-color
_SERVER["MAKEFLAGS"] =>
_SERVER["SSH_CLIENT"] => deleted
_SERVER["PERL5LIB"] => /sw/lib/perl5:/sw/lib/perl5/darwin
_SERVER["SSH_TTY"] => deleted
_SERVER["SGML_CATALOG_FILES"] => /sw/etc/sgml/catalog
_SERVER["USER"] => admin
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["__CF_USER_TEXT_ENCODING"] => 0x1F5:0:0
_SERVER["MAKELEVEL"] => 1
_SERVER["MFLAGS"] =>
_SERVER["PATH"] => /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin
_SERVER["_"] => /Users/admin/php-5.2.3/sapi/cli/php
_SERVER["XML_CATALOG_FILES"] => /sw/etc/xml/catalog
_SERVER["PWD"] => /Users/admin/php-5.2.3
_SERVER["TEST_PHP_EXECUTABLE"] => /Users/admin/php-5.2.3/sapi/cli/php
_SERVER["HOME"] => /Users/admin
_SERVER["SHLVL"] => 3
_SERVER["SSH_CONNECTION"] => deleted
_SERVER["INFOPATH"] => /sw/share/info:/sw/info:/usr/share/info
_SERVER["CC"] => gcc
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1182867521
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["MANPATH"] =>
/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man:/sw/lib/perl5/5.8.6/man
_ENV["TEST_PHP_SRCDIR"] => /Users/admin/php-5.2.3
_ENV["SHELL"] => /bin/sh
_ENV["TERM"] => xterm-color
_ENV["MAKEFLAGS"] =>
_ENV["SSH_CLIENT"] => deleted
_ENV["PERL5LIB"] => /sw/lib/perl5:/sw/lib/perl5/darwin
_ENV["SSH_TTY"] => deleted
_ENV["SGML_CATALOG_FILES"] => /sw/etc/sgml/catalog
_ENV["USER"] => admin
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["__CF_USER_TEXT_ENCODING"] => 0x1F5:0:0
_ENV["MAKELEVEL"] => 1
_ENV["MFLAGS"] =>
_ENV["PATH"] => /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin
_ENV["_"] => /Users/admin/php-5.2.3/sapi/cli/php
_ENV["XML_CATALOG_FILES"] => /sw/etc/xml/catalog
_ENV["PWD"] => /Users/admin/php-5.2.3
_ENV["TEST_PHP_EXECUTABLE"] => /Users/admin/php-5.2.3/sapi/cli/php
_ENV["HOME"] => /Users/admin
_ENV["SHLVL"] => 3
_ENV["SSH_CONNECTION"] => deleted
_ENV["INFOPATH"] => /sw/share/info:/sw/info:/usr/share/info
_ENV["CC"] => gcc
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.