cvs: php-src /ext/standard/tests/general_functions 005.phpt 008.phpt bug27678.phpt bug31190.phpt bug34794.phpt bug36011.phpt bug39322.phpt
bug40398.phpt bug40752.phpt bug41037.phpt bug41445.phpt bug41445_1.phpt bug41518.phpt bug43293_1.phpt bug43293_2.phpt bug43293_3.phpt bug44461.phpt
bug44667.phpt call_user_func_return.phpt debug_zval_dump_b.phpt debug_zval_dump_b_64bit.phpt debug_zval_dump_o.phpt debug_zval_dump_v.phpt
dl-cve-2007-4887.phpt error_get_last.phpt floatval.phpt getopt.phpt getopt_002.phpt getopt_003.phpt getopt_004.phpt getopt_005.phpt getrusage.phpt
gettype_settype_basic.phpt gettype_settype_error.phpt gettype_settype_variation1.phpt gettype_settype_variation2.phpt gettype_settype_variation3.phpt
gettype_settype_variation4.phpt gettype_settype_variation5.phpt gettype_settype_variation6.phpt gettype_settype_variation7.phpt
gettype_settype_variation8.phpt head.phpt import_request.phpt import_request1.phpt import_request2.phpt import_request3.phpt incl! ude_path.phpt
ini_get_all.phpt intval.phpt is_bool.phpt is_callable.phpt is_int.phpt is_null.phpt parse_ini_basic.phpt parse_ini_booleans.phpt parse_ini_file.phpt
proc_open02.phpt putenv.phpt rand.phpt strval.phpt sys_getloadavg.phpt type.phpt var_dump.phpt var_dump_64bit.phpt var_export.phpt
| From: | Steph Fox | Date: | Tue, 27 May 2008 00:04:33 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/general_functions 005.phpt 008.phpt bug27678.phpt bug31190.phpt bug34794.phpt bug36011.phpt bug39322.phpt bug40398.phpt bug40752.phpt bug41037.phpt bug41445.phpt bug41445_1.phpt bug41518.phpt bug43293_1.phpt bug43293_2.phpt bug43293_3.phpt bug44461.phpt bug44667.phpt call_user_func_return.phpt debug_zval_dump_b.phpt debug_zval_dump_b_64bit.phpt debug_zval_dump_o.phpt debug_zval_dump_v.phpt dl-cve-2007-4887.phpt error_get_last.phpt floatval.phpt getopt.phpt getopt_002.phpt getopt_003.phpt getopt_004.phpt getopt_005.phpt getrusage.phpt gettype_settype_basic.phpt gettype_settype_error.phpt gettype_settype_variation1.phpt gettype_settype_variation2.phpt gettype_settype_variation3.phpt gettype_settype_variation4.phpt gettype_settype_variation5.phpt gettype_settype_variation6.phpt gettype_settype_variation7.phpt gettype_settype_variation8.phpt head.phpt import_request.phpt import_request1.phpt import_request2.phpt import_request3.phpt incl! ude_path.phpt ini_get_all.phpt intval.phpt is_bool.phpt is_callable.phpt is_int.phpt is_null.phpt parse_ini_basic.phpt parse_ini_booleans.phpt parse_ini_file.phpt proc_open02.phpt putenv.phpt rand.phpt strval.phpt sys_getloadavg.phpt type.phpt var_dump.phpt var_dump_64bit.phpt var_export.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50157@lists.php.net to get a copy of this message | ||
sfox Tue May 27 00:04:33 2008 UTC
Modified files:
/php-src/ext/standard/tests/general_functions 005.phpt 008.phpt
bug27678.phpt
bug31190.phpt
bug34794.phpt
bug36011.phpt
bug39322.phpt
bug40398.phpt
bug40752.phpt
bug41037.phpt
bug41445.phpt
bug41445_1.phpt
bug41518.phpt
bug43293_1.phpt
bug43293_2.phpt
bug43293_3.phpt
bug44461.phpt
bug44667.phpt
call_user_func_return.phpt
debug_zval_dump_b.phpt
debug_zval_dump_b_64bit.phpt
debug_zval_dump_o.phpt
debug_zval_dump_v.phpt
dl-cve-2007-4887.phpt
error_get_last.phpt
floatval.phpt
getopt.phpt
getopt_002.phpt
getopt_003.phpt
getopt_004.phpt
getopt_005.phpt
getrusage.phpt
gettype_settype_basic.phpt
gettype_settype_error.phpt
gettype_settype_variation1.phpt
gettype_settype_variation2.phpt
gettype_settype_variation3.phpt
gettype_settype_variation4.phpt
gettype_settype_variation5.phpt
gettype_settype_variation6.phpt
gettype_settype_variation7.phpt
gettype_settype_variation8.phpt
head.phpt
import_request.phpt
import_request1.phpt
import_request2.phpt
import_request3.phpt
include_path.phpt
ini_get_all.phpt
intval.phpt
is_bool.phpt
is_callable.phpt
is_int.phpt
is_null.phpt
parse_ini_basic.phpt
parse_ini_booleans.phpt
parse_ini_file.phpt
proc_open02.phpt
putenv.phpt rand.phpt
strval.phpt
sys_getloadavg.phpt
type.phpt
var_dump.phpt
var_dump_64bit.phpt
var_export.phpt
Log:
- killed off UEXPECT
- E_DEPRECATED doesn't always allow stuff to pass?
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/005.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/005.phpt diff -u php-src/ext/standard/tests/general_functions/005.phpt:1.2 php-src/ext/standard/tests/general_functions/005.phpt:1.3 --- php-src/ext/standard/tests/general_functions/005.phpt:1.2 Wed May 19 08:54:51 2004 +++ php-src/ext/standard/tests/general_functions/005.phpt Tue May 27 00:04:31 2008 @@ -21,4 +21,3 @@ bool(false) bool(false) bool(false) - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/008.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/008.phpt diff -u php-src/ext/standard/tests/general_functions/008.phpt:1.3 php-src/ext/standard/tests/general_functions/008.phpt:1.4 --- php-src/ext/standard/tests/general_functions/008.phpt:1.3 Tue Jan 17 12:18:53 2006 +++ php-src/ext/standard/tests/general_functions/008.phpt Tue May 27 00:04:31 2008 @@ -10,37 +10,6 @@ --EXPECT-- 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) -} ---UEXPECT-- -array(14) { - [0]=> unicode(2) "12" [1]=> float(0.012) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug27678.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug27678.phpt diff -u php-src/ext/standard/tests/general_functions/bug27678.phpt:1.3 php-src/ext/standard/tests/general_functions/bug27678.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug27678.phpt:1.3 Tue Dec 5 23:03:42 2006 +++ php-src/ext/standard/tests/general_functions/bug27678.phpt Tue May 27 00:04:31 2008 @@ -10,5 +10,5 @@ echo "Done\n"; ?> ---EXPECT-- +--EXPECT-- Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug31190.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug31190.phpt diff -u php-src/ext/standard/tests/general_functions/bug31190.phpt:1.3 php-src/ext/standard/tests/general_functions/bug31190.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug31190.phpt:1.3 Thu Apr 21 14:04:12 2005 +++ php-src/ext/standard/tests/general_functions/bug31190.phpt Tue May 27 00:04:31 2008 @@ -23,4 +23,3 @@ --EXPECT-- Hello World! Hello World! - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug34794.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug34794.phpt diff -u php-src/ext/standard/tests/general_functions/bug34794.phpt:1.3 php-src/ext/standard/tests/general_functions/bug34794.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug34794.phpt:1.3 Mon May 7 16:50:40 2007 +++ php-src/ext/standard/tests/general_functions/bug34794.phpt Tue May 27 00:04:31 2008 @@ -26,7 +26,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- Opening process 1 Opening process 2 Closing process 1 http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug36011.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug36011.phpt diff -u php-src/ext/standard/tests/general_functions/bug36011.phpt:1.1 php-src/ext/standard/tests/general_functions/bug36011.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug36011.phpt:1.1 Sat Jan 14 15:21:46 2006 +++ php-src/ext/standard/tests/general_functions/bug36011.phpt Tue May 27 00:04:31 2008 @@ -37,7 +37,7 @@ ?> ===DONE=== ---EXPECTF-- +--EXPECT-- TestClass::test() TestClass::test() TestClass::test() http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug39322.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug39322.phpt diff -u php-src/ext/standard/tests/general_functions/bug39322.phpt:1.4 php-src/ext/standard/tests/general_functions/bug39322.phpt:1.5 --- php-src/ext/standard/tests/general_functions/bug39322.phpt:1.4 Mon May 7 16:50:40 2007 +++ php-src/ext/standard/tests/general_functions/bug39322.phpt Tue May 27 00:04:31 2008 @@ -24,26 +24,6 @@ ?> --EXPECTF-- array(8) { - ["command"]=> - string(14) "/bin/sleep 120" - ["pid"]=> - int(%d) - ["running"]=> - bool(false) - ["signaled"]=> - bool(true) - ["stopped"]=> - bool(false) - ["exitcode"]=> - int(-1) - ["termsig"]=> - int(15) - ["stopsig"]=> - int(0) -} -Done! ---UEXPECTF-- -array(8) { [u"command"]=> unicode(14) "/bin/sleep 120" [u"pid"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug40398.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug40398.phpt diff -u php-src/ext/standard/tests/general_functions/bug40398.phpt:1.4 php-src/ext/standard/tests/general_functions/bug40398.phpt:1.5 --- php-src/ext/standard/tests/general_functions/bug40398.phpt:1.4 Mon Feb 4 15:22:08 2008 +++ php-src/ext/standard/tests/general_functions/bug40398.phpt Tue May 27 00:04:31 2008 @@ -90,19 +90,3 @@ Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_6 in %s on line %d Base::__construct(6) ===DONE=== ---UEXPECTF-- -Base::__construct(1) -Base::__construct(2) - -Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_3 in %s on line %d -Base::__construct(3) - -Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_4 in %s on line %d -Base::__construct(4) - -Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_5 in %s on line %d -Base::__construct(5) - -Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_6 in %s on line %d -Base::__construct(6) -===DONE=== http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug40752.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug40752.phpt diff -u php-src/ext/standard/tests/general_functions/bug40752.phpt:1.1 php-src/ext/standard/tests/general_functions/bug40752.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug40752.phpt:1.1 Thu Mar 8 00:43:06 2007 +++ php-src/ext/standard/tests/general_functions/bug40752.phpt Tue May 27 00:04:31 2008 @@ -22,20 +22,7 @@ echo "Done\n"; ?> ---EXPECTF-- -array(1) { - ["foo"]=> - array(1) { - [0]=> - string(1) "1" - } -} -array(1) { - ["foo"]=> - string(1) "1" -} -Done ---UEXPECTF-- +--EXPECT-- array(1) { [u"foo"]=> array(1) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41037.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug41037.phpt diff -u php-src/ext/standard/tests/general_functions/bug41037.phpt:1.1 php-src/ext/standard/tests/general_functions/bug41037.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug41037.phpt:1.1 Tue Apr 10 09:36:10 2007 +++ php-src/ext/standard/tests/general_functions/bug41037.phpt Tue May 27 00:04:31 2008 @@ -13,7 +13,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- hello Warning: unregister_tick_function(): Unable to delete tick function executed at the moment in %s on line %d Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41445.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug41445.phpt diff -u php-src/ext/standard/tests/general_functions/bug41445.phpt:1.1 php-src/ext/standard/tests/general_functions/bug41445.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug41445.phpt:1.1 Tue Jun 26 12:08:50 2007 +++ php-src/ext/standard/tests/general_functions/bug41445.phpt Tue May 27 00:04:31 2008 @@ -35,45 +35,7 @@ echo "Done\n"; ?> ---EXPECTF-- -array(2) { - ["001099030277"]=> - array(1) { - ["option1"]=> - string(1) "1" - } - ["011099030277"]=> - array(1) { - ["option2"]=> - string(1) "1" - } -} -array(2) { - ["option1"]=> - string(1) "1" - ["option2"]=> - string(1) "1" -} -array(2) { - ["23.44"]=> - array(1) { - ["option1"]=> - string(1) "1" - } - ["9633337363542736472364"]=> - array(1) { - ["option2"]=> - string(1) "1" - } -} -array(2) { - ["option1"]=> - string(1) "1" - ["option2"]=> - string(1) "1" -} -Done ---UEXPECTF-- +--EXPECT-- array(2) { [u"001099030277"]=> array(1) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41445_1.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug41445_1.phpt diff -u php-src/ext/standard/tests/general_functions/bug41445_1.phpt:1.1 php-src/ext/standard/tests/general_functions/bug41445_1.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug41445_1.phpt:1.1 Tue Jun 26 12:08:50 2007 +++ php-src/ext/standard/tests/general_functions/bug41445_1.phpt Tue May 27 00:04:31 2008 @@ -25,34 +25,7 @@ echo "Done\n"; ?> ---EXPECTF-- -array(3) { - ["2454.33"]=> - array(1) { - ["09"]=> - string(1) "1" - } - [9876543]=> - array(1) { - ["098765434567876543"]=> - string(1) "1" - } - ["09876543"]=> - array(1) { - ["987654345678765432456798765434567876543"]=> - string(1) "1" - } -} -array(3) { - ["09"]=> - string(1) "1" - ["098765434567876543"]=> - string(1) "1" - ["987654345678765432456798765434567876543"]=> - string(1) "1" -} -Done ---UEXPECTF-- +--EXPECT-- array(3) { [u"2454.33"]=> array(1) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41518.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug41518.phpt diff -u php-src/ext/standard/tests/general_functions/bug41518.phpt:1.2 php-src/ext/standard/tests/general_functions/bug41518.phpt:1.3 --- php-src/ext/standard/tests/general_functions/bug41518.phpt:1.2 Mon Jun 4 17:18:28 2007 +++ php-src/ext/standard/tests/general_functions/bug41518.phpt Tue May 27 00:04:31 2008 @@ -24,7 +24,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- bool(true) bool(false) Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug43293_1.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug43293_1.phpt diff -u php-src/ext/standard/tests/general_functions/bug43293_1.phpt:1.3 php-src/ext/standard/tests/general_functions/bug43293_1.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug43293_1.phpt:1.3 Thu Dec 6 15:23:57 2007 +++ php-src/ext/standard/tests/general_functions/bug43293_1.phpt Tue May 27 00:04:31 2008 @@ -22,4 +22,3 @@ int(3) } bool(false) - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug43293_2.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug43293_2.phpt diff -u php-src/ext/standard/tests/general_functions/bug43293_2.phpt:1.3 php-src/ext/standard/tests/general_functions/bug43293_2.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug43293_2.phpt:1.3 Thu Dec 6 15:23:57 2007 +++ php-src/ext/standard/tests/general_functions/bug43293_2.phpt Tue May 27 00:04:31 2008 @@ -10,4 +10,3 @@ --EXPECT-- array(0) { } - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug43293_3.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug43293_3.phpt diff -u php-src/ext/standard/tests/general_functions/bug43293_3.phpt:1.3 php-src/ext/standard/tests/general_functions/bug43293_3.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug43293_3.phpt:1.3 Thu Dec 6 15:23:57 2007 +++ php-src/ext/standard/tests/general_functions/bug43293_3.phpt Tue May 27 00:04:31 2008 @@ -25,24 +25,5 @@ [1]=> bool(false) [2]=> - string(1) "f" -} ---UEXPECT-- -array(1) { - ["f"]=> - array(2) { - [0]=> - bool(false) - [1]=> - bool(false) - } -} -array(3) { - [0]=> - bool(true) - [1]=> - bool(false) - [2]=> unicode(1) "f" } - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44461.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug44461.phpt diff -u php-src/ext/standard/tests/general_functions/bug44461.phpt:1.1 php-src/ext/standard/tests/general_functions/bug44461.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug44461.phpt:1.1 Fri Mar 21 15:18:18 2008 +++ php-src/ext/standard/tests/general_functions/bug44461.phpt Tue May 27 00:04:31 2008 @@ -15,4 +15,4 @@ unlink(__DIR__ . 'bug44461.ini'); ?> --EXPECT-- -===DONE=== \ No newline at end of file +===DONE=== http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44667.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug44667.phpt diff -u php-src/ext/standard/tests/general_functions/bug44667.phpt:1.1 php-src/ext/standard/tests/general_functions/bug44667.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug44667.phpt:1.1 Tue Apr 8 08:42:05 2008 +++ php-src/ext/standard/tests/general_functions/bug44667.phpt Tue May 27 00:04:31 2008 @@ -28,6 +28,6 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- Result is: Hello Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/call_user_func_return.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/call_user_func_return.phpt diff -u php-src/ext/standard/tests/general_functions/call_user_func_return.phpt:1.3 php-src/ext/standard/tests/general_functions/call_user_func_return.phpt:1.4 --- php-src/ext/standard/tests/general_functions/call_user_func_return.phpt:1.3 Fri Jul 13 09:13:58 2007 +++ php-src/ext/standard/tests/general_functions/call_user_func_return.phpt Tue May 27 00:04:31 2008 @@ -32,17 +32,7 @@ ?> ===DONE=== ---EXPECTF-- -Direct Call -string(5) "test1" refcount(1) -User Func -string(5) "test1" refcount(1) -Direct Call -string(5) "test2" refcount(2) -User Func -string(5) "test2" refcount(1) -===DONE=== ---UEXPECTF-- +--EXPECT-- Direct Call unicode(5) "test1" { 0074 0065 0073 0074 0031 } refcount(1) User Func http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt diff -u php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt:1.5 php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt:1.6 --- php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt:1.5 Sat Feb 23 19:26:08 2008 +++ php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt Tue May 27 00:04:31 2008 @@ -183,287 +183,6 @@ double(1.0E-5) refcount(3) &double(1.0E-5) refcount(2) -- Iteration 27 -- -string(0) "" refcount(3) -&string(0) "" refcount(2) --- Iteration 28 -- -string(0) "" refcount(3) -&string(0) "" refcount(2) --- Iteration 29 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 30 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 31 -- -string(1) "0" refcount(3) -&string(1) "0" refcount(2) --- Iteration 32 -- -string(1) "-&string(1) "--- Iteration 33 -- -string(2) "\0" refcount(3) -&string(2) "\0" refcount(2) --- Iteration 34 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 35 -- -string(2) "\t" refcount(3) -&string(2) "\t" refcount(2) --- Iteration 36 -- -string(3) "PHP" refcount(3) -&string(3) "PHP" refcount(2) --- Iteration 37 -- -string(3) "PHP" refcount(3) -&string(3) "PHP" refcount(2) --- Iteration 38 -- -string(34) "1234 -5678 - 9100abcda-&string(34) "1234 -5678 - 9100abcda--- Iteration 39 -- -bool(true) refcount(3) -&bool(true) refcount(2) --- Iteration 40 -- -bool(false) refcount(3) -&bool(false) refcount(2) --- Iteration 41 -- -bool(true) refcount(3) -&bool(true) refcount(2) --- Iteration 42 -- -bool(false) refcount(3) -&bool(false) refcount(2) --- Iteration 43 -- -array(0) refcount(3){ -} -&array(0) refcount(2){ -} --- Iteration 44 -- -array(1) refcount(3){ - [0]=> - NULL refcount(1) -} -&array(1) refcount(2){ - [0]=> - NULL refcount(2) -} --- Iteration 45 -- -array(1) refcount(3){ - [0]=> - bool(true) refcount(1) -} -&array(1) refcount(2){ - [0]=> - bool(true) refcount(2) -} --- Iteration 46 -- -array(1) refcount(3){ - [0]=> - string(0) "" refcount(1) -} -&array(1) refcount(2){ - [0]=> - string(0) "" refcount(2) -} --- Iteration 47 -- -array(1) refcount(3){ - [0]=> - string(0) "" refcount(1) -} -&array(1) refcount(2){ - [0]=> - string(0) "" refcount(2) -} --- Iteration 48 -- -array(2) refcount(3){ - [0]=> - array(2) refcount(1){ - [0]=> - long(1) refcount(1) - [1]=> - long(2) refcount(1) - } - [1]=> - array(2) refcount(1){ - [0]=> - string(1) "a" refcount(1) - [1]=> - string(1) "b" refcount(1) - } -} -&array(2) refcount(2){ - [0]=> - array(2) refcount(2){ - [0]=> - long(1) refcount(1) - [1]=> - long(2) refcount(1) - } - [1]=> - array(2) refcount(2){ - [0]=> - string(1) "a" refcount(1) - [1]=> - string(1) "b" refcount(1) - } -} --- Iteration 49 -- -array(2) refcount(3){ - ["test"]=> - string(8) "is_array" refcount(1) - [1]=> - string(3) "One" refcount(1) -} -&array(2) refcount(2){ - ["test"]=> - string(8) "is_array" refcount(2) - [1]=> - string(3) "One" refcount(2) -} --- Iteration 50 -- -array(1) refcount(3){ - [0]=> - long(0) refcount(1) -} -&array(1) refcount(2){ - [0]=> - long(0) refcount(2) -} --- Iteration 51 -- -array(1) refcount(3){ - [0]=> - long(-1) refcount(1) -} -&array(1) refcount(2){ - [0]=> - long(-1) refcount(2) -} --- Iteration 52 -- -array(2) refcount(3){ - [0]=> - double(10.5) refcount(1) - [1]=> - double(5.6) refcount(1) -} -&array(2) refcount(2){ - [0]=> - double(10.5) refcount(2) - [1]=> - double(5.6) refcount(2) -} --- Iteration 53 -- -array(2) refcount(3){ - [0]=> - string(6) "string" refcount(1) - [1]=> - string(4) "test" refcount(1) -} -&array(2) refcount(2){ - [0]=> - string(6) "string" refcount(2) - [1]=> - string(4) "test" refcount(2) -} --- Iteration 54 -- -array(2) refcount(3){ - [0]=> - string(6) "string" refcount(1) - [1]=> - string(4) "test" refcount(1) -} -&array(2) refcount(2){ - [0]=> - string(6) "string" refcount(2) - [1]=> - string(4) "test" refcount(2) -} --- Iteration 55 -- -resource(%d) of type (stream) refcount(4) -&resource(%d) of type (stream) refcount(2) -Done ---UEXPECTF-- -Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d -*** Testing debug_zval_dump() on scalar and non-scalar variables *** --- Iteration 1 -- -long(0) refcount(3) -&long(0) refcount(2) --- Iteration 2 -- -long(83) refcount(3) -&long(83) refcount(2) --- Iteration 3 -- -long(123000000) refcount(3) -&long(123000000) refcount(2) --- Iteration 4 -- -long(-83) refcount(3) -&long(-83) refcount(2) --- Iteration 5 -- -long(-12300000) refcount(3) -&long(-12300000) refcount(2) --- Iteration 6 -- -long(16777215) refcount(3) -&long(16777215) refcount(2) --- Iteration 7 -- -long(123456789) refcount(3) -&long(123456789) refcount(2) --- Iteration 8 -- -long(1) refcount(3) -&long(1) refcount(2) --- Iteration 9 -- -long(-1) refcount(3) -&long(-1) refcount(2) --- Iteration 10 -- -double(0) refcount(3) -&double(0) refcount(2) --- Iteration 11 -- -double(0) refcount(3) -&double(0) refcount(2) --- Iteration 12 -- -double(1.234) refcount(3) -&double(1.234) refcount(2) --- Iteration 13 -- -double(-1.234) refcount(3) -&double(-1.234) refcount(2) --- Iteration 14 -- -double(-2) refcount(3) -&double(-2) refcount(2) --- Iteration 15 -- -double(2) refcount(3) -&double(2) refcount(2) --- Iteration 16 -- -double(-400010) refcount(3) -&double(-400010) refcount(2) --- Iteration 17 -- -double(400010) refcount(3) -&double(400010) refcount(2) --- Iteration 18 -- -double(6.99999989) refcount(3) -&double(6.99999989) refcount(2) --- Iteration 19 -- -double(-0.5) refcount(3) -&double(-0.5) refcount(2) --- Iteration 20 -- -double(0.567) refcount(3) -&double(0.567) refcount(2) --- Iteration 21 -- -double(-0.00067) refcount(3) -&double(-0.00067) refcount(2) --- Iteration 22 -- -double(-670) refcount(3) -&double(-670) refcount(2) --- Iteration 23 -- -double(1.0E-5) refcount(3) -&double(1.0E-5) refcount(2) --- Iteration 24 -- -double(-100000) refcount(3) -&double(-100000) refcount(2) --- Iteration 25 -- -double(100000) refcount(3) -&double(100000) refcount(2) --- Iteration 26 -- -double(1.0E-5) refcount(3) -&double(1.0E-5) refcount(2) --- Iteration 27 -- unicode(0) "" refcount(3) &unicode(0) "" refcount(2) -- Iteration 28 -- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt diff -u php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt:1.2 php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt:1.3 --- php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt:1.2 Tue May 29 12:42:19 2007 +++ php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt Tue May 27 00:04:31 2008 @@ -183,287 +183,6 @@ double(1.0E-5) refcount(3) &double(1.0E-5) refcount(2) -- Iteration 27 -- -string(0) "" refcount(3) -&string(0) "" refcount(2) --- Iteration 28 -- -string(0) "" refcount(3) -&string(0) "" refcount(2) --- Iteration 29 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 30 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 31 -- -string(1) "0" refcount(3) -&string(1) "0" refcount(2) --- Iteration 32 -- -string(1) "-&string(1) "--- Iteration 33 -- -string(2) "\0" refcount(3) -&string(2) "\0" refcount(2) --- Iteration 34 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 35 -- -string(2) "\t" refcount(3) -&string(2) "\t" refcount(2) --- Iteration 36 -- -string(3) "PHP" refcount(3) -&string(3) "PHP" refcount(2) --- Iteration 37 -- -string(3) "PHP" refcount(3) -&string(3) "PHP" refcount(2) --- Iteration 38 -- -string(34) "1234 -5678 - 9100abcda-&string(34) "1234 -5678 - 9100abcda--- Iteration 39 -- -bool(true) refcount(3) -&bool(true) refcount(2) --- Iteration 40 -- -bool(false) refcount(3) -&bool(false) refcount(2) --- Iteration 41 -- -bool(true) refcount(3) -&bool(true) refcount(2) --- Iteration 42 -- -bool(false) refcount(3) -&bool(false) refcount(2) --- Iteration 43 -- -array(0) refcount(3){ -} -&array(0) refcount(2){ -} --- Iteration 44 -- -array(1) refcount(3){ - [0]=> - NULL refcount(1) -} -&array(1) refcount(2){ - [0]=> - NULL refcount(2) -} --- Iteration 45 -- -array(1) refcount(3){ - [0]=> - bool(true) refcount(1) -} -&array(1) refcount(2){ - [0]=> - bool(true) refcount(2) -} --- Iteration 46 -- -array(1) refcount(3){ - [0]=> - string(0) "" refcount(1) -} -&array(1) refcount(2){ - [0]=> - string(0) "" refcount(2) -} --- Iteration 47 -- -array(1) refcount(3){ - [0]=> - string(0) "" refcount(1) -} -&array(1) refcount(2){ - [0]=> - string(0) "" refcount(2) -} --- Iteration 48 -- -array(2) refcount(3){ - [0]=> - array(2) refcount(1){ - [0]=> - long(1) refcount(1) - [1]=> - long(2) refcount(1) - } - [1]=> - array(2) refcount(1){ - [0]=> - string(1) "a" refcount(1) - [1]=> - string(1) "b" refcount(1) - } -} -&array(2) refcount(2){ - [0]=> - array(2) refcount(2){ - [0]=> - long(1) refcount(1) - [1]=> - long(2) refcount(1) - } - [1]=> - array(2) refcount(2){ - [0]=> - string(1) "a" refcount(1) - [1]=> - string(1) "b" refcount(1) - } -} --- Iteration 49 -- -array(2) refcount(3){ - ["test"]=> - string(8) "is_array" refcount(1) - [1]=> - string(3) "One" refcount(1) -} -&array(2) refcount(2){ - ["test"]=> - string(8) "is_array" refcount(2) - [1]=> - string(3) "One" refcount(2) -} --- Iteration 50 -- -array(1) refcount(3){ - [0]=> - long(0) refcount(1) -} -&array(1) refcount(2){ - [0]=> - long(0) refcount(2) -} --- Iteration 51 -- -array(1) refcount(3){ - [0]=> - long(-1) refcount(1) -} -&array(1) refcount(2){ - [0]=> - long(-1) refcount(2) -} --- Iteration 52 -- -array(2) refcount(3){ - [0]=> - double(10.5) refcount(1) - [1]=> - double(5.6) refcount(1) -} -&array(2) refcount(2){ - [0]=> - double(10.5) refcount(2) - [1]=> - double(5.6) refcount(2) -} --- Iteration 53 -- -array(2) refcount(3){ - [0]=> - string(6) "string" refcount(1) - [1]=> - string(4) "test" refcount(1) -} -&array(2) refcount(2){ - [0]=> - string(6) "string" refcount(2) - [1]=> - string(4) "test" refcount(2) -} --- Iteration 54 -- -array(2) refcount(3){ - [0]=> - string(6) "string" refcount(1) - [1]=> - string(4) "test" refcount(1) -} -&array(2) refcount(2){ - [0]=> - string(6) "string" refcount(2) - [1]=> - string(4) "test" refcount(2) -} --- Iteration 55 -- -resource(%d) of type (stream) refcount(4) -&resource(%d) of type (stream) refcount(2) -Done ---UEXPECTF-- -Strict Standards: Call-time pass-by-reference has been deprecated in %s on line %d -*** Testing debug_zval_dump() on scalar and non-scalar variables *** --- Iteration 1 -- -long(0) refcount(3) -&long(0) refcount(2) --- Iteration 2 -- -long(83) refcount(3) -&long(83) refcount(2) --- Iteration 3 -- -long(123000000) refcount(3) -&long(123000000) refcount(2) --- Iteration 4 -- -long(-83) refcount(3) -&long(-83) refcount(2) --- Iteration 5 -- -long(-12300000) refcount(3) -&long(-12300000) refcount(2) --- Iteration 6 -- -long(16777215) refcount(3) -&long(16777215) refcount(2) --- Iteration 7 -- -long(123456789) refcount(3) -&long(123456789) refcount(2) --- Iteration 8 -- -long(1) refcount(3) -&long(1) refcount(2) --- Iteration 9 -- -long(-1) refcount(3) -&long(-1) refcount(2) --- Iteration 10 -- -double(0) refcount(3) -&double(0) refcount(2) --- Iteration 11 -- -double(0) refcount(3) -&double(0) refcount(2) --- Iteration 12 -- -double(1.234) refcount(3) -&double(1.234) refcount(2) --- Iteration 13 -- -double(-1.234) refcount(3) -&double(-1.234) refcount(2) --- Iteration 14 -- -double(-2) refcount(3) -&double(-2) refcount(2) --- Iteration 15 -- -double(2) refcount(3) -&double(2) refcount(2) --- Iteration 16 -- -double(-400010) refcount(3) -&double(-400010) refcount(2) --- Iteration 17 -- -double(400010) refcount(3) -&double(400010) refcount(2) --- Iteration 18 -- -double(6.99999989) refcount(3) -&double(6.99999989) refcount(2) --- Iteration 19 -- -double(-0.5) refcount(3) -&double(-0.5) refcount(2) --- Iteration 20 -- -double(0.567) refcount(3) -&double(0.567) refcount(2) --- Iteration 21 -- -double(-0.00067) refcount(3) -&double(-0.00067) refcount(2) --- Iteration 22 -- -double(-670) refcount(3) -&double(-670) refcount(2) --- Iteration 23 -- -double(1.0E-5) refcount(3) -&double(1.0E-5) refcount(2) --- Iteration 24 -- -double(-100000) refcount(3) -&double(-100000) refcount(2) --- Iteration 25 -- -double(100000) refcount(3) -&double(100000) refcount(2) --- Iteration 26 -- -double(1.0E-5) refcount(3) -&double(1.0E-5) refcount(2) --- Iteration 27 -- unicode(0) "" refcount(3) &unicode(0) "" refcount(2) -- Iteration 28 -- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt diff -u php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt:1.4 php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt:1.5 --- php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt:1.4 Tue Jul 24 20:03:30 2007 +++ php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt Tue May 27 00:04:31 2008 @@ -117,730 +117,6 @@ *** Testing debug_zval_dump() on objects *** -- Iteration 1 -- object(object_class)#%d (6) refcount(5){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(5){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 2 -- -object(no_member_class)#%d (0) refcount(4){ -} --- Iteration 3 -- -object(contains_object_class)#%d (9) refcount(4){ - ["p"]=> - long(30) refcount(2) - ["p1":protected]=> - long(40) refcount(2) - ["p2":"contains_object_class":private]=> - long(50) refcount(2) - ["class_object1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object2"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object4":protected]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) refcount(3){ - } - ["class_object5"]=> - object(contains_object_class)#%d (9) refcount(1){ - ["p"]=> - long(30) refcount(2) - ["p1":protected]=> - long(40) refcount(2) - ["p2":"contains_object_class":private]=> - long(50) refcount(2) - ["class_object1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object2"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object4":protected]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) refcount(3){ - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 4 -- -object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 5 -- -object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 6 -- -object(no_member_class)#%d (0) refcount(5){ -} --- Iteration 7 -- -NULL refcount(1) --- Iteration 8 -- -object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 9 -- -object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 10 -- -long(30) refcount(9) --- Iteration 11 -- -NULL refcount(1) - --- Testing debug_zval_dump() on overwritten object variables -- -long(500) refcount(1) -long(500) refcount(1) -long(500) refcount(1) -long(500) refcount(1) - --- Testing debug_zval_dump() on objects having circular reference -- -object(object_class)#%d (7) refcount(1){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (7) refcount(1){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (7) refcount(1){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - *RECURSION* - } - ["obj"]=> - *RECURSION* - } - } - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (7) refcount(1){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - *RECURSION* - } - } - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - *RECURSION* - } - } - } -} -Done ---UEXPECTF-- -*** Testing debug_zval_dump() on objects *** --- Iteration 1 -- -object(object_class)#%d (6) refcount(5){ [u"value1"]=> long(5) refcount(1) [u"value2":u"object_class":private]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt diff -u php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt:1.5 php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt:1.6 --- php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt:1.5 Sat Feb 23 19:01:11 2008 +++ php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt Tue May 27 00:04:31 2008 @@ -202,98 +202,6 @@ NULL refcount(1) &NULL refcount(2) -- Iteration 5 -- -string(7) "TRUE123" refcount(3) -&string(7) "TRUE123" refcount(2) --- Iteration 6 -- -string(9) "123string" refcount(3) -&string(9) "123string" refcount(2) --- Iteration 7 -- -string(9) "string123" refcount(3) -&string(9) "string123" refcount(2) --- Iteration 8 -- -string(10) "NULLstring" refcount(3) -&string(10) "NULLstring" refcount(2) -Done ---UEXPECTF-- -Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d -*** Testing debug_zval_dump() on functions *** ---- Variation 1: global variable inside a function --- - --- Value of global variable, before calling dump_globalvar() -- -long(10) refcount(2) - --- Value of local variable inside dump_globalvar() -- -long(10) refcount(1) - --- Value of global variable inside dump_globalvar() -- -long(10) refcount(1) - --- Value of global variable, after exiting dump_globalvar() -- -long(10) refcount(2) - ---- Variation 2: one variable references another --- - --- Value of $first_var: -- -long(10) refcount(2) - --- Value of $ref_first_var -- -NULL refcount(1) - --- Value of $first_var -- -long(10) refcount(2) - --- Value of $ref_first_var -- - -Notice: Undefined variable: ref_first_var in %s on line %d -NULL refcount(1) - --- Value of $first_var -- -long(10) refcount(2) - ---- Variation 3: multiple references of variables --- - --- Value of $var_1: (before referencing) -- -long(10) refcount(1) - --- Value of $var_2: (referencing var_1) -- -long(10) refcount(1) - --- Value of $var_3: (referencing var_2) -- -long(10) refcount(1) - --- Value of $var_3: (after unsetting var_3) -- - -Notice: Undefined variable: var_3 in %s on line %d -NULL refcount(1) - --- Value of $var_2: -- -long(10) refcount(1) - --- Value of $var_3: -- -long(10) refcount(1) - --- Value of $var_1: (after unsetting variable_1) -- - -Notice: Undefined variable: var_1 in %s on line %d -NULL refcount(1) - --- Value of $var_2: -- -long(10) refcount(2) - -*** Testing debug_zval_dump() on miscelleneous input arguments *** --- Iteration 1 -- -NULL refcount(3) -&NULL refcount(2) --- Iteration 2 -- -NULL refcount(3) -&NULL refcount(2) --- Iteration 3 -- -NULL refcount(1) -&NULL refcount(2) --- Iteration 4 -- -NULL refcount(1) -&NULL refcount(2) --- Iteration 5 -- unicode(7) "TRUE123" { 0054 0052 0055 0045 0031 0032 0033 } refcount(3) &unicode(7) "TRUE123" { 0054 0052 0055 0045 0031 0032 0033 } refcount(2) -- Iteration 6 -- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt diff -u php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt:1.2 php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt:1.3 --- php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt:1.2 Thu Sep 20 18:45:03 2007 +++ php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt Tue May 27 00:04:31 2008 @@ -4,7 +4,7 @@ <?php var_dump(dl(str_repeat("a", 8376757))); ?> ---EXPECTF-- +--EXPECTF-- Warning: dl(): File name exceeds the maximum allowed length of %d characters in %s on line %d bool(false) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/error_get_last.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/error_get_last.phpt diff -u php-src/ext/standard/tests/general_functions/error_get_last.phpt:1.2 php-src/ext/standard/tests/general_functions/error_get_last.phpt:1.3 --- php-src/ext/standard/tests/general_functions/error_get_last.phpt:1.2 Wed Feb 14 19:29:33 2007 +++ php-src/ext/standard/tests/general_functions/error_get_last.phpt Tue May 27 00:04:31 2008 @@ -19,34 +19,6 @@ Warning: error_get_last() expects exactly 0 parameters, 1 given in %s on line %d NULL array(4) { - ["type"]=> - int(2) - ["message"]=> - string(54) "error_get_last() expects exactly 0 parameters, 1 given" - ["file"]=> - string(%d) "%s" - ["line"]=> - int(%d) -} - -Notice: Undefined variable: b in %s on line %d -array(4) { - ["type"]=> - int(8) - ["message"]=> - string(21) "Undefined variable: b" - ["file"]=> - string(%d) "%s" - ["line"]=> - int(%d) -} -Done ---UEXPECTF-- -NULL - -Warning: error_get_last() expects exactly 0 parameters, 1 given in %s on line %d -NULL -array(4) { [u"type"]=> int(2) [u"message"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/floatval.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/floatval.phpt diff -u php-src/ext/standard/tests/general_functions/floatval.phpt:1.3 php-src/ext/standard/tests/general_functions/floatval.phpt:1.4 --- php-src/ext/standard/tests/general_functions/floatval.phpt:1.3 Mon Apr 14 17:51:08 2008 +++ php-src/ext/standard/tests/general_functions/floatval.phpt Tue May 27 00:04:31 2008 @@ -205,101 +205,3 @@ NULL Done ---UEXPECTF-- -*** Testing floatval() with valid float values *** -float(0) -float(1) -float(-1) -float(1.234) -float(-1.234) -float(1200) -float(-1200) -float(10) -float(1050000) -float(100000) -float(-100000) -float(1.0E-5) -float(-0.1) -float(100000) -float(-100000) -float(100000) -float(-100000) -float(100000) -float(-100000) -float(5000000) -float(-5000000) - -*** Testing doubleval() with valid float values *** -float(0) -float(1) -float(-1) -float(1.234) -float(-1.234) -float(1200) -float(-1200) -float(10) -float(1050000) -float(100000) -float(-100000) -float(1.0E-5) -float(-0.1) -float(100000) -float(-100000) -float(100000) -float(-100000) -float(100000) -float(-100000) -float(5000000) -float(-5000000) - -*** Testing floatval() on non floating types *** -float(-2147483648) -float(2147483648) -float(5) -float(6) -float(0) -float(1) -float(-1300) -float(0) -float(10) -float(10.2) -float(11) -float(11) -float(0) -float(1) -float(0) -float(0) - -*** Testing doubleval() on non floating types *** -float(-2147483648) -float(2147483648) -float(5) -float(6) -float(0) -float(1) -float(-1300) -float(0) -float(10) -float(10.2) -float(11) -float(11) -float(0) -float(1) -float(0) -float(0) - -*** Testing error conditions *** - -Warning: Wrong parameter count for floatval() in %s on line %d -NULL - -Warning: Wrong parameter count for doubleval() in %s on line %d -NULL - -Warning: Wrong parameter count for floatval() in %s on line %d -NULL - -Warning: Wrong parameter count for doubleval() in %s on line %d -NULL - -Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt.phpt diff -u php-src/ext/standard/tests/general_functions/getopt.phpt:1.5 php-src/ext/standard/tests/general_functions/getopt.phpt:1.6 --- php-src/ext/standard/tests/general_functions/getopt.phpt:1.5 Wed Nov 14 15:22:45 2007 +++ php-src/ext/standard/tests/general_functions/getopt.phpt Tue May 27 00:04:31 2008 @@ -11,19 +11,6 @@ ?> --EXPECT-- array(5) { - ["v"]=> - bool(false) - ["h"]=> - bool(false) - ["d"]=> - string(4) "test" - ["m"]=> - string(4) "1234" - ["t"]=> - bool(false) -} ---UEXPECT-- -array(5) { [u"v"]=> bool(false) [u"h"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt_002.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt_002.phpt diff -u php-src/ext/standard/tests/general_functions/getopt_002.phpt:1.1 php-src/ext/standard/tests/general_functions/getopt_002.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getopt_002.phpt:1.1 Thu Nov 15 13:11:48 2007 +++ php-src/ext/standard/tests/general_functions/getopt_002.phpt Tue May 27 00:04:31 2008 @@ -38,5 +38,3 @@ [2]=> bool(false) } - - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt_003.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt_003.phpt diff -u php-src/ext/standard/tests/general_functions/getopt_003.phpt:1.1 php-src/ext/standard/tests/general_functions/getopt_003.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getopt_003.phpt:1.1 Thu Nov 15 13:11:48 2007 +++ php-src/ext/standard/tests/general_functions/getopt_003.phpt Tue May 27 00:04:31 2008 @@ -53,5 +53,3 @@ bool(false) } } - - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt_004.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt_004.phpt diff -u php-src/ext/standard/tests/general_functions/getopt_004.phpt:1.1 php-src/ext/standard/tests/general_functions/getopt_004.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getopt_004.phpt:1.1 Tue Nov 20 22:42:47 2007 +++ php-src/ext/standard/tests/general_functions/getopt_004.phpt Tue May 27 00:04:31 2008 @@ -25,5 +25,3 @@ string(3) "100" } } - - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt_005.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt_005.phpt diff -u php-src/ext/standard/tests/general_functions/getopt_005.phpt:1.1 php-src/ext/standard/tests/general_functions/getopt_005.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getopt_005.phpt:1.1 Tue Nov 20 22:42:47 2007 +++ php-src/ext/standard/tests/general_functions/getopt_005.phpt Tue May 27 00:04:31 2008 @@ -28,5 +28,3 @@ string(5) "value" } } - - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getrusage.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getrusage.phpt diff -u php-src/ext/standard/tests/general_functions/getrusage.phpt:1.1 php-src/ext/standard/tests/general_functions/getrusage.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getrusage.phpt:1.1 Wed Nov 15 17:26:54 2006 +++ php-src/ext/standard/tests/general_functions/getrusage.phpt Tue May 27 00:04:31 2008 @@ -13,15 +13,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(5) "array" -string(5) "array" -string(5) "array" - -Warning: getrusage() expects parameter 1 to be long, array given in %s on line %d -NULL -Done ---UEXPECTF-- +--EXPECTF-- unicode(5) "array" unicode(5) "array" unicode(5) "array" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt:1.3 Tue May 22 16:57:18 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt Tue May 27 00:04:31 2008 @@ -108,909 +108,7 @@ echo "Done\n"; ?> ---EXPECTF-- -**** Testing gettype() and settype() functions **** - -*** Testing gettype(): basic operations *** -string(5) "array" -string(6) "string" -string(5) "array" -string(7) "integer" -string(7) "integer" -string(6) "double" -string(6) "double" -string(4) "NULL" -string(7) "boolean" -string(6) "string" -string(6) "string" -string(6) "string" -string(6) "string" -string(8) "resource" -string(8) "resource" -string(6) "object" - -*** Testing settype(): basic operations *** - --- Setting type of data to null -- --- Iteration 1 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 2 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 3 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 4 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 5 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 6 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 7 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 8 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 9 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 10 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 11 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 12 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 13 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 14 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 15 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 16 -- -bool(true) -NULL -string(4) "NULL" - --- Setting type of data to integer -- --- Iteration 1 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 2 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 3 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 4 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 5 -- -bool(true) -int(-20) -string(7) "integer" --- Iteration 6 -- -bool(true) -int(2) -string(7) "integer" --- Iteration 7 -- -bool(true) -int(-2) -string(7) "integer" --- Iteration 8 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 9 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 10 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 11 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 12 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 13 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 14 -- -bool(true) -int(5) -string(7) "integer" --- Iteration 15 -- -bool(true) -int(6) -string(7) "integer" --- Iteration 16 -- -8: Object of class point could not be converted to int -bool(true) -int(1) -string(7) "integer" - --- Setting type of data to int -- --- Iteration 1 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 2 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 3 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 4 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 5 -- -bool(true) -int(-20) -string(7) "integer" --- Iteration 6 -- -bool(true) -int(2) -string(7) "integer" --- Iteration 7 -- -bool(true) -int(-2) -string(7) "integer" --- Iteration 8 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 9 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 10 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 11 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 12 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 13 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 14 -- -bool(true) -int(5) -string(7) "integer" --- Iteration 15 -- -bool(true) -int(6) -string(7) "integer" --- Iteration 16 -- -8: Object of class point could not be converted to int -bool(true) -int(1) -string(7) "integer" - --- Setting type of data to float -- --- Iteration 1 -- -bool(true) -float(1) -string(6) "double" --- Iteration 2 -- -bool(true) -float(0) -string(6) "double" --- Iteration 3 -- -bool(true) -float(1) -string(6) "double" --- Iteration 4 -- -bool(true) -float(1) -string(6) "double" --- Iteration 5 -- -bool(true) -float(-20) -string(6) "double" --- Iteration 6 -- -bool(true) -float(2.54) -string(6) "double" --- Iteration 7 -- -bool(true) -float(-2.54) -string(6) "double" --- Iteration 8 -- -bool(true) -float(0) -string(6) "double" --- Iteration 9 -- -bool(true) -float(0) -string(6) "double" --- Iteration 10 -- -bool(true) -float(0) -string(6) "double" --- Iteration 11 -- -bool(true) -float(0) -string(6) "double" --- Iteration 12 -- -bool(true) -float(0) -string(6) "double" --- Iteration 13 -- -bool(true) -float(0) -string(6) "double" --- Iteration 14 -- -bool(true) -float(5) -string(6) "double" --- Iteration 15 -- -bool(true) -float(6) -string(6) "double" --- Iteration 16 -- -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" - --- Setting type of data to double -- --- Iteration 1 -- -bool(true) -float(1) -string(6) "double" --- Iteration 2 -- -bool(true) -float(0) -string(6) "double" --- Iteration 3 -- -bool(true) -float(1) -string(6) "double" --- Iteration 4 -- -bool(true) -float(1) -string(6) "double" --- Iteration 5 -- -bool(true) -float(-20) -string(6) "double" --- Iteration 6 -- -bool(true) -float(2.54) -string(6) "double" --- Iteration 7 -- -bool(true) -float(-2.54) -string(6) "double" --- Iteration 8 -- -bool(true) -float(0) -string(6) "double" --- Iteration 9 -- -bool(true) -float(0) -string(6) "double" --- Iteration 10 -- -bool(true) -float(0) -string(6) "double" --- Iteration 11 -- -bool(true) -float(0) -string(6) "double" --- Iteration 12 -- -bool(true) -float(0) -string(6) "double" --- Iteration 13 -- -bool(true) -float(0) -string(6) "double" --- Iteration 14 -- -bool(true) -float(5) -string(6) "double" --- Iteration 15 -- -bool(true) -float(6) -string(6) "double" --- Iteration 16 -- -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" - --- Setting type of data to boolean -- --- Iteration 1 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 2 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 3 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 4 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 5 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 6 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 7 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 8 -- -bool(true) -bool(false) -string(7) "boolean" --- Iteration 9 -- -bool(true) -bool(false) -string(7) "boolean" --- Iteration 10 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 11 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 12 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 13 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 14 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 15 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 16 -- -bool(true) -bool(true) -string(7) "boolean" - --- Setting type of data to bool -- --- Iteration 1 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 2 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 3 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 4 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 5 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 6 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 7 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 8 -- -bool(true) -bool(false) -string(7) "boolean" --- Iteration 9 -- -bool(true) -bool(false) -string(7) "boolean" --- Iteration 10 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 11 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 12 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 13 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 14 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 15 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 16 -- -bool(true) -bool(true) -string(7) "boolean" - --- Setting type of data to resource -- --- Iteration 1 -- -2: settype(): Cannot convert to resource type -bool(false) -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(5) "array" --- Iteration 2 -- -2: settype(): Cannot convert to resource type -bool(false) -string(14) "another string" -string(6) "string" --- Iteration 3 -- -2: settype(): Cannot convert to resource type -bool(false) -array(3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -string(5) "array" --- Iteration 4 -- -2: settype(): Cannot convert to resource type -bool(false) -int(1) -string(7) "integer" --- Iteration 5 -- -2: settype(): Cannot convert to resource type -bool(false) -int(-20) -string(7) "integer" --- Iteration 6 -- -2: settype(): Cannot convert to resource type -bool(false) -float(2.54) -string(6) "double" --- Iteration 7 -- -2: settype(): Cannot convert to resource type -bool(false) -float(-2.54) -string(6) "double" --- Iteration 8 -- -2: settype(): Cannot convert to resource type -bool(false) -NULL -string(4) "NULL" --- Iteration 9 -- -2: settype(): Cannot convert to resource type -bool(false) -bool(false) -string(7) "boolean" --- Iteration 10 -- -2: settype(): Cannot convert to resource type -bool(false) -string(11) "some string" -string(6) "string" --- Iteration 11 -- -2: settype(): Cannot convert to resource type -bool(false) -string(6) "string" -string(6) "string" --- Iteration 12 -- -2: settype(): Cannot convert to resource type -bool(false) -string(11) "some string" -string(6) "string" --- Iteration 13 -- -2: settype(): Cannot convert to resource type -bool(false) -string(6) "string" -string(6) "string" --- Iteration 14 -- -2: settype(): Cannot convert to resource type -bool(false) -resource(5) of type (stream) -string(8) "resource" --- Iteration 15 -- -2: settype(): Cannot convert to resource type -bool(false) -resource(6) of type (stream) -string(8) "resource" --- Iteration 16 -- -2: settype(): Cannot convert to resource type -bool(false) -object(point)#1 (2) { - ["x"]=> - int(10) - ["y"]=> - int(20) -} -string(6) "object" - --- Setting type of data to array -- --- Iteration 1 -- -bool(true) -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(5) "array" --- Iteration 2 -- -bool(true) -array(1) { - [0]=> - string(14) "another string" -} -string(5) "array" --- Iteration 3 -- -bool(true) -array(3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -string(5) "array" --- Iteration 4 -- -bool(true) -array(1) { - [0]=> - int(1) -} -string(5) "array" --- Iteration 5 -- -bool(true) -array(1) { - [0]=> - int(-20) -} -string(5) "array" --- Iteration 6 -- -bool(true) -array(1) { - [0]=> - float(2.54) -} -string(5) "array" --- Iteration 7 -- -bool(true) -array(1) { - [0]=> - float(-2.54) -} -string(5) "array" --- Iteration 8 -- -bool(true) -array(0) { -} -string(5) "array" --- Iteration 9 -- -bool(true) -array(1) { - [0]=> - bool(false) -} -string(5) "array" --- Iteration 10 -- -bool(true) -array(1) { - [0]=> - string(11) "some string" -} -string(5) "array" --- Iteration 11 -- -bool(true) -array(1) { - [0]=> - string(6) "string" -} -string(5) "array" --- Iteration 12 -- -bool(true) -array(1) { - [0]=> - string(11) "some string" -} -string(5) "array" --- Iteration 13 -- -bool(true) -array(1) { - [0]=> - string(6) "string" -} -string(5) "array" --- Iteration 14 -- -bool(true) -array(1) { - [0]=> - resource(5) of type (stream) -} -string(5) "array" --- Iteration 15 -- -bool(true) -array(1) { - [0]=> - resource(6) of type (stream) -} -string(5) "array" --- Iteration 16 -- -bool(true) -array(2) { - ["x"]=> - int(10) - ["y"]=> - int(20) -} -string(5) "array" - --- Setting type of data to object -- --- Iteration 1 -- -bool(true) -object(stdClass)#2 (3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(6) "object" --- Iteration 2 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(14) "another string" -} -string(6) "object" --- Iteration 3 -- -bool(true) -object(stdClass)#2 (3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -string(6) "object" --- Iteration 4 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - int(1) -} -string(6) "object" --- Iteration 5 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - int(-20) -} -string(6) "object" --- Iteration 6 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - float(2.54) -} -string(6) "object" --- Iteration 7 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - float(-2.54) -} -string(6) "object" --- Iteration 8 -- -bool(true) -object(stdClass)#2 (0) { -} -string(6) "object" --- Iteration 9 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - bool(false) -} -string(6) "object" --- Iteration 10 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(11) "some string" -} -string(6) "object" --- Iteration 11 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(6) "string" -} -string(6) "object" --- Iteration 12 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(11) "some string" -} -string(6) "object" --- Iteration 13 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(6) "string" -} -string(6) "object" --- Iteration 14 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - resource(5) of type (stream) -} -string(6) "object" --- Iteration 15 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - resource(6) of type (stream) -} -string(6) "object" --- Iteration 16 -- -bool(true) -object(point)#1 (2) { - ["x"]=> - int(10) - ["y"]=> - int(20) -} -string(6) "object" - --- Setting type of data to string -- --- Iteration 1 -- -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 2 -- -bool(true) -string(14) "another string" -string(6) "string" --- Iteration 3 -- -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 4 -- -bool(true) -string(1) "1" -string(6) "string" --- Iteration 5 -- -bool(true) -string(3) "-20" -string(6) "string" --- Iteration 6 -- -bool(true) -string(4) "2.54" -string(6) "string" --- Iteration 7 -- -bool(true) -string(5) "-2.54" -string(6) "string" --- Iteration 8 -- -bool(true) -string(0) "" -string(6) "string" --- Iteration 9 -- -bool(true) -string(0) "" -string(6) "string" --- Iteration 10 -- -bool(true) -string(11) "some string" -string(6) "string" --- Iteration 11 -- -bool(true) -string(6) "string" -string(6) "string" --- Iteration 12 -- -bool(true) -string(11) "some string" -string(6) "string" --- Iteration 13 -- -bool(true) -string(6) "string" -string(6) "string" --- Iteration 14 -- -bool(true) -string(14) "Resource id #5" -string(6) "string" --- Iteration 15 -- -bool(true) -string(14) "Resource id #6" -string(6) "string" --- Iteration 16 -- -bool(true) -string(6) "Object" -string(6) "string" -Done ---UEXPECT-- +--EXPECTF-- **** Testing gettype() and settype() functions **** *** Testing gettype(): basic operations *** http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt:1.2 php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt:1.3 --- php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt:1.2 Tue May 22 16:06:44 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt Tue May 27 00:04:31 2008 @@ -32,29 +32,7 @@ echo "Done\n"; ?> ---EXPECTF-- -**** Testing gettype() and settype() functions **** - -*** Testing gettype(): error conditions *** - -Warning: Wrong parameter count for gettype() in %s on line %d -NULL - -Warning: Wrong parameter count for gettype() in %s on line %d -NULL - -*** Testing settype(): error conditions *** - -Warning: Wrong parameter count for settype() in %s on line %d -NULL - -Warning: Wrong parameter count for settype() in %s on line %d -NULL - -Warning: settype(): Invalid type in %s on line %d -bool(false) -Done ---UEXPECTF-- +--EXPECTF-- **** Testing gettype() and settype() functions **** *** Testing gettype(): error conditions *** http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt Tue May 27 00:04:31 2008 @@ -168,7 +168,7 @@ b"10string" ); -/* test conversion to null type */ +/* test conversion to null type */ $type = "null"; echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; @@ -192,470 +192,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to null -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -NULL -string(4) "NULL" --- Iteration 2 -- -string(7) "boolean" -bool(true) -NULL -string(4) "NULL" --- Iteration 3 -- -string(7) "boolean" -bool(true) -NULL -string(4) "NULL" --- Iteration 4 -- -string(7) "boolean" -bool(true) -NULL -string(4) "NULL" --- Iteration 5 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 6 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 7 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 8 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 9 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 10 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 11 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 12 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 13 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 14 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 15 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 16 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 17 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 18 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 19 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 20 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 21 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 22 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 23 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 24 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 25 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 26 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 27 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 28 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 29 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 30 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 31 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 32 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 33 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 34 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 35 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 36 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 37 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 38 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 39 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 40 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 41 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 42 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 43 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 44 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 45 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 46 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 47 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 48 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 49 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 50 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 51 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 52 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 53 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 54 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 55 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 56 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 57 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 58 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 59 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 60 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 61 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 62 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 63 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 64 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 65 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 66 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 67 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 68 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 69 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 70 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 71 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 72 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 73 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 74 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 75 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 76 -- -string(6) "object" -bool(true) -NULL -string(4) "NULL" --- Iteration 77 -- -string(6) "object" -bool(true) -NULL -string(4) "NULL" --- Iteration 78 -- -string(6) "object" -bool(true) -NULL -string(4) "NULL" --- Iteration 79 -- -string(4) "NULL" -bool(true) -NULL -string(4) "NULL" --- Iteration 80 -- -string(4) "NULL" -bool(true) -NULL -string(4) "NULL" --- Iteration 81 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 82 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 83 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 84 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 85 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 86 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 87 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 88 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 89 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 90 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 91 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt:1.5 php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt:1.6 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt:1.5 Mon Dec 17 11:06:42 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt Tue May 27 00:04:31 2008 @@ -171,7 +171,7 @@ b"10string" ); -// test conversion to these types +// test conversion to these types $types = array( "integer", "int" @@ -200,933 +200,7 @@ echo "Done\n"; ?> ---EXPECTF-- -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(2147483647) -string(7) "integer" --- Iteration 52 -- -string(7) "integer" -bool(true) -int(85) -string(7) "integer" --- Iteration 53 -- -string(6) "double" -bool(true) -int(2147483647) -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(2147483647) -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" --- Iteration 81 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 82 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 83 -- -string(6) "string" -bool(true) -int(123) -string(7) "integer" --- Iteration 84 -- -string(6) "string" -bool(true) -int(-123) -string(7) "integer" --- Iteration 85 -- -string(6) "string" -bool(true) -int(0) -string(7) "integer" --- Iteration 86 -- -string(6) "string" -bool(true) -int(0) -string(7) "integer" --- Iteration 87 -- -string(6) "string" -bool(true) -int(1) -string(7) "integer" --- Iteration 88 -- -string(6) "string" -bool(true) -int(2147483647) -string(7) "integer" --- Iteration 89 -- -string(6) "string" -bool(true) -int(1) -string(7) "integer" --- Iteration 90 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 91 -- -string(6) "string" -bool(true) -int(10) -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(2147483647) -string(7) "integer" --- Iteration 52 -- -string(7) "integer" -bool(true) -int(85) -string(7) "integer" --- Iteration 53 -- -string(6) "double" -bool(true) -int(2147483647) -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(2147483647) -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" --- Iteration 81 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 82 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 83 -- -string(6) "string" -bool(true) -int(123) -string(7) "integer" --- Iteration 84 -- -string(6) "string" -bool(true) -int(-123) -string(7) "integer" --- Iteration 85 -- -string(6) "string" -bool(true) -int(0) -string(7) "integer" --- Iteration 86 -- -string(6) "string" -bool(true) -int(0) -string(7) "integer" --- Iteration 87 -- -string(6) "string" -bool(true) -int(1) -string(7) "integer" --- Iteration 88 -- -string(6) "string" -bool(true) -int(2147483647) -string(7) "integer" --- Iteration 89 -- -string(6) "string" -bool(true) -int(1) -string(7) "integer" --- Iteration 90 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 91 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt Tue May 27 00:04:31 2008 @@ -197,933 +197,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing settype() & gettype() : usage variations *** - --- Setting type of data to float -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 2 -- -string(7) "boolean" -bool(true) -float(0) -string(6) "double" --- Iteration 3 -- -string(7) "boolean" -bool(true) -float(1) -string(6) "double" --- Iteration 4 -- -string(7) "boolean" -bool(true) -float(1) -string(6) "double" --- Iteration 5 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 6 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 7 -- -string(6) "string" -bool(true) -float(3) -string(6) "double" --- Iteration 8 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 9 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 10 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 11 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 12 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 13 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 14 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 15 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 16 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 17 -- -string(6) "string" -bool(true) -float(-1) -string(6) "double" --- Iteration 18 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 19 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 20 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 21 -- -string(6) "string" -bool(true) -float(-0.01) -string(6) "double" --- Iteration 22 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 23 -- -string(6) "string" -bool(true) -float(-1) -string(6) "double" --- Iteration 24 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 25 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 26 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 27 -- -string(6) "string" -bool(true) -float(-0.01) -string(6) "double" --- Iteration 28 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 29 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 30 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 31 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 32 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 33 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 34 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 35 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 36 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 37 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 38 -- -string(6) "string" -bool(true) -float(-0) -string(6) "double" --- Iteration 39 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 40 -- -string(6) "string" -bool(true) -float(-0) -string(6) "double" --- Iteration 41 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 42 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 43 -- -string(5) "array" -bool(true) -float(0) -string(6) "double" --- Iteration 44 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 45 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 46 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 47 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 48 -- -string(6) "double" -bool(true) -float(-2147483648) -string(6) "double" --- Iteration 49 -- -string(7) "integer" -bool(true) -float(2147483647) -string(6) "double" --- Iteration 50 -- -string(6) "double" -bool(true) -float(2147483649) -string(6) "double" --- Iteration 51 -- -string(6) "double" -bool(true) -float(1232147483649) -string(6) "double" --- Iteration 52 -- -string(7) "integer" -bool(true) -float(85) -string(6) "double" --- Iteration 53 -- -string(6) "double" -bool(true) -float(1058513956921) -string(6) "double" --- Iteration 54 -- -string(7) "integer" -bool(true) -float(-21903) -string(6) "double" --- Iteration 55 -- -string(7) "integer" -bool(true) -float(365) -string(6) "double" --- Iteration 56 -- -string(7) "integer" -bool(true) -float(-365) -string(6) "double" --- Iteration 57 -- -string(6) "double" -bool(true) -float(80561044571754) -string(6) "double" --- Iteration 58 -- -string(6) "double" -bool(true) -float(100000) -string(6) "double" --- Iteration 59 -- -string(6) "double" -bool(true) -float(-100000) -string(6) "double" --- Iteration 60 -- -string(6) "double" -bool(true) -float(100000) -string(6) "double" --- Iteration 61 -- -string(6) "double" -bool(true) -float(-100000) -string(6) "double" --- Iteration 62 -- -string(6) "double" -bool(true) -float(-1.5) -string(6) "double" --- Iteration 63 -- -string(6) "double" -bool(true) -float(0.5) -string(6) "double" --- Iteration 64 -- -string(6) "double" -bool(true) -float(-0.5) -string(6) "double" --- Iteration 65 -- -string(6) "double" -bool(true) -float(500000) -string(6) "double" --- Iteration 66 -- -string(6) "double" -bool(true) -float(-500000) -string(6) "double" --- Iteration 67 -- -string(6) "double" -bool(true) -float(-5.0E-7) -string(6) "double" --- Iteration 68 -- -string(6) "double" -bool(true) -float(500000) -string(6) "double" --- Iteration 69 -- -string(6) "double" -bool(true) -float(-500000) -string(6) "double" --- Iteration 70 -- -string(6) "double" -bool(true) -float(512000) -string(6) "double" --- Iteration 71 -- -string(6) "double" -bool(true) -float(-512000) -string(6) "double" --- Iteration 72 -- -string(6) "double" -bool(true) -float(5.12E-7) -string(6) "double" --- Iteration 73 -- -string(6) "double" -bool(true) -float(5.12E-7) -string(6) "double" --- Iteration 74 -- -string(6) "double" -bool(true) -float(512000) -string(6) "double" --- Iteration 75 -- -string(6) "double" -bool(true) -float(-512000) -string(6) "double" --- Iteration 76 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 77 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 78 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 79 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 80 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 81 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 82 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 83 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 84 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 85 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 86 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 87 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 88 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 89 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 90 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 91 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" - --- Setting type of data to double -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 2 -- -string(7) "boolean" -bool(true) -float(0) -string(6) "double" --- Iteration 3 -- -string(7) "boolean" -bool(true) -float(1) -string(6) "double" --- Iteration 4 -- -string(7) "boolean" -bool(true) -float(1) -string(6) "double" --- Iteration 5 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 6 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 7 -- -string(6) "string" -bool(true) -float(3) -string(6) "double" --- Iteration 8 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 9 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 10 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 11 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 12 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 13 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 14 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 15 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 16 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 17 -- -string(6) "string" -bool(true) -float(-1) -string(6) "double" --- Iteration 18 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 19 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 20 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 21 -- -string(6) "string" -bool(true) -float(-0.01) -string(6) "double" --- Iteration 22 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 23 -- -string(6) "string" -bool(true) -float(-1) -string(6) "double" --- Iteration 24 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 25 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 26 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 27 -- -string(6) "string" -bool(true) -float(-0.01) -string(6) "double" --- Iteration 28 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 29 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 30 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 31 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 32 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 33 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 34 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 35 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 36 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 37 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 38 -- -string(6) "string" -bool(true) -float(-0) -string(6) "double" --- Iteration 39 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 40 -- -string(6) "string" -bool(true) -float(-0) -string(6) "double" --- Iteration 41 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 42 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 43 -- -string(5) "array" -bool(true) -float(0) -string(6) "double" --- Iteration 44 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 45 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 46 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 47 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 48 -- -string(6) "double" -bool(true) -float(-2147483648) -string(6) "double" --- Iteration 49 -- -string(7) "integer" -bool(true) -float(2147483647) -string(6) "double" --- Iteration 50 -- -string(6) "double" -bool(true) -float(2147483649) -string(6) "double" --- Iteration 51 -- -string(6) "double" -bool(true) -float(1232147483649) -string(6) "double" --- Iteration 52 -- -string(7) "integer" -bool(true) -float(85) -string(6) "double" --- Iteration 53 -- -string(6) "double" -bool(true) -float(1058513956921) -string(6) "double" --- Iteration 54 -- -string(7) "integer" -bool(true) -float(-21903) -string(6) "double" --- Iteration 55 -- -string(7) "integer" -bool(true) -float(365) -string(6) "double" --- Iteration 56 -- -string(7) "integer" -bool(true) -float(-365) -string(6) "double" --- Iteration 57 -- -string(6) "double" -bool(true) -float(80561044571754) -string(6) "double" --- Iteration 58 -- -string(6) "double" -bool(true) -float(100000) -string(6) "double" --- Iteration 59 -- -string(6) "double" -bool(true) -float(-100000) -string(6) "double" --- Iteration 60 -- -string(6) "double" -bool(true) -float(100000) -string(6) "double" --- Iteration 61 -- -string(6) "double" -bool(true) -float(-100000) -string(6) "double" --- Iteration 62 -- -string(6) "double" -bool(true) -float(-1.5) -string(6) "double" --- Iteration 63 -- -string(6) "double" -bool(true) -float(0.5) -string(6) "double" --- Iteration 64 -- -string(6) "double" -bool(true) -float(-0.5) -string(6) "double" --- Iteration 65 -- -string(6) "double" -bool(true) -float(500000) -string(6) "double" --- Iteration 66 -- -string(6) "double" -bool(true) -float(-500000) -string(6) "double" --- Iteration 67 -- -string(6) "double" -bool(true) -float(-5.0E-7) -string(6) "double" --- Iteration 68 -- -string(6) "double" -bool(true) -float(500000) -string(6) "double" --- Iteration 69 -- -string(6) "double" -bool(true) -float(-500000) -string(6) "double" --- Iteration 70 -- -string(6) "double" -bool(true) -float(512000) -string(6) "double" --- Iteration 71 -- -string(6) "double" -bool(true) -float(-512000) -string(6) "double" --- Iteration 72 -- -string(6) "double" -bool(true) -float(5.12E-7) -string(6) "double" --- Iteration 73 -- -string(6) "double" -bool(true) -float(5.12E-7) -string(6) "double" --- Iteration 74 -- -string(6) "double" -bool(true) -float(512000) -string(6) "double" --- Iteration 75 -- -string(6) "double" -bool(true) -float(-512000) -string(6) "double" --- Iteration 76 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 77 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 78 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 79 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 80 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 81 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 82 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 83 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 84 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 85 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 86 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 87 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 88 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 89 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 90 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 91 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt Tue May 27 00:04:31 2008 @@ -180,7 +180,7 @@ b"10string" ); -// test conversion to these types +// test conversion to these types $types = array( "boolean", "bool" @@ -209,997 +209,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing settype() & gettype() : usage variations *** - --- Setting type of data to boolean -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 2 -- -string(7) "boolean" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 3 -- -string(7) "boolean" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 4 -- -string(7) "boolean" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 5 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 6 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 7 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 8 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 9 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 10 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 11 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 12 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 13 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 14 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 15 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 16 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 17 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 18 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 19 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 20 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 21 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 22 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 23 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 24 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 25 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 26 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 27 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 28 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 29 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 30 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 31 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 32 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 33 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 34 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 35 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 36 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 37 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 38 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 39 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 40 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 41 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 42 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 43 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 44 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 45 -- -string(5) "array" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 46 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 47 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 48 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 49 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 50 -- -string(7) "integer" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 51 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 52 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 53 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 54 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 55 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 56 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 57 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 58 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 59 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 60 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 61 -- -string(6) "double" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 62 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 63 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 64 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 65 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 66 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 67 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 68 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 69 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 70 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 71 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 72 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 73 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 74 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 75 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 76 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 77 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 78 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 79 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 80 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 81 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 82 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 83 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 84 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 85 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 86 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 87 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 88 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 89 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 90 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 91 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 92 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 93 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 94 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 95 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 96 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 97 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 98 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" - --- Setting type of data to bool -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 2 -- -string(7) "boolean" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 3 -- -string(7) "boolean" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 4 -- -string(7) "boolean" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 5 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 6 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 7 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 8 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 9 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 10 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 11 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 12 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 13 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 14 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 15 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 16 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 17 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 18 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 19 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 20 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 21 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 22 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 23 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 24 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 25 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 26 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 27 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 28 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 29 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 30 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 31 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 32 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 33 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 34 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 35 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 36 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 37 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 38 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 39 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 40 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 41 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 42 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 43 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 44 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 45 -- -string(5) "array" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 46 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 47 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 48 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 49 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 50 -- -string(7) "integer" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 51 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 52 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 53 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 54 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 55 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 56 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 57 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 58 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 59 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 60 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 61 -- -string(6) "double" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 62 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 63 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 64 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 65 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 66 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 67 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 68 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 69 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 70 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 71 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 72 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 73 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 74 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 75 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 76 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 77 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 78 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 79 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 80 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 81 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 82 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 83 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 84 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 85 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 86 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 87 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 88 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 89 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 90 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 91 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 92 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 93 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 94 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 95 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 96 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 97 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 98 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt Tue May 27 00:04:31 2008 @@ -179,541 +179,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to resource -- --- Iteration 1 -- -string(4) "NULL" -2: settype(): Cannot convert to resource type -bool(false) -NULL -string(4) "NULL" --- Iteration 2 -- -string(7) "boolean" -2: settype(): Cannot convert to resource type -bool(false) -bool(false) -string(7) "boolean" --- Iteration 3 -- -string(7) "boolean" -2: settype(): Cannot convert to resource type -bool(false) -bool(true) -string(7) "boolean" --- Iteration 4 -- -string(7) "boolean" -2: settype(): Cannot convert to resource type -bool(false) -bool(true) -string(7) "boolean" --- Iteration 5 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) "ÿ" -string(6) "string" --- Iteration 6 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) "f" -string(6) "string" --- Iteration 7 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) " -3" -string(6) "string" --- Iteration 8 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(0) "" -string(6) "string" --- Iteration 9 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(0) "" -string(6) "string" --- Iteration 10 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) " " -string(6) "string" --- Iteration 11 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) " " -string(6) "string" --- Iteration 12 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) "10" -string(6) "string" --- Iteration 13 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) "10" -string(6) "string" --- Iteration 14 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(8) "10string" -string(6) "string" --- Iteration 15 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(8) "10string" -string(6) "string" --- Iteration 16 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) "1" -string(6) "string" --- Iteration 17 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) "-1" -string(6) "string" --- Iteration 18 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(3) "1e2" -string(6) "string" --- Iteration 19 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) " 1" -string(6) "string" --- Iteration 20 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 21 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "-1e-2" -string(6) "string" --- Iteration 22 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) "1" -string(6) "string" --- Iteration 23 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) "-1" -string(6) "string" --- Iteration 24 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(3) "1e2" -string(6) "string" --- Iteration 25 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) " 1" -string(6) "string" --- Iteration 26 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 27 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "-1e-2" -string(6) "string" --- Iteration 28 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(4) "0xff" -string(6) "string" --- Iteration 29 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(4) "0x55" -string(6) "string" --- Iteration 30 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "0XA55" -string(6) "string" --- Iteration 31 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "0X123" -string(6) "string" --- Iteration 32 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(4) "0123" -string(6) "string" --- Iteration 33 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(4) "0123" -string(6) "string" --- Iteration 34 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "-0123" -string(6) "string" --- Iteration 35 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "+0123" -string(6) "string" --- Iteration 36 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "-0123" -string(6) "string" --- Iteration 37 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "+0123" -string(6) "string" --- Iteration 38 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(8) "-0x80001" -string(6) "string" --- Iteration 39 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(8) "+0x80001" -string(6) "string" --- Iteration 40 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(10) "-0x80001.5" -string(6) "string" --- Iteration 41 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(9) "0x80001.5" -string(6) "string" --- Iteration 42 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(12) "@$%#$%^$%^&^" -string(6) "string" --- Iteration 43 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(0) { -} -string(5) "array" --- Iteration 44 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(1) { - [0]=> - NULL -} -string(5) "array" --- Iteration 45 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(4) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) -} -string(5) "array" --- Iteration 46 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(4) { - [1]=> - string(3) "one" - [2]=> - string(3) "two" - [3]=> - string(5) "three" - ["four"]=> - int(4) -} -string(5) "array" --- Iteration 47 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(3) { - [0]=> - float(1.5) - [1]=> - float(2.4) - [2]=> - float(6500000) -} -string(5) "array" --- Iteration 48 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-2147483648) -string(6) "double" --- Iteration 49 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(2147483647) -string(7) "integer" --- Iteration 50 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(2147483649) -string(6) "double" --- Iteration 51 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(1232147483649) -string(6) "double" --- Iteration 52 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(85) -string(7) "integer" --- Iteration 53 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(1058513956921) -string(6) "double" --- Iteration 54 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(-21903) -string(7) "integer" --- Iteration 55 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(365) -string(7) "integer" --- Iteration 56 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(-365) -string(7) "integer" --- Iteration 57 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(80561044571754) -string(6) "double" --- Iteration 58 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(100000) -string(6) "double" --- Iteration 59 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-100000) -string(6) "double" --- Iteration 60 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(100000) -string(6) "double" --- Iteration 61 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-100000) -string(6) "double" --- Iteration 62 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-1.5) -string(6) "double" --- Iteration 63 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(0.5) -string(6) "double" --- Iteration 64 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-0.5) -string(6) "double" --- Iteration 65 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(500000) -string(6) "double" --- Iteration 66 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-500000) -string(6) "double" --- Iteration 67 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-5.0E-7) -string(6) "double" --- Iteration 68 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(500000) -string(6) "double" --- Iteration 69 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-500000) -string(6) "double" --- Iteration 70 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(512000) -string(6) "double" --- Iteration 71 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-512000) -string(6) "double" --- Iteration 72 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(5.12E-7) -string(6) "double" --- Iteration 73 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(5.12E-7) -string(6) "double" --- Iteration 74 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(512000) -string(6) "double" --- Iteration 75 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-512000) -string(6) "double" --- Iteration 76 -- -string(6) "object" -2: settype(): Cannot convert to resource type -bool(false) -object(point)#1 (2) { - ["x"]=> - NULL - ["y"]=> - NULL -} -string(6) "object" --- Iteration 77 -- -string(6) "object" -2: settype(): Cannot convert to resource type -bool(false) -object(point)#2 (2) { - ["x"]=> - float(2.5) - ["y"]=> - float(40.5) -} -string(6) "object" --- Iteration 78 -- -string(6) "object" -2: settype(): Cannot convert to resource type -bool(false) -object(point)#3 (2) { - ["x"]=> - int(0) - ["y"]=> - int(0) -} -string(6) "object" --- Iteration 79 -- -string(4) "NULL" -2: settype(): Cannot convert to resource type -bool(false) -NULL -string(4) "NULL" --- Iteration 80 -- -string(4) "NULL" -2: settype(): Cannot convert to resource type -bool(false) -NULL -string(4) "NULL" -Done - ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt Tue May 27 00:04:31 2008 @@ -193,758 +193,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to array -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -array(0) { -} -string(5) "array" --- Iteration 2 -- -string(7) "boolean" -bool(true) -array(1) { - [0]=> - bool(false) -} -string(5) "array" --- Iteration 3 -- -string(7) "boolean" -bool(true) -array(1) { - [0]=> - bool(true) -} -string(5) "array" --- Iteration 4 -- -string(7) "boolean" -bool(true) -array(1) { - [0]=> - bool(true) -} -string(5) "array" --- Iteration 5 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) "ÿ" -} -string(5) "array" --- Iteration 6 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) "f" -} -string(5) "array" --- Iteration 7 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) " -3" -} -string(5) "array" --- Iteration 8 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(0) "" -} -string(5) "array" --- Iteration 9 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(0) "" -} -string(5) "array" --- Iteration 10 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) " " -} -string(5) "array" --- Iteration 11 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) " " -} -string(5) "array" --- Iteration 12 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) "10" -} -string(5) "array" --- Iteration 13 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) "10" -} -string(5) "array" --- Iteration 14 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 15 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 16 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) "1" -} -string(5) "array" --- Iteration 17 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) "-1" -} -string(5) "array" --- Iteration 18 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(3) "1e2" -} -string(5) "array" --- Iteration 19 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) " 1" -} -string(5) "array" --- Iteration 20 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(22) "2974394749328742328432" -} -string(5) "array" --- Iteration 21 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-1e-2" -} -string(5) "array" --- Iteration 22 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) "1" -} -string(5) "array" --- Iteration 23 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) "-1" -} -string(5) "array" --- Iteration 24 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(3) "1e2" -} -string(5) "array" --- Iteration 25 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) " 1" -} -string(5) "array" --- Iteration 26 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(22) "2974394749328742328432" -} -string(5) "array" --- Iteration 27 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-1e-2" -} -string(5) "array" --- Iteration 28 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0xff" -} -string(5) "array" --- Iteration 29 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0x55" -} -string(5) "array" --- Iteration 30 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "0XA55" -} -string(5) "array" --- Iteration 31 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "0X123" -} -string(5) "array" --- Iteration 32 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0123" -} -string(5) "array" --- Iteration 33 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0123" -} -string(5) "array" --- Iteration 34 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-0123" -} -string(5) "array" --- Iteration 35 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "+0123" -} -string(5) "array" --- Iteration 36 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-0123" -} -string(5) "array" --- Iteration 37 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "+0123" -} -string(5) "array" --- Iteration 38 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "-0x80001" -} -string(5) "array" --- Iteration 39 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "+0x80001" -} -string(5) "array" --- Iteration 40 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(10) "-0x80001.5" -} -string(5) "array" --- Iteration 41 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(9) "0x80001.5" -} -string(5) "array" --- Iteration 42 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(12) "@$%#$%^$%^&^" -} -string(5) "array" --- Iteration 43 -- -string(5) "array" -bool(true) -array(0) { -} -string(5) "array" --- Iteration 44 -- -string(5) "array" -bool(true) -array(1) { - [0]=> - NULL -} -string(5) "array" --- Iteration 45 -- -string(5) "array" -bool(true) -array(4) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) -} -string(5) "array" --- Iteration 46 -- -string(5) "array" -bool(true) -array(4) { - [1]=> - string(3) "one" - [2]=> - string(3) "two" - [3]=> - string(5) "three" - ["four"]=> - int(4) -} -string(5) "array" --- Iteration 47 -- -string(5) "array" -bool(true) -array(3) { - [0]=> - float(1.5) - [1]=> - float(2.4) - [2]=> - float(6500000) -} -string(5) "array" --- Iteration 48 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-2147483648) -} -string(5) "array" --- Iteration 49 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(2147483647) -} -string(5) "array" --- Iteration 50 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(2147483649) -} -string(5) "array" --- Iteration 51 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(1232147483649) -} -string(5) "array" --- Iteration 52 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(85) -} -string(5) "array" --- Iteration 53 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(1058513956921) -} -string(5) "array" --- Iteration 54 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(-21903) -} -string(5) "array" --- Iteration 55 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(365) -} -string(5) "array" --- Iteration 56 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(-365) -} -string(5) "array" --- Iteration 57 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(80561044571754) -} -string(5) "array" --- Iteration 58 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(100000) -} -string(5) "array" --- Iteration 59 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-100000) -} -string(5) "array" --- Iteration 60 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(100000) -} -string(5) "array" --- Iteration 61 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-100000) -} -string(5) "array" --- Iteration 62 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-1.5) -} -string(5) "array" --- Iteration 63 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(0.5) -} -string(5) "array" --- Iteration 64 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-0.5) -} -string(5) "array" --- Iteration 65 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(500000) -} -string(5) "array" --- Iteration 66 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-500000) -} -string(5) "array" --- Iteration 67 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-5.0E-7) -} -string(5) "array" --- Iteration 68 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(500000) -} -string(5) "array" --- Iteration 69 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-500000) -} -string(5) "array" --- Iteration 70 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(512000) -} -string(5) "array" --- Iteration 71 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-512000) -} -string(5) "array" --- Iteration 72 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(5.12E-7) -} -string(5) "array" --- Iteration 73 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(5.12E-7) -} -string(5) "array" --- Iteration 74 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(512000) -} -string(5) "array" --- Iteration 75 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-512000) -} -string(5) "array" --- Iteration 76 -- -string(6) "object" -bool(true) -array(2) { - ["x"]=> - NULL - ["y"]=> - NULL -} -string(5) "array" --- Iteration 77 -- -string(6) "object" -bool(true) -array(2) { - ["x"]=> - float(2.5) - ["y"]=> - float(40.5) -} -string(5) "array" --- Iteration 78 -- -string(6) "object" -bool(true) -array(2) { - ["x"]=> - int(0) - ["y"]=> - int(0) -} -string(5) "array" --- Iteration 79 -- -string(4) "NULL" -bool(true) -array(0) { -} -string(5) "array" --- Iteration 80 -- -string(4) "NULL" -bool(true) -array(0) { -} -string(5) "array" --- Iteration 81 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 82 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 83 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "+0123" -} -string(5) "array" --- Iteration 84 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-0123" -} -string(5) "array" --- Iteration 85 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0xff" -} -string(5) "array" --- Iteration 86 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0x55" -} -string(5) "array" --- Iteration 87 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(3) "1e2" -} -string(5) "array" --- Iteration 88 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(22) "2974394749328742328432" -} -string(5) "array" --- Iteration 89 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(3) "1e2" -} -string(5) "array" --- Iteration 90 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 91 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt Tue May 27 00:04:31 2008 @@ -192,758 +192,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to object -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -object(stdClass)#4 (0) { -} -string(6) "object" --- Iteration 2 -- -string(7) "boolean" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - bool(false) -} -string(6) "object" --- Iteration 3 -- -string(7) "boolean" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - bool(true) -} -string(6) "object" --- Iteration 4 -- -string(7) "boolean" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - bool(true) -} -string(6) "object" --- Iteration 5 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) "ÿ" -} -string(6) "object" --- Iteration 6 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) "f" -} -string(6) "object" --- Iteration 7 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) " -3" -} -string(6) "object" --- Iteration 8 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(0) "" -} -string(6) "object" --- Iteration 9 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(0) "" -} -string(6) "object" --- Iteration 10 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) " " -} -string(6) "object" --- Iteration 11 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) " " -} -string(6) "object" --- Iteration 12 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) "10" -} -string(6) "object" --- Iteration 13 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) "10" -} -string(6) "object" --- Iteration 14 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 15 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 16 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) "1" -} -string(6) "object" --- Iteration 17 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) "-1" -} -string(6) "object" --- Iteration 18 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(3) "1e2" -} -string(6) "object" --- Iteration 19 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) " 1" -} -string(6) "object" --- Iteration 20 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(22) "2974394749328742328432" -} -string(6) "object" --- Iteration 21 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-1e-2" -} -string(6) "object" --- Iteration 22 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) "1" -} -string(6) "object" --- Iteration 23 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) "-1" -} -string(6) "object" --- Iteration 24 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(3) "1e2" -} -string(6) "object" --- Iteration 25 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) " 1" -} -string(6) "object" --- Iteration 26 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(22) "2974394749328742328432" -} -string(6) "object" --- Iteration 27 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-1e-2" -} -string(6) "object" --- Iteration 28 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0xff" -} -string(6) "object" --- Iteration 29 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0x55" -} -string(6) "object" --- Iteration 30 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "0XA55" -} -string(6) "object" --- Iteration 31 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "0X123" -} -string(6) "object" --- Iteration 32 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0123" -} -string(6) "object" --- Iteration 33 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0123" -} -string(6) "object" --- Iteration 34 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-0123" -} -string(6) "object" --- Iteration 35 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "+0123" -} -string(6) "object" --- Iteration 36 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-0123" -} -string(6) "object" --- Iteration 37 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "+0123" -} -string(6) "object" --- Iteration 38 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "-0x80001" -} -string(6) "object" --- Iteration 39 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "+0x80001" -} -string(6) "object" --- Iteration 40 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(10) "-0x80001.5" -} -string(6) "object" --- Iteration 41 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(9) "0x80001.5" -} -string(6) "object" --- Iteration 42 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(12) "@$%#$%^$%^&^" -} -string(6) "object" --- Iteration 43 -- -string(5) "array" -bool(true) -object(stdClass)#4 (0) { -} -string(6) "object" --- Iteration 44 -- -string(5) "array" -bool(true) -object(stdClass)#4 (1) { - [0]=> - NULL -} -string(6) "object" --- Iteration 45 -- -string(5) "array" -bool(true) -object(stdClass)#4 (4) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) -} -string(6) "object" --- Iteration 46 -- -string(5) "array" -bool(true) -object(stdClass)#4 (4) { - [1]=> - string(3) "one" - [2]=> - string(3) "two" - [3]=> - string(5) "three" - ["four"]=> - int(4) -} -string(6) "object" --- Iteration 47 -- -string(5) "array" -bool(true) -object(stdClass)#4 (3) { - [0]=> - float(1.5) - [1]=> - float(2.4) - [2]=> - float(6500000) -} -string(6) "object" --- Iteration 48 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-2147483648) -} -string(6) "object" --- Iteration 49 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(2147483647) -} -string(6) "object" --- Iteration 50 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(2147483649) -} -string(6) "object" --- Iteration 51 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(1232147483649) -} -string(6) "object" --- Iteration 52 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(85) -} -string(6) "object" --- Iteration 53 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(1058513956921) -} -string(6) "object" --- Iteration 54 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(-21903) -} -string(6) "object" --- Iteration 55 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(365) -} -string(6) "object" --- Iteration 56 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(-365) -} -string(6) "object" --- Iteration 57 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(80561044571754) -} -string(6) "object" --- Iteration 58 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(100000) -} -string(6) "object" --- Iteration 59 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-100000) -} -string(6) "object" --- Iteration 60 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(100000) -} -string(6) "object" --- Iteration 61 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-100000) -} -string(6) "object" --- Iteration 62 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-1.5) -} -string(6) "object" --- Iteration 63 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(0.5) -} -string(6) "object" --- Iteration 64 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-0.5) -} -string(6) "object" --- Iteration 65 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(500000) -} -string(6) "object" --- Iteration 66 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-500000) -} -string(6) "object" --- Iteration 67 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-5.0E-7) -} -string(6) "object" --- Iteration 68 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(500000) -} -string(6) "object" --- Iteration 69 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-500000) -} -string(6) "object" --- Iteration 70 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(512000) -} -string(6) "object" --- Iteration 71 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-512000) -} -string(6) "object" --- Iteration 72 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(5.12E-7) -} -string(6) "object" --- Iteration 73 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(5.12E-7) -} -string(6) "object" --- Iteration 74 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(512000) -} -string(6) "object" --- Iteration 75 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-512000) -} -string(6) "object" --- Iteration 76 -- -string(6) "object" -bool(true) -object(point)#1 (2) { - ["x"]=> - NULL - ["y"]=> - NULL -} -string(6) "object" --- Iteration 77 -- -string(6) "object" -bool(true) -object(point)#2 (2) { - ["x"]=> - float(2.5) - ["y"]=> - float(40.5) -} -string(6) "object" --- Iteration 78 -- -string(6) "object" -bool(true) -object(point)#3 (2) { - ["x"]=> - int(0) - ["y"]=> - int(0) -} -string(6) "object" --- Iteration 79 -- -string(4) "NULL" -bool(true) -object(stdClass)#4 (0) { -} -string(6) "object" --- Iteration 80 -- -string(4) "NULL" -bool(true) -object(stdClass)#4 (0) { -} -string(6) "object" --- Iteration 81 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 82 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 83 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "+0123" -} -string(6) "object" --- Iteration 84 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-0123" -} -string(6) "object" --- Iteration 85 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0xff" -} -string(6) "object" --- Iteration 86 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0x55" -} -string(6) "object" --- Iteration 87 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(3) "1e2" -} -string(6) "object" --- Iteration 88 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(22) "2974394749328742328432" -} -string(6) "object" --- Iteration 89 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(3) "1e2" -} -string(6) "object" --- Iteration 90 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 91 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt Tue May 27 00:04:31 2008 @@ -192,476 +192,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to string -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -string(0) "" -string(6) "string" --- Iteration 2 -- -string(7) "boolean" -bool(true) -string(0) "" -string(6) "string" --- Iteration 3 -- -string(7) "boolean" -bool(true) -string(1) "1" -string(6) "string" --- Iteration 4 -- -string(7) "boolean" -bool(true) -string(1) "1" -string(6) "string" --- Iteration 5 -- -string(6) "string" -bool(true) -string(1) "ÿ" -string(6) "string" --- Iteration 6 -- -string(6) "string" -bool(true) -string(1) "f" -string(6) "string" --- Iteration 7 -- -string(6) "string" -bool(true) -string(2) " -3" -string(6) "string" --- Iteration 8 -- -string(6) "string" -bool(true) -string(0) "" -string(6) "string" --- Iteration 9 -- -string(6) "string" -bool(true) -string(0) "" -string(6) "string" --- Iteration 10 -- -string(6) "string" -bool(true) -string(1) " " -string(6) "string" --- Iteration 11 -- -string(6) "string" -bool(true) -string(1) " " -string(6) "string" --- Iteration 12 -- -string(6) "string" -bool(true) -string(2) "10" -string(6) "string" --- Iteration 13 -- -string(6) "string" -bool(true) -string(2) "10" -string(6) "string" --- Iteration 14 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 15 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 16 -- -string(6) "string" -bool(true) -string(1) "1" -string(6) "string" --- Iteration 17 -- -string(6) "string" -bool(true) -string(2) "-1" -string(6) "string" --- Iteration 18 -- -string(6) "string" -bool(true) -string(3) "1e2" -string(6) "string" --- Iteration 19 -- -string(6) "string" -bool(true) -string(2) " 1" -string(6) "string" --- Iteration 20 -- -string(6) "string" -bool(true) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 21 -- -string(6) "string" -bool(true) -string(5) "-1e-2" -string(6) "string" --- Iteration 22 -- -string(6) "string" -bool(true) -string(1) "1" -string(6) "string" --- Iteration 23 -- -string(6) "string" -bool(true) -string(2) "-1" -string(6) "string" --- Iteration 24 -- -string(6) "string" -bool(true) -string(3) "1e2" -string(6) "string" --- Iteration 25 -- -string(6) "string" -bool(true) -string(2) " 1" -string(6) "string" --- Iteration 26 -- -string(6) "string" -bool(true) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 27 -- -string(6) "string" -bool(true) -string(5) "-1e-2" -string(6) "string" --- Iteration 28 -- -string(6) "string" -bool(true) -string(4) "0xff" -string(6) "string" --- Iteration 29 -- -string(6) "string" -bool(true) -string(4) "0x55" -string(6) "string" --- Iteration 30 -- -string(6) "string" -bool(true) -string(5) "0XA55" -string(6) "string" --- Iteration 31 -- -string(6) "string" -bool(true) -string(5) "0X123" -string(6) "string" --- Iteration 32 -- -string(6) "string" -bool(true) -string(4) "0123" -string(6) "string" --- Iteration 33 -- -string(6) "string" -bool(true) -string(4) "0123" -string(6) "string" --- Iteration 34 -- -string(6) "string" -bool(true) -string(5) "-0123" -string(6) "string" --- Iteration 35 -- -string(6) "string" -bool(true) -string(5) "+0123" -string(6) "string" --- Iteration 36 -- -string(6) "string" -bool(true) -string(5) "-0123" -string(6) "string" --- Iteration 37 -- -string(6) "string" -bool(true) -string(5) "+0123" -string(6) "string" --- Iteration 38 -- -string(6) "string" -bool(true) -string(8) "-0x80001" -string(6) "string" --- Iteration 39 -- -string(6) "string" -bool(true) -string(8) "+0x80001" -string(6) "string" --- Iteration 40 -- -string(6) "string" -bool(true) -string(10) "-0x80001.5" -string(6) "string" --- Iteration 41 -- -string(6) "string" -bool(true) -string(9) "0x80001.5" -string(6) "string" --- Iteration 42 -- -string(6) "string" -bool(true) -string(12) "@$%#$%^$%^&^" -string(6) "string" --- Iteration 43 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 44 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 45 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 46 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 47 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 48 -- -string(6) "double" -bool(true) -string(11) "-2147483648" -string(6) "string" --- Iteration 49 -- -string(7) "integer" -bool(true) -string(10) "2147483647" -string(6) "string" --- Iteration 50 -- -string(6) "double" -bool(true) -string(10) "2147483649" -string(6) "string" --- Iteration 51 -- -string(6) "double" -bool(true) -string(13) "1232147483649" -string(6) "string" --- Iteration 52 -- -string(7) "integer" -bool(true) -string(2) "85" -string(6) "string" --- Iteration 53 -- -string(6) "double" -bool(true) -string(13) "1058513956921" -string(6) "string" --- Iteration 54 -- -string(7) "integer" -bool(true) -string(6) "-21903" -string(6) "string" --- Iteration 55 -- -string(7) "integer" -bool(true) -string(3) "365" -string(6) "string" --- Iteration 56 -- -string(7) "integer" -bool(true) -string(4) "-365" -string(6) "string" --- Iteration 57 -- -string(6) "double" -bool(true) -string(14) "80561044571754" -string(6) "string" --- Iteration 58 -- -string(6) "double" -bool(true) -string(6) "100000" -string(6) "string" --- Iteration 59 -- -string(6) "double" -bool(true) -string(7) "-100000" -string(6) "string" --- Iteration 60 -- -string(6) "double" -bool(true) -string(6) "100000" -string(6) "string" --- Iteration 61 -- -string(6) "double" -bool(true) -string(7) "-100000" -string(6) "string" --- Iteration 62 -- -string(6) "double" -bool(true) -string(4) "-1.5" -string(6) "string" --- Iteration 63 -- -string(6) "double" -bool(true) -string(3) "0.5" -string(6) "string" --- Iteration 64 -- -string(6) "double" -bool(true) -string(4) "-0.5" -string(6) "string" --- Iteration 65 -- -string(6) "double" -bool(true) -string(6) "500000" -string(6) "string" --- Iteration 66 -- -string(6) "double" -bool(true) -string(7) "-500000" -string(6) "string" --- Iteration 67 -- -string(6) "double" -bool(true) -string(7) "-5.0E-7" -string(6) "string" --- Iteration 68 -- -string(6) "double" -bool(true) -string(6) "500000" -string(6) "string" --- Iteration 69 -- -string(6) "double" -bool(true) -string(7) "-500000" -string(6) "string" --- Iteration 70 -- -string(6) "double" -bool(true) -string(6) "512000" -string(6) "string" --- Iteration 71 -- -string(6) "double" -bool(true) -string(7) "-512000" -string(6) "string" --- Iteration 72 -- -string(6) "double" -bool(true) -string(7) "5.12E-7" -string(6) "string" --- Iteration 73 -- -string(6) "double" -bool(true) -string(7) "5.12E-7" -string(6) "string" --- Iteration 74 -- -string(6) "double" -bool(true) -string(6) "512000" -string(6) "string" --- Iteration 75 -- -string(6) "double" -bool(true) -string(7) "-512000" -string(6) "string" --- Iteration 76 -- -string(6) "object" -bool(true) -string(11) "ObjectPoint" -string(6) "string" --- Iteration 77 -- -string(6) "object" -bool(true) -string(11) "ObjectPoint" -string(6) "string" --- Iteration 78 -- -string(6) "object" -bool(true) -string(11) "ObjectPoint" -string(6) "string" --- Iteration 79 -- -string(4) "NULL" -bool(true) -string(0) "" -string(6) "string" --- Iteration 80 -- -string(4) "NULL" -bool(true) -string(0) "" -string(6) "string" --- Iteration 81 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 82 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 83 -- -string(6) "string" -bool(true) -string(5) "+0123" -string(6) "string" --- Iteration 84 -- -string(6) "string" -bool(true) -string(5) "-0123" -string(6) "string" --- Iteration 85 -- -string(6) "string" -bool(true) -string(4) "0xff" -string(6) "string" --- Iteration 86 -- -string(6) "string" -bool(true) -string(4) "0x55" -string(6) "string" --- Iteration 87 -- -string(6) "string" -bool(true) -string(3) "1e2" -string(6) "string" --- Iteration 88 -- -string(6) "string" -bool(true) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 89 -- -string(6) "string" -bool(true) -string(3) "1e2" -string(6) "string" --- Iteration 90 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 91 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" -Done ---UEXPECT-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/head.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/head.phpt diff -u php-src/ext/standard/tests/general_functions/head.phpt:1.1 php-src/ext/standard/tests/general_functions/head.phpt:1.2 --- php-src/ext/standard/tests/general_functions/head.phpt:1.1 Wed Nov 15 17:26:54 2006 +++ php-src/ext/standard/tests/general_functions/head.phpt Tue May 27 00:04:31 2008 @@ -27,7 +27,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- NULL bool(false) array(0) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/import_request.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/import_request.phpt diff -u php-src/ext/standard/tests/general_functions/import_request.phpt:1.2 php-src/ext/standard/tests/general_functions/import_request.phpt:1.3 --- php-src/ext/standard/tests/general_functions/import_request.phpt:1.2 Tue Mar 6 19:59:13 2007 +++ php-src/ext/standard/tests/general_functions/import_request.phpt Tue May 27 00:04:31 2008 @@ -25,54 +25,7 @@ echo "Done\n"; ?> ---EXPECTF-- -Warning: import_request_variables() expects at least 1 parameter, 0 given in %s on line %d -NULL -NULL - -Notice: import_request_variables(): No prefix specified - possible security hazard in %s on line %d -NULL - -Notice: import_request_variables(): No prefix specified - possible security hazard in %s on line %d - -Warning: import_request_variables(): Attempted GLOBALS variable overwrite in %s on line %d - -Warning: import_request_variables(): Numeric key detected - possible security hazard in %s on line %d -NULL - -Notice: Undefined variable: ap in %s on line %d -string(1) "1" -string(3) "heh" -string(1) "3" -NULL -NULL - -Notice: Undefined variable: g_ap in %s on line %d -string(1) "1" -string(3) "heh" -string(1) "3" -NULL -string(2) "hm" -NULL -string(1) "1" -string(3) "heh" -string(1) "3" -string(2) "25" -string(4) "test" -string(5) "blah3" -array(1) { - [0]=> - string(2) "ar" -} -NULL - -Notice: Undefined variable: r_ap in %s on line %d -string(1) "1" -string(3) "heh" -string(1) "3" -NULL -Done ---UEXPECTF-- +--EXPECTF-- Warning: import_request_variables() expects at least 1 parameter, 0 given in %s on line %d NULL NULL http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/import_request1.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/import_request1.phpt diff -u php-src/ext/standard/tests/general_functions/import_request1.phpt:1.1 php-src/ext/standard/tests/general_functions/import_request1.phpt:1.2 --- php-src/ext/standard/tests/general_functions/import_request1.phpt:1.1 Tue May 22 14:32:40 2007 +++ php-src/ext/standard/tests/general_functions/import_request1.phpt Tue May 27 00:04:31 2008 @@ -47,87 +47,6 @@ Warning: import_request_variables(): Attempted super-global (_REQUEST) variable overwrite in %s on line %d array(5) { - ["GET"]=> - string(1) "0" - ["POST"]=> - string(1) "1" - ["COOKIE"]=> - string(1) "2" - ["FILES"]=> - string(1) "3" - ["REQUEST"]=> - string(1) "4" -} -array(5) { - ["GET"]=> - string(1) "5" - ["POST"]=> - string(1) "6" - ["COOKIE"]=> - string(1) "7" - ["FILES"]=> - string(1) "8" - ["REQUEST"]=> - string(1) "9" -} -array(5) { - ["GET"]=> - string(2) "10" - ["POST"]=> - string(2) "11" - ["COOKIE"]=> - string(2) "12" - ["FILES"]=> - string(2) "13" - ["REQUEST"]=> - string(2) "14" -} -array(0) { -} -array(5) { - ["GET"]=> - string(1) "5" - ["POST"]=> - string(1) "6" - ["COOKIE"]=> - string(1) "7" - ["FILES"]=> - string(1) "8" - ["REQUEST"]=> - string(1) "9" -} -Done ---UEXPECTF-- -Warning: import_request_variables(): Attempted super-global (_GET) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_POST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_COOKIE) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_FILES) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_REQUEST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_GET) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_POST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_COOKIE) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_FILES) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_REQUEST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_GET) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_POST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_COOKIE) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_FILES) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_REQUEST) variable overwrite in %s on line %d -array(5) { [u"GET"]=> unicode(1) "0" [u"POST"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/import_request2.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/import_request2.phpt diff -u php-src/ext/standard/tests/general_functions/import_request2.phpt:1.1 php-src/ext/standard/tests/general_functions/import_request2.phpt:1.2 --- php-src/ext/standard/tests/general_functions/import_request2.phpt:1.1 Tue May 22 14:32:40 2007 +++ php-src/ext/standard/tests/general_functions/import_request2.phpt Tue May 27 00:04:31 2008 @@ -16,14 +16,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(2) "10" -string(2) "11" -string(2) "12" -string(2) "13" -string(2) "14" -Done ---UEXPECTF-- +--EXPECT-- unicode(2) "10" unicode(2) "11" unicode(2) "12" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/import_request3.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/import_request3.phpt diff -u php-src/ext/standard/tests/general_functions/import_request3.phpt:1.1 php-src/ext/standard/tests/general_functions/import_request3.phpt:1.2 --- php-src/ext/standard/tests/general_functions/import_request3.phpt:1.1 Tue May 22 14:32:40 2007 +++ php-src/ext/standard/tests/general_functions/import_request3.phpt Tue May 27 00:04:31 2008 @@ -16,14 +16,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(1) "5" -string(1) "6" -string(1) "7" -string(1) "8" -string(1) "9" -Done ---UEXPECTF-- +--EXPECT-- unicode(1) "5" unicode(1) "6" unicode(1) "7" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/include_path.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/include_path.phpt diff -u php-src/ext/standard/tests/general_functions/include_path.phpt:1.2 php-src/ext/standard/tests/general_functions/include_path.phpt:1.3 --- php-src/ext/standard/tests/general_functions/include_path.phpt:1.2 Wed Dec 27 19:17:02 2006 +++ php-src/ext/standard/tests/general_functions/include_path.phpt Tue May 27 00:04:31 2008 @@ -41,39 +41,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(1) "." - -Warning: get_include_path() expects exactly 0 parameters, 1 given in %s on line %d -NULL -NULL - -Warning: restore_include_path() expects exactly 0 parameters, 1 given in %s on line %d -NULL - -Warning: set_include_path() expects exactly 1 parameter, 0 given in %s on line %d -NULL -string(1) "." -string(1) "." -string(3) "var" -NULL -string(1) "." -string(1) "." -string(14) ".:/path/to/dir" -NULL -string(1) "." -string(1) "." -string(1) "." -NULL -string(1) "." - -Warning: set_include_path() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d -NULL -string(1) "." -NULL -string(1) "." -Done ---UEXPECTF-- +--EXPECTF-- unicode(1) "." Warning: get_include_path() expects exactly 0 parameters, 1 given in %s on line %d http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/ini_get_all.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/ini_get_all.phpt diff -u php-src/ext/standard/tests/general_functions/ini_get_all.phpt:1.4 php-src/ext/standard/tests/general_functions/ini_get_all.phpt:1.5 --- php-src/ext/standard/tests/general_functions/ini_get_all.phpt:1.4 Mon Apr 14 15:42:14 2008 +++ php-src/ext/standard/tests/general_functions/ini_get_all.phpt Tue May 27 00:04:31 2008 @@ -20,49 +20,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(5) "array" - -Warning: ini_get_all(): Unable to find extension '' in %s on line %d -bool(false) - -Warning: ini_get_all(): Unable to find extension 'nosuchextension' in %s on line %d -bool(false) -array(0) { -} -array(2) { - ["pcre.backtrack_limit"]=> - array(3) { - ["global_value"]=> - string(6) "100000" - ["local_value"]=> - string(6) "100000" - ["access"]=> - int(7) - } - ["pcre.recursion_limit"]=> - array(3) { - ["global_value"]=> - string(6) "100000" - ["local_value"]=> - string(6) "100000" - ["access"]=> - int(7) - } -} -array(2) { - ["pcre.backtrack_limit"]=> - string(6) "100000" - ["pcre.recursion_limit"]=> - string(6) "100000" -} -array(0) { -} - -Warning: ini_get_all(): Unable to find extension '' in %sini_get_all.php on line %d -bool(false) -Done ---UEXPECTF-- +--EXPECTF-- unicode(5) "array" Warning: ini_get_all(): Unable to find extension '' in %s on line %d http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/intval.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/intval.phpt diff -u php-src/ext/standard/tests/general_functions/intval.phpt:1.3 php-src/ext/standard/tests/general_functions/intval.phpt:1.4 --- php-src/ext/standard/tests/general_functions/intval.phpt:1.3 Tue May 29 12:42:19 2007 +++ php-src/ext/standard/tests/general_functions/intval.phpt Tue May 27 00:04:31 2008 @@ -304,150 +304,3 @@ NULL --- Done --- ---UEXPECTF-- -*** Testing intval() with valid integer values *** - -***Output with default base value ie 10 *** -int(0) -int(1) -int(-1) -int(-2147483648) -int(-2147483647) -int(2147483647) -int(2147483640) -int(4667) -int(0) -int(0) -int(0) -int(-2147483648) -int(0) -int(2147483647) -int(123) -int(1) -int(-2147483648) -int(2147483647) - -***Output with base value of 10( explicitly passed as argument) *** -int(0) -int(1) -int(-1) -int(-2147483648) -int(-2147483647) -int(2147483647) -int(2147483640) -int(4667) -int(0) -int(0) -int(0) -int(-2147483648) -int(0) -int(2147483647) -int(123) -int(1) -int(-2147483648) -int(2147483647) - -***Output with base value of 16 *** -int(0) -int(1) -int(-1) -int(-2147483648) -int(-2147483648) -int(2147483647) -int(2147483640) -int(4667) -int(4779) -int(4095) -int(250) -int(-2147483648) -int(2147483647) -int(2147483647) -int(291) -int(1) -int(-2147483648) -int(2147483647) - -***Output with base value of 8 *** -int(0) -int(1) -int(-1) -int(-9020) -int(-9020) -int(2147483647) -int(2147483640) -int(4667) -int(0) -int(0) -int(0) -int(-2147483648) -int(0) -int(2147483647) -int(83) -int(1) -int(-2147483648) -int(2147483647) - -*** Testing intval() on non integer types *** -int(-2147483648) -int(2147483647) -int(0) -int(0) -int(2147483647) -int(-2147483648) -int(0) -int(0) -int(1) -int(100000) -int(-1000000) -int(100000000) -int(-1000000000) -int(10) -int(1050000) -int(5) -int(6) -int(0) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(0) -int(0) -int(0) -int(0) -int(1) -int(1) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(1) -int(0) -int(1) -int(0) -int(0) -int(0) - -*** Testing error conditions *** - -Warning: Wrong parameter count for intval() in %s on line %d -NULL - -Warning: Wrong parameter count for intval() in %s on line %d -NULL - ---- Done --- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_bool.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/is_bool.phpt diff -u php-src/ext/standard/tests/general_functions/is_bool.phpt:1.2 php-src/ext/standard/tests/general_functions/is_bool.phpt:1.3 --- php-src/ext/standard/tests/general_functions/is_bool.phpt:1.2 Sat May 12 12:18:13 2007 +++ php-src/ext/standard/tests/general_functions/is_bool.phpt Tue May 27 00:04:31 2008 @@ -293,4 +293,3 @@ Warning: is_bool() expects exactly 1 parameter, 2 given in %s on line %d NULL Done - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_callable.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/is_callable.phpt diff -u php-src/ext/standard/tests/general_functions/is_callable.phpt:1.5 php-src/ext/standard/tests/general_functions/is_callable.phpt:1.6 --- php-src/ext/standard/tests/general_functions/is_callable.phpt:1.5 Mon Feb 4 17:21:01 2008 +++ php-src/ext/standard/tests/general_functions/is_callable.phpt Tue May 27 00:04:31 2008 @@ -1117,880 +1117,3 @@ Warning: is_callable() expects at most 3 parameters, 4 given in %s on line %d NULL Done ---UEXPECTF-- -*** Testing is_callable() on defined functions *** --- Iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -someFunction --- Iteration 2 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -x123 --- Iteration 3 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -NULL --- Iteration 4 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -false --- Iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -Hello_World - -*** Testing is_callable() on undefined functions *** --- Iteration 1 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) - --- Iteration 2 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) - --- Iteration 3 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) - --- Iteration 4 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) - --- Iteration 5 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -12356 --- Iteration 6 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) ---- Iteration 7 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -\0 --- Iteration 8 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -hello world --- Iteration 9 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -hello world --- Iteration 10 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -welcome--- Iteration 11 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -welcome\0 --- Iteration 12 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -==%%%***$$$@@@!! --- Iteration 13 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -false --- Iteration 14 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -8 --- Iteration 15 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -\t --- Iteration 16 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -\007 --- Iteration 17 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -123 --- Iteration 18 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -echo() - -*** Testing is_callable() on objects *** - -** Testing behavior of is_callable() on static methods ** -bool(true) -bool(false) - -** Testing normal operations of is_callable() on objects ** ---- Outerloop iteration 1 --- --- Innerloop iteration 1 of Outerloop iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 1 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 1 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::null --- Innerloop iteration 6 of Outerloop iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 1 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::123 --- Innerloop iteration 8 of Outerloop iteration 1 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 1 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::func --- Innerloop iteration 10 of Outerloop iteration 1 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 2 --- --- Innerloop iteration 1 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::x123 --- Innerloop iteration 5 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::null --- Innerloop iteration 6 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::123 --- Innerloop iteration 8 of Outerloop iteration 2 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::func --- Innerloop iteration 10 of Outerloop iteration 2 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 3 --- --- Innerloop iteration 1 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::null --- Innerloop iteration 6 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::123 --- Innerloop iteration 8 of Outerloop iteration 3 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 3 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -contains_object_class::func --- Innerloop iteration 10 of Outerloop iteration 3 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 4 --- --- Innerloop iteration 1 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::null --- Innerloop iteration 6 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::123 --- Innerloop iteration 8 of Outerloop iteration 4 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 4 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -contains_object_class::func --- Innerloop iteration 10 of Outerloop iteration 4 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 5 --- --- Innerloop iteration 1 of Outerloop iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 5 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 5 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::null --- Innerloop iteration 6 of Outerloop iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 5 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::123 --- Innerloop iteration 8 of Outerloop iteration 5 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 5 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::func --- Innerloop iteration 10 of Outerloop iteration 5 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 6 --- --- Innerloop iteration 1 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::x123 --- Innerloop iteration 5 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::null --- Innerloop iteration 6 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::123 --- Innerloop iteration 8 of Outerloop iteration 6 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::func --- Innerloop iteration 10 of Outerloop iteration 6 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 7 --- --- Innerloop iteration 1 of Outerloop iteration 7 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 7 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 7 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 7 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 7 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::null --- Innerloop iteration 6 of Outerloop iteration 7 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 7 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::123 --- Innerloop iteration 8 of Outerloop iteration 7 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 7 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::func --- Innerloop iteration 10 of Outerloop iteration 7 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 8 --- --- Innerloop iteration 1 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 2 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 3 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 4 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 5 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 6 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 7 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 8 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 10 of Outerloop iteration 8 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 - -*** Testing is_callable() on invalid function names *** --- Iteration 1 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) - --- Iteration 2 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -0 --- Iteration 3 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -1234567890 --- Iteration 4 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) --100123456782 --- Iteration 5 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) --2 --- Iteration 6 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -0.567 --- Iteration 7 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) - --- Iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Iteration 9 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) - --- Iteration 10 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) - --- Iteration 11 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Resource id #5 - -*** Testing error conditions *** - -Warning: is_callable() expects at least 1 parameter, 0 given in %s on line %d -NULL - -Warning: is_callable() expects at most 3 parameters, 4 given in %s on line %d -NULL -Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_int.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/is_int.phpt diff -u php-src/ext/standard/tests/general_functions/is_int.phpt:1.3 php-src/ext/standard/tests/general_functions/is_int.phpt:1.4 --- php-src/ext/standard/tests/general_functions/is_int.phpt:1.3 Tue May 29 12:42:19 2007 +++ php-src/ext/standard/tests/general_functions/is_int.phpt Tue May 27 00:04:31 2008 @@ -449,4 +449,3 @@ Warning: is_long() expects exactly 1 parameter, 2 given in %s on line %d NULL Done - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_null.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/is_null.phpt diff -u php-src/ext/standard/tests/general_functions/is_null.phpt:1.2 php-src/ext/standard/tests/general_functions/is_null.phpt:1.3 --- php-src/ext/standard/tests/general_functions/is_null.phpt:1.2 Sat May 12 12:18:13 2007 +++ php-src/ext/standard/tests/general_functions/is_null.phpt Tue May 27 00:04:31 2008 @@ -295,4 +295,3 @@ Warning: is_null() expects exactly 1 parameter, 2 given in %s on line %d NULL Done - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt diff -u php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt:1.4 php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt:1.5 --- php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt:1.4 Tue Feb 26 13:16:55 2008 +++ php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt Tue May 27 00:04:31 2008 @@ -14,267 +14,7 @@ echo "Done.\n"; ?> ---EXPECTF-- -array(25) { - ["basic"]=> - array(15) { - ["basicval"]=> - string(3) "bar" - ["longval"]=> - string(5) "12345" - ["with.dot"]=> - string(7) "fooobar" - ["boolon"]=> - string(1) "1" - ["booltrue"]=> - string(1) "1" - ["boolyes"]=> - string(1) "1" - ["booloff"]=> - string(0) "" - ["boolfalse"]=> - string(0) "" - ["boolnone"]=> - string(0) "" - ["boolno"]=> - string(0) "" - ["string"]=> - string(34) "asdadfsdjkslkj ¡@£$$ { }[ ]/%#¤" - ["sqstring"]=> - string(14) "adsasdadasdasd" - ["dqstring"]=> - string(51) "asdadfsdjkslkj ¡@£$$ { } !^~|¥¥{[()/)&/% ¤ # #" - ["php_constant"]=> - string(5) "16383" - ["user_constant"]=> - string(21) "this_is_test_constant" - } - ["basic with whitespace"]=> - array(13) { - ["basicval"]=> - string(3) "bar" - ["longval"]=> - string(5) "12345" - ["with.dot"]=> - string(7) "fooobar" - ["boolon"]=> - string(1) "1" - ["booltrue"]=> - string(1) "1" - ["boolyes"]=> - string(1) "1" - ["booloff"]=> - string(0) "" - ["boolfalse"]=> - string(0) "" - ["boolnone"]=> - string(0) "" - ["boolno"]=> - string(0) "" - ["sqstring"]=> - string(14) "adsasdadasdasd" - ["dqstring"]=> - string(41) "asdadfsdjkslkj ¡@£$$â¬Â¥Â¥{[()/)&/%#¤" - ["php_constant"]=> - string(5) "16383" - } - ["comments"]=> - array(1) { - ["somecomment"]=> - string(15) "comment follows" - } - ["variables"]=> - array(8) { - ["var1"]=> - string(14) "FUBAR_VARIABLE" - ["var2"]=> - string(18) "FUBAR_VARIABLE/foo" - ["var3"]=> - string(18) "foo/FUBAR_VARIABLE" - ["var4"]=> - string(22) "foo/FUBAR_VARIABLE/foo" - ["quoted_var1"]=> - string(21) "FUBAR_QUOTES_VARIABLE" - ["quoted_var2"]=> - string(25) "FUBAR_QUOTES_VARIABLE/foo" - ["quoted_var3"]=> - string(25) "foo/FUBAR_QUOTES_VARIABLE" - ["quoted_var4"]=> - string(29) "foo/FUBAR_QUOTES_VARIABLE/foo" - } - ["offset values"]=> - array(6) { - ["foo1"]=> - array(2) { - [0]=> - string(14) "basic offset 1" - [1]=> - string(14) "basic offset 2" - } - ["foo2"]=> - array(1) { - [123]=> - string(11) "long offset" - } - ["foo3"]=> - array(1) { - ["abc"]=> - string(13) "string offset" - } - ["foo4"]=> - array(4) { - [0]=> - string(15) "quoted offset 1" - [" "]=> - string(15) "quoted offset 2" - ["sqfoobar"]=> - string(20) "quoted string offset" - ["dqfoobar"]=> - string(20) "single quoted offset" - } - ["foo6"]=> - array(4) { - ["FUBAR_VARIABLE"]=> - string(8) "variable" - ["FUBAR_VARIABLE/foo"]=> - string(22) "variable with string 1" - ["foo/FUBAR_VARIABLE"]=> - string(22) "variable with string 2" - ["foo/FUBAR_VARIABLE/foo"]=> - string(22) "variable with string 3" - } - ["foo7"]=> - array(4) { - ["FUBAR_QUOTES_VARIABLE"]=> - string(17) "quoted variable 1" - ["FUBAR_QUOTES_VARIABLE/foo"]=> - string(17) "quoted variable 2" - ["foo/FUBAR_QUOTES_VARIABLE"]=> - string(17) "quoted variable 3" - ["foo/FUBAR_QUOTES_VARIABLE/foo"]=> - string(17) "quoted variable 4" - } - } - ["non value"]=> - array(4) { - ["novalue_option1"]=> - string(0) "" - ["novalue_option2"]=> - string(0) "" - ["novalue_option3"]=> - string(0) "" - ["novalue_option4"]=> - array(3) { - [0]=> - string(0) "" - [1]=> - string(0) "" - [2]=> - string(0) "" - } - } - ["Quoted strings and variables in sections"]=> - array(0) { - } - ["FUBAR_VARIABLE"]=> - array(0) { - } - ["FUBAR_VARIABLE/foo"]=> - array(0) { - } - ["foo/FUBAR_VARIABLE"]=> - array(0) { - } - ["foo/FUBAR_VARIABLE/foo"]=> - array(0) { - } - ["FUBAR_QUOTES_VARIABLE"]=> - array(0) { - } - ["FUBAR_QUOTES_VARIABLE/foo"]=> - array(0) { - } - ["foo/FUBAR_QUOTES_VARIABLE"]=> - array(0) { - } - ["foo/FUBAR_QUOTES_VARIABLE/foo"]=> - array(0) { - } - ["PATH=FUBAR_VARIABLE/no/quotes"]=> - array(0) { - } - ["PATH=FUBAR_VARIABLE/all/quoted"]=> - array(0) { - } - ["01"]=> - array(2) { - ["e"]=> - string(1) "e" - ["f"]=> - string(1) "f" - } - ["02"]=> - array(2) { - ["g"]=> - string(1) "g" - ["h"]=> - string(1) "h" - } - [1]=> - array(2) { - ["a"]=> - string(1) "a" - ["b"]=> - string(1) "b" - } - [2]=> - array(2) { - ["c"]=> - string(1) "c" - ["d"]=> - string(1) "d" - } - ["0815"]=> - array(1) { - ["bla"]=> - string(3) "bla" - } - ["bug #43923"]=> - array(3) { - ["curly1"]=> - string(1) "{" - ["curly2"]=> - string(1) "{" - ["curly3"]=> - string(1) "{" - } - ["bug #44019"]=> - array(6) { - ["concatenation_before"]=> - string(37) "this_is_test_constant+some_text_after" - ["concatenation_middle"]=> - string(54) "some_text_before+this_is_test_constant+some_text_after" - ["concatenation_after"]=> - string(38) "some_text_before+this_is_test_constant" - ["concatenation_nows_before"]=> - string(37) "this_is_test_constant+some_text_after" - ["concatenation_nows_middle"]=> - string(54) "some_text_before+this_is_test_constant+some_text_after" - ["concatenation_nows_after"]=> - string(38) "some_text_before+this_is_test_constant" - } - ["bug #43915"]=> - array(3) { - ["ini_with-hyphen"]=> - string(26) "with hyphen and underscore" - ["ini.with-hyphen"]=> - string(14) "dot and hyphen" - ["ini-with.hyphen"]=> - string(14) "hyphen and dot" - } -} -Done. ---UEXPECTF-- +--EXPECT-- array(25) { [u"basic"]=> array(15) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt diff -u php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt:1.4 php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt:1.5 --- php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt:1.4 Tue Feb 26 13:16:55 2008 +++ php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt Tue May 27 00:04:31 2008 @@ -10,64 +10,7 @@ echo "Done.\n"; ?> ---EXPECTF-- -array(3) { - ["error_reporting values"]=> - array(6) { - ["foo"]=> - string(7) "16383 8" - ["error_reporting"]=> - string(5) "16383" - ["error_reporting1"]=> - string(4) "4177" - ["error_reporting2"]=> - string(5) "16375" - ["error_reporting3"]=> - string(5) "16375" - ["error_reporting4"]=> - string(5) "16375" - } - ["true or false"]=> - array(8) { - ["bool_true"]=> - string(1) "1" - ["bool_yes"]=> - string(1) "1" - ["bool_on"]=> - string(1) "1" - ["bool_false"]=> - string(0) "" - ["bool_off"]=> - string(0) "" - ["bool_no"]=> - string(0) "" - ["bool_none"]=> - string(0) "" - ["bool_null"]=> - string(0) "" - } - ["strings"]=> - array(8) { - ["string_true"]=> - string(4) "true" - ["string_yes"]=> - string(4) " yes" - ["string_on"]=> - string(5) " on " - ["string_false"]=> - string(5) "false" - ["string_off"]=> - string(4) "Off " - ["string_no"]=> - string(4) "No " - ["string_none"]=> - string(5) " NoNe" - ["string_null"]=> - string(4) "NULl" - } -} -Done. ---UEXPECTF-- +--EXPECT-- array(3) { [u"error_reporting values"]=> array(6) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/parse_ini_file.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/parse_ini_file.phpt diff -u php-src/ext/standard/tests/general_functions/parse_ini_file.phpt:1.5 php-src/ext/standard/tests/general_functions/parse_ini_file.phpt:1.6 --- php-src/ext/standard/tests/general_functions/parse_ini_file.phpt:1.5 Tue Apr 8 12:32:51 2008 +++ php-src/ext/standard/tests/general_functions/parse_ini_file.phpt Tue May 27 00:04:31 2008 @@ -97,93 +97,7 @@ @unlink($filename); echo "Done\n"; ?> ---EXPECTF-- -Warning: parse_ini_file() expects at least 1 parameter, 0 given in %sparse_ini_file.php on line 6 -bool(false) - -Warning: parse_ini_file() expects at most 3 parameters, 4 given in %sparse_ini_file.php on line 7 -bool(false) - -Warning: parse_ini_file(%sparse_ini_file.dat): failed to open stream: No such file or directory in %sparse_ini_file.php on line 8 -array(0) { -} - -Warning: parse_ini_file(%sparse_ini_file.dat): failed to open stream: No such file or directory in %sparse_ini_file.php on line 9 -array(0) { -} -array(1) { - ["test"]=> - string(0) "" -} - -Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2 - in %sparse_ini_file.php on line 20 -array(1) { - ["test"]=> - string(0) "" -} - -Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2 - in %sparse_ini_file.php on line 26 -array(1) { - ["test"]=> - string(4) "test" -} -array(1) { - ["test"]=> - string(8) "new -line" -} -array(1) { - ["test"]=> - string(16) "test const value" -} -array(1) { - ["section"]=> - array(1) { - ["test"]=> - string(5) "hello" - } -} -array(1) { - ["test"]=> - string(5) "hello" -} -array(1) { - ["section.test"]=> - string(5) "hello" -} -array(1) { - ["section"]=> - array(1) { - ["section.test"]=> - string(5) "hello" - } -} -array(1) { - ["section"]=> - array(1) { - [1]=> - string(1) "2" - } -} -array(1) { - [1]=> - string(1) "2" -} -array(1) { - ["test"]=> - string(5) "test4" -} -array(1) { - ["section1"]=> - array(1) { - ["name"]=> - string(5) "value" - } -} -Done ---UEXPECTF-- +--EXPECTF-- Warning: parse_ini_file() expects at least 1 parameter, 0 given in %sparse_ini_file.php on line 6 bool(false) @@ -202,14 +116,14 @@ unicode(0) "" } -Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2 +Warning: %s error%sin %sparse_ini_file.dat on line 2 in %sparse_ini_file.php on line 20 array(1) { [u"test"]=> unicode(0) "" } -Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2 +Warning: %serror%sin %sparse_ini_file.dat on line 2 in %sparse_ini_file.php on line 26 array(1) { [u"test"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/proc_open02.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/proc_open02.phpt diff -u php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.5 php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.6 --- php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.5 Thu Feb 22 11:49:23 2007 +++ php-src/ext/standard/tests/general_functions/proc_open02.phpt Tue May 27 00:04:31 2008 @@ -33,46 +33,6 @@ --EXPECTF-- bool(true) array(8) { - ["command"]=> - string(28) "/usr/bin/nohup /bin/sleep 50" - ["pid"]=> - int(%d) - ["running"]=> - bool(true) - ["signaled"]=> - bool(false) - ["stopped"]=> - bool(false) - ["exitcode"]=> - int(-1) - ["termsig"]=> - int(0) - ["stopsig"]=> - int(0) -} -bool(true) -array(8) { - ["command"]=> - string(28) "/usr/bin/nohup /bin/sleep 50" - ["pid"]=> - int(%d) - ["running"]=> - bool(false) - ["signaled"]=> - bool(true) - ["stopped"]=> - bool(false) - ["exitcode"]=> - int(-1) - ["termsig"]=> - int(15) - ["stopsig"]=> - int(0) -} -Done! ---UEXPECTF-- -bool(true) -array(8) { [u"command"]=> unicode(28) "/usr/bin/nohup /bin/sleep 50" [u"pid"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/putenv.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/putenv.phpt diff -u php-src/ext/standard/tests/general_functions/putenv.phpt:1.1 php-src/ext/standard/tests/general_functions/putenv.phpt:1.2 --- php-src/ext/standard/tests/general_functions/putenv.phpt:1.1 Tue Apr 17 20:33:45 2007 +++ php-src/ext/standard/tests/general_functions/putenv.phpt Tue May 27 00:04:31 2008 @@ -17,16 +17,7 @@ echo "Done\n"; ?> ---EXPECTF-- -bool(false) -bool(true) -string(5) "value" -bool(true) -string(0) "" -bool(true) -bool(false) -Done ---UEXPECTF-- +--EXPECTF-- bool(false) bool(true) unicode(5) "value" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/rand.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/rand.phpt diff -u php-src/ext/standard/tests/general_functions/rand.phpt:1.2 php-src/ext/standard/tests/general_functions/rand.phpt:1.3 --- php-src/ext/standard/tests/general_functions/rand.phpt:1.2 Thu Feb 28 15:28:00 2008 +++ php-src/ext/standard/tests/general_functions/rand.phpt Tue May 27 00:04:31 2008 @@ -29,7 +29,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- int(%d) Warning: mt_rand() expects exactly 2 parameters, 1 given in %s on line %d http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/strval.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/strval.phpt diff -u php-src/ext/standard/tests/general_functions/strval.phpt:1.4 php-src/ext/standard/tests/general_functions/strval.phpt:1.5 --- php-src/ext/standard/tests/general_functions/strval.phpt:1.4 Tue May 29 12:26:59 2007 +++ php-src/ext/standard/tests/general_functions/strval.phpt Tue May 27 00:04:31 2008 @@ -159,166 +159,6 @@ --EXPECTF-- *** Testing str_val() with scalar values*** -- Iteration 1 -- -string(1) "0" --- Iteration 2 -- -string(1) "1" --- Iteration 3 -- -string(2) "-1" --- Iteration 4 -- -string(11) "-2147483648" --- Iteration 5 -- -string(11) "-2147483647" --- Iteration 6 -- -string(10) "2147483647" --- Iteration 7 -- -string(10) "2147483640" --- Iteration 8 -- -string(4) "4667" --- Iteration 9 -- -string(4) "4779" --- Iteration 10 -- -string(4) "4095" --- Iteration 11 -- -string(3) "250" --- Iteration 12 -- -string(11) "-2147483648" --- Iteration 13 -- -string(10) "2147483647" --- Iteration 14 -- -string(10) "2147483647" --- Iteration 15 -- -string(2) "83" --- Iteration 16 -- -string(1) "1" --- Iteration 17 -- -string(11) "-2147483648" --- Iteration 18 -- -string(10) "2147483647" --- Iteration 19 -- -string(11) "-2147483649" --- Iteration 20 -- -string(10) "2147483648" --- Iteration 21 -- -string(11) "-2147483649" --- Iteration 22 -- -string(11) "34359738369" --- Iteration 23 -- -string(10) "2147483649" --- Iteration 24 -- -string(11) "-2147483649" --- Iteration 25 -- -string(1) "0" --- Iteration 26 -- -string(4) "-0.1" --- Iteration 27 -- -string(2) "10" --- Iteration 28 -- -string(7) "1050000" --- Iteration 29 -- -string(6) "1.0E-5" --- Iteration 30 -- -string(7) "5000000" --- Iteration 31 -- -string(7) "6.0E-20" --- Iteration 32 -- -string(7) "5.0E+42" --- Iteration 33 -- -string(7) "3.4E-33" --- Iteration 34 -- -string(1) "1" --- Iteration 35 -- -string(1) "1" --- Iteration 36 -- -string(0) "" --- Iteration 37 -- -string(0) "" --- Iteration 38 -- -string(0) "" --- Iteration 39 -- -string(0) "" --- Iteration 40 -- -string(1) " " --- Iteration 41 -- -string(1) " " --- Iteration 42 -- -string(1) "0" --- Iteration 43 -- -string(1) "0" --- Iteration 44 -- -string(7) "testing" --- Iteration 45 -- -string(5) "0x564" --- Iteration 46 -- -string(4) "0123" --- Iteration 47 -- -string(4) "new -" --- Iteration 48 -- -string(5) "new\n" --- Iteration 49 -- -string(11) "@#$$%^&&*()" --- Iteration 50 -- -string(8) " " --- Iteration 51 -- -string(4) "null" --- Iteration 52 -- -string(4) "null" --- Iteration 53 -- -string(4) "true" --- Iteration 54 -- -string(4) "true" --- Iteration 55 -- -string(54) "This is a multiline heredoc -string. Numeric = 1232455." --- Iteration 56 -- -string(10) "12345 -2345" --- Iteration 57 -- -string(0) "" - -*** Testing strval() with non_scalar values *** --- Iteration 1 -- -string(6) "Object" --- Iteration 2 -- -string(14) "Resource id #%d" --- Iteration 3 -- -string(14) "Resource id #%d" --- Iteration 4 -- - -Notice: Array to string conversion in %s on line %d -string(5) "Array" --- Iteration 5 -- - -Notice: Array to string conversion in %s on line %d -string(5) "Array" --- Iteration 6 -- - -Notice: Array to string conversion in %s on line %d -string(5) "Array" --- Iteration 7 -- - -Notice: Array to string conversion in %s on line %d -string(5) "Array" --- Iteration 8 -- -string(0) "" --- Iteration 9 -- -string(0) "" --- Iteration 10 -- -string(0) "" --- Iteration 11 -- -string(0) "" - -*** Testing error conditions *** - -Warning: Wrong parameter count for strval() in %s on line %d -NULL - -Warning: Wrong parameter count for strval() in %s on line %d -NULL -Done ---UEXPECTF-- -*** Testing str_val() with scalar values*** --- Iteration 1 -- unicode(1) "0" -- Iteration 2 -- unicode(1) "1" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt diff -u php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt:1.2 php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt:1.3 --- php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt:1.2 Thu Nov 16 13:49:01 2006 +++ php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt Tue May 27 00:04:31 2008 @@ -12,7 +12,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- array(3) { [0]=> float(%f) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/type.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/type.phpt diff -u php-src/ext/standard/tests/general_functions/type.phpt:1.1 php-src/ext/standard/tests/general_functions/type.phpt:1.2 --- php-src/ext/standard/tests/general_functions/type.phpt:1.1 Wed Nov 15 17:28:56 2006 +++ php-src/ext/standard/tests/general_functions/type.phpt Tue May 27 00:04:31 2008 @@ -54,302 +54,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(5) "array" -string(6) "string" -string(5) "array" -string(7) "integer" -string(6) "double" -string(4) "NULL" -string(7) "boolean" -string(6) "string" -string(12) "unknown type" -string(8) "resource" -string(6) "object" -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -int(1) -bool(true) -int(0) -bool(true) -int(1) -bool(true) -int(1) -bool(true) -int(2) -bool(true) -int(0) -bool(true) -int(0) -bool(true) -int(0) -bool(true) -int(%d) -bool(true) -int(%d) -string(54) "Object of class stdClass could not be converted to int" -bool(true) -int(%d) -bool(true) -float(1) -bool(true) -float(0) -bool(true) -float(1) -bool(true) -float(1) -bool(true) -float(2) -bool(true) -float(0) -bool(true) -float(0) -bool(true) -float(0) -bool(true) -float(%d) -bool(true) -float(%d) -string(57) "Object of class stdClass could not be converted to double" -bool(true) -float(%d) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(false) -bool(true) -bool(false) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -string(42) "settype(): Cannot convert to resource type" -bool(false) -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(42) "settype(): Cannot convert to resource type" -bool(false) -string(14) "another string" -string(42) "settype(): Cannot convert to resource type" -bool(false) -array(3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -string(42) "settype(): Cannot convert to resource type" -bool(false) -int(1) -string(42) "settype(): Cannot convert to resource type" -bool(false) -float(2) -string(42) "settype(): Cannot convert to resource type" -bool(false) -NULL -string(42) "settype(): Cannot convert to resource type" -bool(false) -bool(false) -string(42) "settype(): Cannot convert to resource type" -bool(false) -string(11) "some string" -string(42) "settype(): Cannot convert to resource type" -bool(false) -resource(%d) of type (Unknown) -string(42) "settype(): Cannot convert to resource type" -bool(false) -resource(%d) of type (stream) -string(42) "settype(): Cannot convert to resource type" -bool(false) -object(stdClass)#%d (0) { -} -bool(true) -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -bool(true) -array(1) { - [0]=> - string(14) "another string" -} -bool(true) -array(3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -bool(true) -array(1) { - [0]=> - int(1) -} -bool(true) -array(1) { - [0]=> - float(2) -} -bool(true) -array(0) { -} -bool(true) -array(1) { - [0]=> - bool(false) -} -bool(true) -array(1) { - [0]=> - string(11) "some string" -} -bool(true) -array(1) { - [0]=> - resource(%d) of type (Unknown) -} -bool(true) -array(1) { - [0]=> - resource(%d) of type (stream) -} -bool(true) -array(0) { -} -bool(true) -object(stdClass)#%d (3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - string(14) "another string" -} -bool(true) -object(stdClass)#%d (3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - int(1) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - float(2) -} -bool(true) -object(stdClass)#%d (0) { -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - bool(false) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - string(11) "some string" -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - resource(%d) of type (Unknown) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - resource(%d) of type (stream) -} -bool(true) -object(stdClass)#%d (0) { -} -string(26) "Array to string conversion" -bool(true) -string(5) "Array" -bool(true) -string(14) "another string" -string(26) "Array to string conversion" -bool(true) -string(5) "Array" -bool(true) -string(1) "1" -bool(true) -string(1) "2" -bool(true) -string(0) "" -bool(true) -string(0) "" -bool(true) -string(11) "some string" -bool(true) -string(14) "Resource id #%d" -bool(true) -string(14) "Resource id #%d" -string(57) "Object of class stdClass could not be converted to string" -string(45) "Object of class stdClass to string conversion" -bool(true) -string(6) "Object" -Done ---UEXPECTF-- +--EXPECTF-- unicode(5) "array" unicode(7) "unicode" unicode(5) "array" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/var_dump.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/var_dump.phpt diff -u php-src/ext/standard/tests/general_functions/var_dump.phpt:1.3 php-src/ext/standard/tests/general_functions/var_dump.phpt:1.4 --- php-src/ext/standard/tests/general_functions/var_dump.phpt:1.3 Mon May 14 13:05:28 2007 +++ php-src/ext/standard/tests/general_functions/var_dump.phpt Tue May 27 00:04:31 2008 @@ -434,1624 +434,6 @@ *** Testing var_dump() on string variables *** -- Iteration 1 -- -string(0) "" --- Iteration 2 -- -string(0) "" --- Iteration 3 -- -string(1) " " --- Iteration 4 -- -string(1) " " --- Iteration 5 -- -string(1) "0" --- Iteration 6 -- -string(1) "--- Iteration 7 -- -string(2) "\0" --- Iteration 8 -- -string(1) " " --- Iteration 9 -- -string(2) "\t" --- Iteration 10 -- -string(3) "PHP" --- Iteration 11 -- -string(3) "PHP" --- Iteration 12 -- -string(29) "abcd--- Iteration 13 -- -string(34) "abcd--- Iteration 14 -- -string(22) "1234 -5678 - 9100abcda" - -*** Testing var_dump() on boolean variables *** --- Iteration 1 -- -bool(true) --- Iteration 2 -- -bool(false) --- Iteration 3 -- -bool(true) --- Iteration 4 -- -bool(false) - -*** Testing var_dump() on array variables *** --- Iteration 1 -- -array(0) { -} --- Iteration 2 -- -array(1) { - [0]=> - NULL -} --- Iteration 3 -- -array(1) { - [0]=> - NULL -} --- Iteration 4 -- -array(1) { - [0]=> - bool(true) -} --- Iteration 5 -- -array(1) { - [0]=> - string(0) "" -} --- Iteration 6 -- -array(1) { - [0]=> - string(0) "" -} --- Iteration 7 -- -array(2) { - [0]=> - array(0) { - } - [1]=> - array(0) { - } -} --- Iteration 8 -- -array(2) { - [0]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } - [1]=> - array(2) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - } -} --- Iteration 9 -- -array(1) { - [1]=> - string(3) "One" -} --- Iteration 10 -- -array(1) { - ["test"]=> - string(8) "is_array" -} --- Iteration 11 -- -array(1) { - [0]=> - int(0) -} --- Iteration 12 -- -array(1) { - [0]=> - int(-1) -} --- Iteration 13 -- -array(2) { - [0]=> - float(10.5) - [1]=> - float(5.6) -} --- Iteration 14 -- -array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" -} --- Iteration 15 -- -array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" -} - -*** Testing var_dump() on object variables *** --- Iteration 1 -- -object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 2 -- -object(no_member_class)#%d (0) { -} --- Iteration 3 -- -object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 4 -- -object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 5 -- -object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 6 -- -object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 7 -- -object(no_member_class)#%d (0) { -} --- Iteration 8 -- -object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 9 -- -NULL - -** Testing var_dump() on objects having circular reference ** -object(object_class)#%d (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#%d (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#%d (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#%d (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - *RECURSION* - } - } - } -} - -*** Testing var_dump() on resources *** --- Iteration 1 -- -resource(%d) of type (stream) --- Iteration 2 -- -resource(%d) of type (stream) - -*** Testing var_dump() on different combinations of scalar - and non-scalar variables *** --- Iteration 1 -- -array(3) { - [0]=> - int(123) - [1]=> - float(-1.2345) - [2]=> - string(1) "a" -} --- Iteration 2 -- -array(4) { - [0]=> - string(1) "d" - [1]=> - array(3) { - [0]=> - int(1) - [1]=> - int(3) - [2]=> - int(5) - } - [2]=> - bool(true) - [3]=> - NULL -} --- Iteration 3 -- -array(4) { - [0]=> - object(no_member_class)#%d (0) { - } - [1]=> - array(0) { - } - [2]=> - bool(false) - [3]=> - int(0) -} --- Iteration 4 -- -array(6) { - [0]=> - float(0) - [1]=> - string(11) "Where am I?" - [2]=> - array(3) { - [0]=> - int(7) - [1]=> - int(8) - [2]=> - int(9) - } - [3]=> - bool(true) - [4]=> - string(1) "A" - [5]=> - int(987654321) -} --- Iteration 5 -- -array(4) { - [0]=> - NULL - [1]=> - float(20000000000) - [2]=> - float(79.1) - [3]=> - float(4.599998) -} --- Iteration 6 -- -array(4) { - [0]=> - string(27) "array(1,2,3,4)1.0000002TRUE" - [1]=> - NULL - [2]=> - float(4611333) - [3]=> - string(5) "/00\7" -} - -*** Testing var_dump() on miscelleneous input arguments *** --- Iteration 1 -- -NULL --- Iteration 2 -- -NULL --- Iteration 3 -- -NULL --- Iteration 4 -- -NULL - -*** Testing var_dump() on multiple arguments *** -array(15) { - [0]=> - int(0) - [1]=> - int(83) - [2]=> - int(123000000) - [3]=> - int(-83) - [4]=> - int(-12300000) - [5]=> - array(10) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) - [4]=> - int(5) - [5]=> - int(6) - [6]=> - int(7) - [7]=> - int(8) - [8]=> - int(9) - [9]=> - int(10) - } - [6]=> - array(10) { - [0]=> - int(-1) - [1]=> - int(-2) - [2]=> - int(-3) - [3]=> - int(-4) - [4]=> - int(-5) - [5]=> - int(-6) - [6]=> - int(-7) - [7]=> - int(-8) - [8]=> - int(-9) - [9]=> - int(-10) - } - [7]=> - int(2147483647) - [8]=> - float(2147483648) - [9]=> - float(-2147483648) - [10]=> - int(-2147483647) - [11]=> - int(2147483647) - [12]=> - float(-2147483648) - [13]=> - int(2147483647) - [14]=> - float(-2147483648) -} -array(32) { - [0]=> - float(0) - [1]=> - float(0) - [2]=> - float(1.234) - [3]=> - float(-1.234) - [4]=> - float(-2) - [5]=> - float(2) - [6]=> - float(-0.5) - [7]=> - float(0.567) - [8]=> - float(-0.00067) - [9]=> - float(-670) - [10]=> - float(670) - [11]=> - float(670) - [12]=> - float(-0.00410003) - [13]=> - float(-4100.03) - [14]=> - float(0.004100003) - [15]=> - float(4100.003) - [16]=> - float(100000) - [17]=> - float(-100000) - [18]=> - float(1.0E-5) - [19]=> - float(-1.0E-5) - [20]=> - float(100000) - [21]=> - float(-100000) - [22]=> - float(100000) - [23]=> - float(-100000) - [24]=> - float(100000) - [25]=> - float(-100000) - [26]=> - float(1.0E-5) - [27]=> - float(-1.0E-5) - [28]=> - float(-2147483649) - [29]=> - float(2147483649) - [30]=> - float(2147483649) - [31]=> - float(-2147483649) -} -array(14) { - [0]=> - string(0) "" - [1]=> - string(0) "" - [2]=> - string(1) " " - [3]=> - string(1) " " - [4]=> - string(1) "0" - [5]=> - string(1) "- [6]=> - string(2) "\0" - [7]=> - string(1) " " - [8]=> - string(2) "\t" - [9]=> - string(3) "PHP" - [10]=> - string(3) "PHP" - [11]=> - string(29) "abcd- [12]=> - string(34) "abcd- [13]=> - string(22) "1234 -5678 - 9100abcda" -} -array(15) { - [0]=> - array(0) { - } - [1]=> - array(1) { - [0]=> - NULL - } - [2]=> - array(1) { - [0]=> - NULL - } - [3]=> - array(1) { - [0]=> - bool(true) - } - [4]=> - array(1) { - [0]=> - string(0) "" - } - [5]=> - array(1) { - [0]=> - string(0) "" - } - [6]=> - array(2) { - [0]=> - array(0) { - } - [1]=> - array(0) { - } - } - [7]=> - array(2) { - [0]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } - [1]=> - array(2) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - } - } - [8]=> - array(1) { - [1]=> - string(3) "One" - } - [9]=> - array(1) { - ["test"]=> - string(8) "is_array" - } - [10]=> - array(1) { - [0]=> - int(0) - } - [11]=> - array(1) { - [0]=> - int(-1) - } - [12]=> - array(2) { - [0]=> - float(10.5) - [1]=> - float(5.6) - } - [13]=> - array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" - } - [14]=> - array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" - } -} -array(4) { - [0]=> - bool(true) - [1]=> - bool(false) - [2]=> - bool(true) - [3]=> - bool(false) -} -array(2) { - [0]=> - resource(%d) of type (stream) - [1]=> - resource(%d) of type (stream) -} -array(9) { - [0]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [1]=> - object(no_member_class)#%d (0) { - } - [2]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - *RECURSION* - } - } - [3]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - *RECURSION* - } - } - [4]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [5]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [6]=> - object(no_member_class)#%d (0) { - } - [7]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [8]=> - NULL -} -array(4) { - [0]=> - NULL - [1]=> - NULL - [2]=> - NULL - [3]=> - NULL -} -array(6) { - [0]=> - array(3) { - [0]=> - int(123) - [1]=> - float(-1.2345) - [2]=> - string(1) "a" - } - [1]=> - array(4) { - [0]=> - string(1) "d" - [1]=> - array(3) { - [0]=> - int(1) - [1]=> - int(3) - [2]=> - int(5) - } - [2]=> - bool(true) - [3]=> - NULL - } - [2]=> - array(4) { - [0]=> - object(no_member_class)#%d (0) { - } - [1]=> - array(0) { - } - [2]=> - bool(false) - [3]=> - int(0) - } - [3]=> - array(6) { - [0]=> - float(0) - [1]=> - string(11) "Where am I?" - [2]=> - array(3) { - [0]=> - int(7) - [1]=> - int(8) - [2]=> - int(9) - } - [3]=> - bool(true) - [4]=> - string(1) "A" - [5]=> - int(987654321) - } - [4]=> - array(4) { - [0]=> - NULL - [1]=> - float(20000000000) - [2]=> - float(79.1) - [3]=> - float(4.599998) - } - [5]=> - array(4) { - [0]=> - string(27) "array(1,2,3,4)1.0000002TRUE" - [1]=> - NULL - [2]=> - float(4611333) - [3]=> - string(5) "/00\7" - } -} - -*** Testing var_dump() on anonymous functions *** -New anonymous function: -string(9) "2 * 3 = 6" -string(9) "- -*** Testing error conditions *** - -Warning: Wrong parameter count for var_dump() in %s on line %d -Done ---UEXPECTF-- -*** Testing var_dump() on integer variables *** --- Iteration 1 -- -int(0) --- Iteration 2 -- -int(83) --- Iteration 3 -- -int(123000000) --- Iteration 4 -- -int(-83) --- Iteration 5 -- -int(-12300000) --- Iteration 6 -- -array(10) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) - [4]=> - int(5) - [5]=> - int(6) - [6]=> - int(7) - [7]=> - int(8) - [8]=> - int(9) - [9]=> - int(10) -} --- Iteration 7 -- -array(10) { - [0]=> - int(-1) - [1]=> - int(-2) - [2]=> - int(-3) - [3]=> - int(-4) - [4]=> - int(-5) - [5]=> - int(-6) - [6]=> - int(-7) - [7]=> - int(-8) - [8]=> - int(-9) - [9]=> - int(-10) -} --- Iteration 8 -- -int(2147483647) --- Iteration 9 -- -float(2147483648) --- Iteration 10 -- -float(-2147483648) --- Iteration 11 -- -int(-2147483647) --- Iteration 12 -- -int(2147483647) --- Iteration 13 -- -float(-2147483648) --- Iteration 14 -- -int(2147483647) --- Iteration 15 -- -float(-2147483648) - -*** Testing var_dump() on float variables *** --- Iteration 1 -- -float(0) --- Iteration 2 -- -float(0) --- Iteration 3 -- -float(1.234) --- Iteration 4 -- -float(-1.234) --- Iteration 5 -- -float(-2) --- Iteration 6 -- -float(2) --- Iteration 7 -- -float(-0.5) --- Iteration 8 -- -float(0.567) --- Iteration 9 -- -float(-0.00067) --- Iteration 10 -- -float(-670) --- Iteration 11 -- -float(670) --- Iteration 12 -- -float(670) --- Iteration 13 -- -float(-0.00410003) --- Iteration 14 -- -float(-4100.03) --- Iteration 15 -- -float(0.004100003) --- Iteration 16 -- -float(4100.003) --- Iteration 17 -- -float(100000) --- Iteration 18 -- -float(-100000) --- Iteration 19 -- -float(1.0E-5) --- Iteration 20 -- -float(-1.0E-5) --- Iteration 21 -- -float(100000) --- Iteration 22 -- -float(-100000) --- Iteration 23 -- -float(100000) --- Iteration 24 -- -float(-100000) --- Iteration 25 -- -float(100000) --- Iteration 26 -- -float(-100000) --- Iteration 27 -- -float(1.0E-5) --- Iteration 28 -- -float(-1.0E-5) --- Iteration 29 -- -float(-2147483649) --- Iteration 30 -- -float(2147483649) --- Iteration 31 -- -float(2147483649) --- Iteration 32 -- -float(-2147483649) - -*** Testing var_dump() on string variables *** --- Iteration 1 -- unicode(0) "" -- Iteration 2 -- unicode(0) "" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt diff -u php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt:1.2 php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt:1.3 --- php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt:1.2 Tue May 29 12:42:19 2007 +++ php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt Tue May 27 00:04:31 2008 @@ -434,1624 +434,6 @@ *** Testing var_dump() on string variables *** -- Iteration 1 -- -string(0) "" --- Iteration 2 -- -string(0) "" --- Iteration 3 -- -string(1) " " --- Iteration 4 -- -string(1) " " --- Iteration 5 -- -string(1) "0" --- Iteration 6 -- -string(1) "--- Iteration 7 -- -string(2) "\0" --- Iteration 8 -- -string(1) " " --- Iteration 9 -- -string(2) "\t" --- Iteration 10 -- -string(3) "PHP" --- Iteration 11 -- -string(3) "PHP" --- Iteration 12 -- -string(29) "abcd--- Iteration 13 -- -string(34) "abcd--- Iteration 14 -- -string(22) "1234 -5678 - 9100abcda" - -*** Testing var_dump() on boolean variables *** --- Iteration 1 -- -bool(true) --- Iteration 2 -- -bool(false) --- Iteration 3 -- -bool(true) --- Iteration 4 -- -bool(false) - -*** Testing var_dump() on array variables *** --- Iteration 1 -- -array(0) { -} --- Iteration 2 -- -array(1) { - [0]=> - NULL -} --- Iteration 3 -- -array(1) { - [0]=> - NULL -} --- Iteration 4 -- -array(1) { - [0]=> - bool(true) -} --- Iteration 5 -- -array(1) { - [0]=> - string(0) "" -} --- Iteration 6 -- -array(1) { - [0]=> - string(0) "" -} --- Iteration 7 -- -array(2) { - [0]=> - array(0) { - } - [1]=> - array(0) { - } -} --- Iteration 8 -- -array(2) { - [0]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } - [1]=> - array(2) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - } -} --- Iteration 9 -- -array(1) { - [1]=> - string(3) "One" -} --- Iteration 10 -- -array(1) { - ["test"]=> - string(8) "is_array" -} --- Iteration 11 -- -array(1) { - [0]=> - int(0) -} --- Iteration 12 -- -array(1) { - [0]=> - int(-1) -} --- Iteration 13 -- -array(2) { - [0]=> - float(10.5) - [1]=> - float(5.6) -} --- Iteration 14 -- -array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" -} --- Iteration 15 -- -array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" -} - -*** Testing var_dump() on object variables *** --- Iteration 1 -- -object(object_class)#6 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 2 -- -object(no_member_class)#7 (0) { -} --- Iteration 3 -- -object(contains_object_class)#8 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#11 (0) { - } - ["class_object5"]=> - object(contains_object_class)#8 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#11 (0) { - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 4 -- -object(contains_object_class)#1 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#4 (0) { - } - ["class_object5"]=> - object(contains_object_class)#1 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#4 (0) { - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 5 -- -object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 6 -- -object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 7 -- -object(no_member_class)#4 (0) { -} --- Iteration 8 -- -object(object_class)#5 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 9 -- -NULL - -** Testing var_dump() on objects having circular reference ** -object(object_class)#13 (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#12 (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#13 (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#12 (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - *RECURSION* - } - } - } -} - -*** Testing var_dump() on resources *** --- Iteration 1 -- -resource(5) of type (stream) --- Iteration 2 -- -resource(6) of type (stream) - -*** Testing var_dump() on different combinations of scalar - and non-scalar variables *** --- Iteration 1 -- -array(3) { - [0]=> - int(123) - [1]=> - float(-1.2345) - [2]=> - string(1) "a" -} --- Iteration 2 -- -array(4) { - [0]=> - string(1) "d" - [1]=> - array(3) { - [0]=> - int(1) - [1]=> - int(3) - [2]=> - int(5) - } - [2]=> - bool(true) - [3]=> - NULL -} --- Iteration 3 -- -array(4) { - [0]=> - object(no_member_class)#14 (0) { - } - [1]=> - array(0) { - } - [2]=> - bool(false) - [3]=> - int(0) -} --- Iteration 4 -- -array(6) { - [0]=> - float(0) - [1]=> - string(11) "Where am I?" - [2]=> - array(3) { - [0]=> - int(7) - [1]=> - int(8) - [2]=> - int(9) - } - [3]=> - bool(true) - [4]=> - string(1) "A" - [5]=> - int(987654321) -} --- Iteration 5 -- -array(4) { - [0]=> - NULL - [1]=> - float(20000000000) - [2]=> - float(79.1) - [3]=> - float(4.599998) -} --- Iteration 6 -- -array(4) { - [0]=> - string(27) "array(1,2,3,4)1.0000002TRUE" - [1]=> - NULL - [2]=> - float(4611333) - [3]=> - string(5) "/00\7" -} - -*** Testing var_dump() on miscelleneous input arguments *** --- Iteration 1 -- -NULL --- Iteration 2 -- -NULL --- Iteration 3 -- -NULL --- Iteration 4 -- -NULL - -*** Testing var_dump() on multiple arguments *** -array(15) { - [0]=> - int(0) - [1]=> - int(83) - [2]=> - int(123000000) - [3]=> - int(-83) - [4]=> - int(-12300000) - [5]=> - array(10) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) - [4]=> - int(5) - [5]=> - int(6) - [6]=> - int(7) - [7]=> - int(8) - [8]=> - int(9) - [9]=> - int(10) - } - [6]=> - array(10) { - [0]=> - int(-1) - [1]=> - int(-2) - [2]=> - int(-3) - [3]=> - int(-4) - [4]=> - int(-5) - [5]=> - int(-6) - [6]=> - int(-7) - [7]=> - int(-8) - [8]=> - int(-9) - [9]=> - int(-10) - } - [7]=> - int(2147483647) - [8]=> - int(2147483648) - [9]=> - int(-2147483648) - [10]=> - int(-2147483647) - [11]=> - int(2147483647) - [12]=> - int(-2147483648) - [13]=> - int(2147483647) - [14]=> - int(-2147483648) -} -array(32) { - [0]=> - float(0) - [1]=> - float(0) - [2]=> - float(1.234) - [3]=> - float(-1.234) - [4]=> - float(-2) - [5]=> - float(2) - [6]=> - float(-0.5) - [7]=> - float(0.567) - [8]=> - float(-0.00067) - [9]=> - float(-670) - [10]=> - float(670) - [11]=> - float(670) - [12]=> - float(-0.00410003) - [13]=> - float(-4100.03) - [14]=> - float(0.004100003) - [15]=> - float(4100.003) - [16]=> - float(100000) - [17]=> - float(-100000) - [18]=> - float(1.0E-5) - [19]=> - float(-1.0E-5) - [20]=> - float(100000) - [21]=> - float(-100000) - [22]=> - float(100000) - [23]=> - float(-100000) - [24]=> - float(100000) - [25]=> - float(-100000) - [26]=> - float(1.0E-5) - [27]=> - float(-1.0E-5) - [28]=> - int(-2147483649) - [29]=> - int(2147483649) - [30]=> - int(2147483649) - [31]=> - int(-2147483649) -} -array(14) { - [0]=> - string(0) "" - [1]=> - string(0) "" - [2]=> - string(1) " " - [3]=> - string(1) " " - [4]=> - string(1) "0" - [5]=> - string(1) "- [6]=> - string(2) "\0" - [7]=> - string(1) " " - [8]=> - string(2) "\t" - [9]=> - string(3) "PHP" - [10]=> - string(3) "PHP" - [11]=> - string(29) "abcd- [12]=> - string(34) "abcd- [13]=> - string(22) "1234 -5678 - 9100abcda" -} -array(15) { - [0]=> - array(0) { - } - [1]=> - array(1) { - [0]=> - NULL - } - [2]=> - array(1) { - [0]=> - NULL - } - [3]=> - array(1) { - [0]=> - bool(true) - } - [4]=> - array(1) { - [0]=> - string(0) "" - } - [5]=> - array(1) { - [0]=> - string(0) "" - } - [6]=> - array(2) { - [0]=> - array(0) { - } - [1]=> - array(0) { - } - } - [7]=> - array(2) { - [0]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } - [1]=> - array(2) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - } - } - [8]=> - array(1) { - [1]=> - string(3) "One" - } - [9]=> - array(1) { - ["test"]=> - string(8) "is_array" - } - [10]=> - array(1) { - [0]=> - int(0) - } - [11]=> - array(1) { - [0]=> - int(-1) - } - [12]=> - array(2) { - [0]=> - float(10.5) - [1]=> - float(5.6) - } - [13]=> - array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" - } - [14]=> - array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" - } -} -array(4) { - [0]=> - bool(true) - [1]=> - bool(false) - [2]=> - bool(true) - [3]=> - bool(false) -} -array(2) { - [0]=> - resource(5) of type (stream) - [1]=> - resource(6) of type (stream) -} -array(9) { - [0]=> - object(object_class)#6 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [1]=> - object(no_member_class)#7 (0) { - } - [2]=> - object(contains_object_class)#8 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#11 (0) { - } - ["class_object5"]=> - object(contains_object_class)#8 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#11 (0) { - } - ["class_object5"]=> - *RECURSION* - } - } - [3]=> - object(contains_object_class)#1 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#4 (0) { - } - ["class_object5"]=> - object(contains_object_class)#1 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#4 (0) { - } - ["class_object5"]=> - *RECURSION* - } - } - [4]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [5]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [6]=> - object(no_member_class)#4 (0) { - } - [7]=> - object(object_class)#5 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [8]=> - NULL -} -array(4) { - [0]=> - NULL - [1]=> - NULL - [2]=> - NULL - [3]=> - NULL -} -array(6) { - [0]=> - array(3) { - [0]=> - int(123) - [1]=> - float(-1.2345) - [2]=> - string(1) "a" - } - [1]=> - array(4) { - [0]=> - string(1) "d" - [1]=> - array(3) { - [0]=> - int(1) - [1]=> - int(3) - [2]=> - int(5) - } - [2]=> - bool(true) - [3]=> - NULL - } - [2]=> - array(4) { - [0]=> - object(no_member_class)#14 (0) { - } - [1]=> - array(0) { - } - [2]=> - bool(false) - [3]=> - int(0) - } - [3]=> - array(6) { - [0]=> - float(0) - [1]=> - string(11) "Where am I?" - [2]=> - array(3) { - [0]=> - int(7) - [1]=> - int(8) - [2]=> - int(9) - } - [3]=> - bool(true) - [4]=> - string(1) "A" - [5]=> - int(987654321) - } - [4]=> - array(4) { - [0]=> - NULL - [1]=> - float(20000000000) - [2]=> - float(79.1) - [3]=> - float(4.599998) - } - [5]=> - array(4) { - [0]=> - string(27) "array(1,2,3,4)1.0000002TRUE" - [1]=> - NULL - [2]=> - float(4611333) - [3]=> - string(5) "/00\7" - } -} - -*** Testing var_dump() on anonymous functions *** -New anonymous function: -string(9) "2 * 3 = 6" -string(9) "- -*** Testing error conditions *** - -Warning: Wrong parameter count for var_dump() in %s on line %d -Done ---UEXPECTF-- -*** Testing var_dump() on integer variables *** --- Iteration 1 -- -int(0) --- Iteration 2 -- -int(83) --- Iteration 3 -- -int(123000000) --- Iteration 4 -- -int(-83) --- Iteration 5 -- -int(-12300000) --- Iteration 6 -- -array(10) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) - [4]=> - int(5) - [5]=> - int(6) - [6]=> - int(7) - [7]=> - int(8) - [8]=> - int(9) - [9]=> - int(10) -} --- Iteration 7 -- -array(10) { - [0]=> - int(-1) - [1]=> - int(-2) - [2]=> - int(-3) - [3]=> - int(-4) - [4]=> - int(-5) - [5]=> - int(-6) - [6]=> - int(-7) - [7]=> - int(-8) - [8]=> - int(-9) - [9]=> - int(-10) -} --- Iteration 8 -- -int(2147483647) --- Iteration 9 -- -int(2147483648) --- Iteration 10 -- -int(-2147483648) --- Iteration 11 -- -int(-2147483647) --- Iteration 12 -- -int(2147483647) --- Iteration 13 -- -int(-2147483648) --- Iteration 14 -- -int(2147483647) --- Iteration 15 -- -int(-2147483648) - -*** Testing var_dump() on float variables *** --- Iteration 1 -- -float(0) --- Iteration 2 -- -float(0) --- Iteration 3 -- -float(1.234) --- Iteration 4 -- -float(-1.234) --- Iteration 5 -- -float(-2) --- Iteration 6 -- -float(2) --- Iteration 7 -- -float(-0.5) --- Iteration 8 -- -float(0.567) --- Iteration 9 -- -float(-0.00067) --- Iteration 10 -- -float(-670) --- Iteration 11 -- -float(670) --- Iteration 12 -- -float(670) --- Iteration 13 -- -float(-0.00410003) --- Iteration 14 -- -float(-4100.03) --- Iteration 15 -- -float(0.004100003) --- Iteration 16 -- -float(4100.003) --- Iteration 17 -- -float(100000) --- Iteration 18 -- -float(-100000) --- Iteration 19 -- -float(1.0E-5) --- Iteration 20 -- -float(-1.0E-5) --- Iteration 21 -- -float(100000) --- Iteration 22 -- -float(-100000) --- Iteration 23 -- -float(100000) --- Iteration 24 -- -float(-100000) --- Iteration 25 -- -float(100000) --- Iteration 26 -- -float(-100000) --- Iteration 27 -- -float(1.0E-5) --- Iteration 28 -- -float(-1.0E-5) --- Iteration 29 -- -int(-2147483649) --- Iteration 30 -- -int(2147483649) --- Iteration 31 -- -int(2147483649) --- Iteration 32 -- -int(-2147483649) - -*** Testing var_dump() on string variables *** --- Iteration 1 -- unicode(0) "" -- Iteration 2 -- unicode(0) "" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/var_export.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/var_export.phpt diff -u php-src/ext/standard/tests/general_functions/var_export.phpt:1.4 php-src/ext/standard/tests/general_functions/var_export.phpt:1.5 --- php-src/ext/standard/tests/general_functions/var_export.phpt:1.4 Sun Dec 9 16:54:30 2007 +++ php-src/ext/standard/tests/general_functions/var_export.phpt Tue May 27 00:04:31 2008 @@ -594,767 +594,6 @@ Iteration 16 '' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and - and foreign chars too: blÃ¥bærøl' -'' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and - and foreign chars too: blÃ¥bærøl' -string(121) "'' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and - and foreign chars too: blÃ¥bærøl'" - -*** Testing var_export() with valid arrays *** - -*** Output for arrays *** - -Iteration 1 -array ( -) -array ( -) -string(9) "array ( -)" - - -Iteration 2 -array ( - 0 => NULL, -) -array ( - 0 => NULL, -) -string(22) "array ( - 0 => NULL, -)" - - -Iteration 3 -array ( - 0 => NULL, -) -array ( - 0 => NULL, -) -string(22) "array ( - 0 => NULL, -)" - - -Iteration 4 -array ( - 0 => true, -) -array ( - 0 => true, -) -string(22) "array ( - 0 => true, -)" - - -Iteration 5 -array ( - 0 => '', -) -array ( - 0 => '', -) -string(20) "array ( - 0 => '', -)" - - -Iteration 6 -array ( - 0 => '', -) -array ( - 0 => '', -) -string(20) "array ( - 0 => '', -)" - - -Iteration 7 -array ( - 0 => - array ( - ), - 1 => - array ( - ), -) -array ( - 0 => - array ( - ), - 1 => - array ( - ), -) -string(55) "array ( - 0 => - array ( - ), - 1 => - array ( - ), -)" - - -Iteration 8 -array ( - 0 => - array ( - 0 => 1, - 1 => 2, - ), - 1 => - array ( - 0 => 'a', - 1 => 'b', - ), -) -array ( - 0 => - array ( - 0 => 1, - 1 => 2, - ), - 1 => - array ( - 0 => 'a', - 1 => 'b', - ), -) -string(107) "array ( - 0 => - array ( - 0 => 1, - 1 => 2, - ), - 1 => - array ( - 0 => 'a', - 1 => 'b', - ), -)" - - -Iteration 9 -array ( - 1 => 'One', -) -array ( - 1 => 'One', -) -string(23) "array ( - 1 => 'One', -)" - - -Iteration 10 -array ( - 'test' => 'is_array', -) -array ( - 'test' => 'is_array', -) -string(33) "array ( - 'test' => 'is_array', -)" - - -Iteration 11 -array ( - 0 => 0, -) -array ( - 0 => 0, -) -string(19) "array ( - 0 => 0, -)" - - -Iteration 12 -array ( - 0 => -1, -) -array ( - 0 => -1, -) -string(20) "array ( - 0 => -1, -)" - - -Iteration 13 -array ( - 0 => 10.5, - 1 => 5.6, -) -array ( - 0 => 10.5, - 1 => 5.6, -) -string(34) "array ( - 0 => 10.5, - 1 => 5.6, -)" - - -Iteration 14 -array ( - 0 => 'string', - 1 => 'test', -) -array ( - 0 => 'string', - 1 => 'test', -) -string(41) "array ( - 0 => 'string', - 1 => 'test', -)" - - -Iteration 15 -array ( - 0 => 'string', - 1 => 'test', -) -array ( - 0 => 'string', - 1 => 'test', -) -string(41) "array ( - 0 => 'string', - 1 => 'test', -)" - -*** Testing var_export() with valid objects *** - -*** Output for objects *** - -Iteration 1 -stdClass::__set_state(array( -)) -stdClass::__set_state(array( -)) -string(31) "stdClass::__set_state(array( -))" - - -Iteration 2 -foo::__set_state(array( -)) -foo::__set_state(array( -)) -string(26) "foo::__set_state(array( -))" - - -Iteration 3 -concreteClass::__set_state(array( -)) -concreteClass::__set_state(array( -)) -string(36) "concreteClass::__set_state(array( -))" - - -Iteration 4 -Value::__set_state(array( - 'vars' => - array ( - ), -)) -Value::__set_state(array( - 'vars' => - array ( - ), -)) -string(57) "Value::__set_state(array( - 'vars' => - array ( - ), -))" - - -Iteration 5 -myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -)) -myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -)) -string(293) "myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -))" - - -Iteration 6 -myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -)) -myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -)) -string(293) "myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -))" - - -Iteration 7 -foo::__set_state(array( -)) -foo::__set_state(array( -)) -string(26) "foo::__set_state(array( -))" - - -Iteration 8 -foo::__set_state(array( -)) -foo::__set_state(array( -)) -string(26) "foo::__set_state(array( -))" - - -Iteration 9 -foo::__set_state(array( -)) -foo::__set_state(array( -)) -string(26) "foo::__set_state(array( -))" - - -Iteration 10 -Value::__set_state(array( - 'vars' => - array ( - ), -)) -Value::__set_state(array( - 'vars' => - array ( - ), -)) -string(57) "Value::__set_state(array( - 'vars' => - array ( - ), -))" - - -Iteration 11 -concreteClass::__set_state(array( -)) -concreteClass::__set_state(array( -)) -string(36) "concreteClass::__set_state(array( -))" - -*** Testing var_export() with valid null values *** - -*** Output for null values *** - -Iteration 1 -NULL -NULL -string(4) "NULL" - - -Iteration 2 -NULL -NULL -string(4) "NULL" - - -Iteration 3 -NULL -NULL -string(4) "NULL" - - -*** Tesing with binary input *** -'Sample_String' - -*** Testing error conditions *** - -Warning: var_export() expects at least 1 parameter, 0 given in %s on line %d -NULL -Warning: var_export() expects at most 2 parameters, 3 given in %s on line %d -NULL - -Done - ---UEXPECTF-- -*** Testing var_export() with integer values *** - -*** Output for integer values *** - -Iteration 1 -'0' -'0' -string(3) "'0'" - - -Iteration 2 -'1' -'1' -string(3) "'1'" - - -Iteration 3 -'-1' -'-1' -string(4) "'-1'" - - -Iteration 4 -'-2147483648' -'-2147483648' -string(13) "'-2147483648'" - - -Iteration 5 -'-2147483647' -'-2147483647' -string(13) "'-2147483647'" - - -Iteration 6 -2147483647 -2147483647 -string(10) "2147483647" - - -Iteration 7 -2147483640 -2147483640 -string(10) "2147483640" - - -Iteration 8 -4667 -4667 -string(4) "4667" - - -Iteration 9 -'0x12ab' -'0x12ab' -string(8) "'0x12ab'" - - -Iteration 10 -'0Xfff' -'0Xfff' -string(7) "'0Xfff'" - - -Iteration 11 -'0XFA' -'0XFA' -string(6) "'0XFA'" - - -Iteration 12 --2147483648 --2147483648 -string(11) "-2147483648" - - -Iteration 13 -'0x7fffffff' -'0x7fffffff' -string(12) "'0x7fffffff'" - - -Iteration 14 -2147483647 -2147483647 -string(10) "2147483647" - - -Iteration 15 -'0123' -'0123' -string(6) "'0123'" - - -Iteration 16 -1 -1 -string(1) "1" - - -Iteration 17 --2147483648 --2147483648 -string(11) "-2147483648" - - -Iteration 18 -2147483647 -2147483647 -string(10) "2147483647" - -*** Testing var_export() with valid boolean values *** - -*** Output for boolean values *** - -Iteration 1 -1 -1 -string(1) "1" - - -Iteration 2 -true -true -string(4) "true" - - -Iteration 3 -true -true -string(4) "true" - - -Iteration 4 -0 -0 -string(1) "0" - - -Iteration 5 -false -false -string(5) "false" - - -Iteration 6 -false -false -string(5) "false" - -*** Testing var_export() with valid float values *** - -*** Output for float values *** - -Iteration 1 -1 -1 -string(1) "1" - - -Iteration 2 -true -true -string(4) "true" - - -Iteration 3 -true -true -string(4) "true" - - -Iteration 4 -0 -0 -string(1) "0" - - -Iteration 5 -false -false -string(5) "false" - - -Iteration 6 -false -false -string(5) "false" - -*** Testing var_export() with valid strings *** - -*** Output for strings *** - -Iteration 1 -'' -'' -string(2) "''" - - -Iteration 2 -' ' -' ' -string(3) "' '" - - -Iteration 3 -'' -'' -string(2) "''" - - -Iteration 4 -' ' -' ' -string(3) "' '" - - -Iteration 5 -'string' -'string' -string(8) "'string'" - - -Iteration 6 -'string' -'string' -string(8) "'string'" - - -Iteration 7 -'NULL' -'NULL' -string(6) "'NULL'" - - -Iteration 8 -'null' -'null' -string(6) "'null'" - - -Iteration 9 -'FALSE' -'FALSE' -string(7) "'FALSE'" - - -Iteration 10 -'false' -'false' -string(7) "'false'" - - -Iteration 11 -'' -'' -string(3) "''" - - -Iteration 12 -'' . "\0" . '' -'' . "\0" . '' -string(14) "'' . "\0" . ''" - - -Iteration 13 -'\\0' -'\\0' -string(5) "'\\0'" - - -Iteration 14 -'\\060' -'\\060' -string(7) "'\\060'" - - -Iteration 15 -'8' -'8' -string(3) "'8'" - - -Iteration 16 -'' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and and foreign chars too: bl' . "\u00E5" . 'b' . "\u00E6" . 'r' . "\u00F8" . 'l' '' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and and foreign chars too: bl' . "\u00E5" . 'b' . "\u00E6" . 'r' . "\u00F8" . 'l'
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/005.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/005.phpt diff -u php-src/ext/standard/tests/general_functions/005.phpt:1.2 php-src/ext/standard/tests/general_functions/005.phpt:1.3 --- php-src/ext/standard/tests/general_functions/005.phpt:1.2 Wed May 19 08:54:51 2004 +++ php-src/ext/standard/tests/general_functions/005.phpt Tue May 27 00:04:31 2008 @@ -21,4 +21,3 @@ bool(false) bool(false) bool(false) - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/008.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/008.phpt diff -u php-src/ext/standard/tests/general_functions/008.phpt:1.3 php-src/ext/standard/tests/general_functions/008.phpt:1.4 --- php-src/ext/standard/tests/general_functions/008.phpt:1.3 Tue Jan 17 12:18:53 2006 +++ php-src/ext/standard/tests/general_functions/008.phpt Tue May 27 00:04:31 2008 @@ -10,37 +10,6 @@ --EXPECT-- 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) -} ---UEXPECT-- -array(14) { - [0]=> unicode(2) "12" [1]=> float(0.012) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug27678.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug27678.phpt diff -u php-src/ext/standard/tests/general_functions/bug27678.phpt:1.3 php-src/ext/standard/tests/general_functions/bug27678.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug27678.phpt:1.3 Tue Dec 5 23:03:42 2006 +++ php-src/ext/standard/tests/general_functions/bug27678.phpt Tue May 27 00:04:31 2008 @@ -10,5 +10,5 @@ echo "Done\n"; ?> ---EXPECT-- +--EXPECT-- Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug31190.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug31190.phpt diff -u php-src/ext/standard/tests/general_functions/bug31190.phpt:1.3 php-src/ext/standard/tests/general_functions/bug31190.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug31190.phpt:1.3 Thu Apr 21 14:04:12 2005 +++ php-src/ext/standard/tests/general_functions/bug31190.phpt Tue May 27 00:04:31 2008 @@ -23,4 +23,3 @@ --EXPECT-- Hello World! Hello World! - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug34794.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug34794.phpt diff -u php-src/ext/standard/tests/general_functions/bug34794.phpt:1.3 php-src/ext/standard/tests/general_functions/bug34794.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug34794.phpt:1.3 Mon May 7 16:50:40 2007 +++ php-src/ext/standard/tests/general_functions/bug34794.phpt Tue May 27 00:04:31 2008 @@ -26,7 +26,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- Opening process 1 Opening process 2 Closing process 1 http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug36011.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug36011.phpt diff -u php-src/ext/standard/tests/general_functions/bug36011.phpt:1.1 php-src/ext/standard/tests/general_functions/bug36011.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug36011.phpt:1.1 Sat Jan 14 15:21:46 2006 +++ php-src/ext/standard/tests/general_functions/bug36011.phpt Tue May 27 00:04:31 2008 @@ -37,7 +37,7 @@ ?> ===DONE=== ---EXPECTF-- +--EXPECT-- TestClass::test() TestClass::test() TestClass::test() http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug39322.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug39322.phpt diff -u php-src/ext/standard/tests/general_functions/bug39322.phpt:1.4 php-src/ext/standard/tests/general_functions/bug39322.phpt:1.5 --- php-src/ext/standard/tests/general_functions/bug39322.phpt:1.4 Mon May 7 16:50:40 2007 +++ php-src/ext/standard/tests/general_functions/bug39322.phpt Tue May 27 00:04:31 2008 @@ -24,26 +24,6 @@ ?> --EXPECTF-- array(8) { - ["command"]=> - string(14) "/bin/sleep 120" - ["pid"]=> - int(%d) - ["running"]=> - bool(false) - ["signaled"]=> - bool(true) - ["stopped"]=> - bool(false) - ["exitcode"]=> - int(-1) - ["termsig"]=> - int(15) - ["stopsig"]=> - int(0) -} -Done! ---UEXPECTF-- -array(8) { [u"command"]=> unicode(14) "/bin/sleep 120" [u"pid"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug40398.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug40398.phpt diff -u php-src/ext/standard/tests/general_functions/bug40398.phpt:1.4 php-src/ext/standard/tests/general_functions/bug40398.phpt:1.5 --- php-src/ext/standard/tests/general_functions/bug40398.phpt:1.4 Mon Feb 4 15:22:08 2008 +++ php-src/ext/standard/tests/general_functions/bug40398.phpt Tue May 27 00:04:31 2008 @@ -90,19 +90,3 @@ Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_6 in %s on line %d Base::__construct(6) ===DONE=== ---UEXPECTF-- -Base::__construct(1) -Base::__construct(2) - -Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_3 in %s on line %d -Base::__construct(3) - -Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_4 in %s on line %d -Base::__construct(4) - -Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_5 in %s on line %d -Base::__construct(5) - -Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Base::__construct() cannot be called statically, assuming $this from compatible context Derived_6 in %s on line %d -Base::__construct(6) -===DONE=== http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug40752.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug40752.phpt diff -u php-src/ext/standard/tests/general_functions/bug40752.phpt:1.1 php-src/ext/standard/tests/general_functions/bug40752.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug40752.phpt:1.1 Thu Mar 8 00:43:06 2007 +++ php-src/ext/standard/tests/general_functions/bug40752.phpt Tue May 27 00:04:31 2008 @@ -22,20 +22,7 @@ echo "Done\n"; ?> ---EXPECTF-- -array(1) { - ["foo"]=> - array(1) { - [0]=> - string(1) "1" - } -} -array(1) { - ["foo"]=> - string(1) "1" -} -Done ---UEXPECTF-- +--EXPECT-- array(1) { [u"foo"]=> array(1) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41037.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug41037.phpt diff -u php-src/ext/standard/tests/general_functions/bug41037.phpt:1.1 php-src/ext/standard/tests/general_functions/bug41037.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug41037.phpt:1.1 Tue Apr 10 09:36:10 2007 +++ php-src/ext/standard/tests/general_functions/bug41037.phpt Tue May 27 00:04:31 2008 @@ -13,7 +13,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- hello Warning: unregister_tick_function(): Unable to delete tick function executed at the moment in %s on line %d Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41445.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug41445.phpt diff -u php-src/ext/standard/tests/general_functions/bug41445.phpt:1.1 php-src/ext/standard/tests/general_functions/bug41445.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug41445.phpt:1.1 Tue Jun 26 12:08:50 2007 +++ php-src/ext/standard/tests/general_functions/bug41445.phpt Tue May 27 00:04:31 2008 @@ -35,45 +35,7 @@ echo "Done\n"; ?> ---EXPECTF-- -array(2) { - ["001099030277"]=> - array(1) { - ["option1"]=> - string(1) "1" - } - ["011099030277"]=> - array(1) { - ["option2"]=> - string(1) "1" - } -} -array(2) { - ["option1"]=> - string(1) "1" - ["option2"]=> - string(1) "1" -} -array(2) { - ["23.44"]=> - array(1) { - ["option1"]=> - string(1) "1" - } - ["9633337363542736472364"]=> - array(1) { - ["option2"]=> - string(1) "1" - } -} -array(2) { - ["option1"]=> - string(1) "1" - ["option2"]=> - string(1) "1" -} -Done ---UEXPECTF-- +--EXPECT-- array(2) { [u"001099030277"]=> array(1) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41445_1.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug41445_1.phpt diff -u php-src/ext/standard/tests/general_functions/bug41445_1.phpt:1.1 php-src/ext/standard/tests/general_functions/bug41445_1.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug41445_1.phpt:1.1 Tue Jun 26 12:08:50 2007 +++ php-src/ext/standard/tests/general_functions/bug41445_1.phpt Tue May 27 00:04:31 2008 @@ -25,34 +25,7 @@ echo "Done\n"; ?> ---EXPECTF-- -array(3) { - ["2454.33"]=> - array(1) { - ["09"]=> - string(1) "1" - } - [9876543]=> - array(1) { - ["098765434567876543"]=> - string(1) "1" - } - ["09876543"]=> - array(1) { - ["987654345678765432456798765434567876543"]=> - string(1) "1" - } -} -array(3) { - ["09"]=> - string(1) "1" - ["098765434567876543"]=> - string(1) "1" - ["987654345678765432456798765434567876543"]=> - string(1) "1" -} -Done ---UEXPECTF-- +--EXPECT-- array(3) { [u"2454.33"]=> array(1) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug41518.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug41518.phpt diff -u php-src/ext/standard/tests/general_functions/bug41518.phpt:1.2 php-src/ext/standard/tests/general_functions/bug41518.phpt:1.3 --- php-src/ext/standard/tests/general_functions/bug41518.phpt:1.2 Mon Jun 4 17:18:28 2007 +++ php-src/ext/standard/tests/general_functions/bug41518.phpt Tue May 27 00:04:31 2008 @@ -24,7 +24,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- bool(true) bool(false) Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug43293_1.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug43293_1.phpt diff -u php-src/ext/standard/tests/general_functions/bug43293_1.phpt:1.3 php-src/ext/standard/tests/general_functions/bug43293_1.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug43293_1.phpt:1.3 Thu Dec 6 15:23:57 2007 +++ php-src/ext/standard/tests/general_functions/bug43293_1.phpt Tue May 27 00:04:31 2008 @@ -22,4 +22,3 @@ int(3) } bool(false) - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug43293_2.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug43293_2.phpt diff -u php-src/ext/standard/tests/general_functions/bug43293_2.phpt:1.3 php-src/ext/standard/tests/general_functions/bug43293_2.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug43293_2.phpt:1.3 Thu Dec 6 15:23:57 2007 +++ php-src/ext/standard/tests/general_functions/bug43293_2.phpt Tue May 27 00:04:31 2008 @@ -10,4 +10,3 @@ --EXPECT-- array(0) { } - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug43293_3.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug43293_3.phpt diff -u php-src/ext/standard/tests/general_functions/bug43293_3.phpt:1.3 php-src/ext/standard/tests/general_functions/bug43293_3.phpt:1.4 --- php-src/ext/standard/tests/general_functions/bug43293_3.phpt:1.3 Thu Dec 6 15:23:57 2007 +++ php-src/ext/standard/tests/general_functions/bug43293_3.phpt Tue May 27 00:04:31 2008 @@ -25,24 +25,5 @@ [1]=> bool(false) [2]=> - string(1) "f" -} ---UEXPECT-- -array(1) { - ["f"]=> - array(2) { - [0]=> - bool(false) - [1]=> - bool(false) - } -} -array(3) { - [0]=> - bool(true) - [1]=> - bool(false) - [2]=> unicode(1) "f" } - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44461.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug44461.phpt diff -u php-src/ext/standard/tests/general_functions/bug44461.phpt:1.1 php-src/ext/standard/tests/general_functions/bug44461.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug44461.phpt:1.1 Fri Mar 21 15:18:18 2008 +++ php-src/ext/standard/tests/general_functions/bug44461.phpt Tue May 27 00:04:31 2008 @@ -15,4 +15,4 @@ unlink(__DIR__ . 'bug44461.ini'); ?> --EXPECT-- -===DONE=== \ No newline at end of file +===DONE=== http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44667.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/bug44667.phpt diff -u php-src/ext/standard/tests/general_functions/bug44667.phpt:1.1 php-src/ext/standard/tests/general_functions/bug44667.phpt:1.2 --- php-src/ext/standard/tests/general_functions/bug44667.phpt:1.1 Tue Apr 8 08:42:05 2008 +++ php-src/ext/standard/tests/general_functions/bug44667.phpt Tue May 27 00:04:31 2008 @@ -28,6 +28,6 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- Result is: Hello Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/call_user_func_return.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/call_user_func_return.phpt diff -u php-src/ext/standard/tests/general_functions/call_user_func_return.phpt:1.3 php-src/ext/standard/tests/general_functions/call_user_func_return.phpt:1.4 --- php-src/ext/standard/tests/general_functions/call_user_func_return.phpt:1.3 Fri Jul 13 09:13:58 2007 +++ php-src/ext/standard/tests/general_functions/call_user_func_return.phpt Tue May 27 00:04:31 2008 @@ -32,17 +32,7 @@ ?> ===DONE=== ---EXPECTF-- -Direct Call -string(5) "test1" refcount(1) -User Func -string(5) "test1" refcount(1) -Direct Call -string(5) "test2" refcount(2) -User Func -string(5) "test2" refcount(1) -===DONE=== ---UEXPECTF-- +--EXPECT-- Direct Call unicode(5) "test1" { 0074 0065 0073 0074 0031 } refcount(1) User Func http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt diff -u php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt:1.5 php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt:1.6 --- php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt:1.5 Sat Feb 23 19:26:08 2008 +++ php-src/ext/standard/tests/general_functions/debug_zval_dump_b.phpt Tue May 27 00:04:31 2008 @@ -183,287 +183,6 @@ double(1.0E-5) refcount(3) &double(1.0E-5) refcount(2) -- Iteration 27 -- -string(0) "" refcount(3) -&string(0) "" refcount(2) --- Iteration 28 -- -string(0) "" refcount(3) -&string(0) "" refcount(2) --- Iteration 29 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 30 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 31 -- -string(1) "0" refcount(3) -&string(1) "0" refcount(2) --- Iteration 32 -- -string(1) "-&string(1) "--- Iteration 33 -- -string(2) "\0" refcount(3) -&string(2) "\0" refcount(2) --- Iteration 34 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 35 -- -string(2) "\t" refcount(3) -&string(2) "\t" refcount(2) --- Iteration 36 -- -string(3) "PHP" refcount(3) -&string(3) "PHP" refcount(2) --- Iteration 37 -- -string(3) "PHP" refcount(3) -&string(3) "PHP" refcount(2) --- Iteration 38 -- -string(34) "1234 -5678 - 9100abcda-&string(34) "1234 -5678 - 9100abcda--- Iteration 39 -- -bool(true) refcount(3) -&bool(true) refcount(2) --- Iteration 40 -- -bool(false) refcount(3) -&bool(false) refcount(2) --- Iteration 41 -- -bool(true) refcount(3) -&bool(true) refcount(2) --- Iteration 42 -- -bool(false) refcount(3) -&bool(false) refcount(2) --- Iteration 43 -- -array(0) refcount(3){ -} -&array(0) refcount(2){ -} --- Iteration 44 -- -array(1) refcount(3){ - [0]=> - NULL refcount(1) -} -&array(1) refcount(2){ - [0]=> - NULL refcount(2) -} --- Iteration 45 -- -array(1) refcount(3){ - [0]=> - bool(true) refcount(1) -} -&array(1) refcount(2){ - [0]=> - bool(true) refcount(2) -} --- Iteration 46 -- -array(1) refcount(3){ - [0]=> - string(0) "" refcount(1) -} -&array(1) refcount(2){ - [0]=> - string(0) "" refcount(2) -} --- Iteration 47 -- -array(1) refcount(3){ - [0]=> - string(0) "" refcount(1) -} -&array(1) refcount(2){ - [0]=> - string(0) "" refcount(2) -} --- Iteration 48 -- -array(2) refcount(3){ - [0]=> - array(2) refcount(1){ - [0]=> - long(1) refcount(1) - [1]=> - long(2) refcount(1) - } - [1]=> - array(2) refcount(1){ - [0]=> - string(1) "a" refcount(1) - [1]=> - string(1) "b" refcount(1) - } -} -&array(2) refcount(2){ - [0]=> - array(2) refcount(2){ - [0]=> - long(1) refcount(1) - [1]=> - long(2) refcount(1) - } - [1]=> - array(2) refcount(2){ - [0]=> - string(1) "a" refcount(1) - [1]=> - string(1) "b" refcount(1) - } -} --- Iteration 49 -- -array(2) refcount(3){ - ["test"]=> - string(8) "is_array" refcount(1) - [1]=> - string(3) "One" refcount(1) -} -&array(2) refcount(2){ - ["test"]=> - string(8) "is_array" refcount(2) - [1]=> - string(3) "One" refcount(2) -} --- Iteration 50 -- -array(1) refcount(3){ - [0]=> - long(0) refcount(1) -} -&array(1) refcount(2){ - [0]=> - long(0) refcount(2) -} --- Iteration 51 -- -array(1) refcount(3){ - [0]=> - long(-1) refcount(1) -} -&array(1) refcount(2){ - [0]=> - long(-1) refcount(2) -} --- Iteration 52 -- -array(2) refcount(3){ - [0]=> - double(10.5) refcount(1) - [1]=> - double(5.6) refcount(1) -} -&array(2) refcount(2){ - [0]=> - double(10.5) refcount(2) - [1]=> - double(5.6) refcount(2) -} --- Iteration 53 -- -array(2) refcount(3){ - [0]=> - string(6) "string" refcount(1) - [1]=> - string(4) "test" refcount(1) -} -&array(2) refcount(2){ - [0]=> - string(6) "string" refcount(2) - [1]=> - string(4) "test" refcount(2) -} --- Iteration 54 -- -array(2) refcount(3){ - [0]=> - string(6) "string" refcount(1) - [1]=> - string(4) "test" refcount(1) -} -&array(2) refcount(2){ - [0]=> - string(6) "string" refcount(2) - [1]=> - string(4) "test" refcount(2) -} --- Iteration 55 -- -resource(%d) of type (stream) refcount(4) -&resource(%d) of type (stream) refcount(2) -Done ---UEXPECTF-- -Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d -*** Testing debug_zval_dump() on scalar and non-scalar variables *** --- Iteration 1 -- -long(0) refcount(3) -&long(0) refcount(2) --- Iteration 2 -- -long(83) refcount(3) -&long(83) refcount(2) --- Iteration 3 -- -long(123000000) refcount(3) -&long(123000000) refcount(2) --- Iteration 4 -- -long(-83) refcount(3) -&long(-83) refcount(2) --- Iteration 5 -- -long(-12300000) refcount(3) -&long(-12300000) refcount(2) --- Iteration 6 -- -long(16777215) refcount(3) -&long(16777215) refcount(2) --- Iteration 7 -- -long(123456789) refcount(3) -&long(123456789) refcount(2) --- Iteration 8 -- -long(1) refcount(3) -&long(1) refcount(2) --- Iteration 9 -- -long(-1) refcount(3) -&long(-1) refcount(2) --- Iteration 10 -- -double(0) refcount(3) -&double(0) refcount(2) --- Iteration 11 -- -double(0) refcount(3) -&double(0) refcount(2) --- Iteration 12 -- -double(1.234) refcount(3) -&double(1.234) refcount(2) --- Iteration 13 -- -double(-1.234) refcount(3) -&double(-1.234) refcount(2) --- Iteration 14 -- -double(-2) refcount(3) -&double(-2) refcount(2) --- Iteration 15 -- -double(2) refcount(3) -&double(2) refcount(2) --- Iteration 16 -- -double(-400010) refcount(3) -&double(-400010) refcount(2) --- Iteration 17 -- -double(400010) refcount(3) -&double(400010) refcount(2) --- Iteration 18 -- -double(6.99999989) refcount(3) -&double(6.99999989) refcount(2) --- Iteration 19 -- -double(-0.5) refcount(3) -&double(-0.5) refcount(2) --- Iteration 20 -- -double(0.567) refcount(3) -&double(0.567) refcount(2) --- Iteration 21 -- -double(-0.00067) refcount(3) -&double(-0.00067) refcount(2) --- Iteration 22 -- -double(-670) refcount(3) -&double(-670) refcount(2) --- Iteration 23 -- -double(1.0E-5) refcount(3) -&double(1.0E-5) refcount(2) --- Iteration 24 -- -double(-100000) refcount(3) -&double(-100000) refcount(2) --- Iteration 25 -- -double(100000) refcount(3) -&double(100000) refcount(2) --- Iteration 26 -- -double(1.0E-5) refcount(3) -&double(1.0E-5) refcount(2) --- Iteration 27 -- unicode(0) "" refcount(3) &unicode(0) "" refcount(2) -- Iteration 28 -- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt diff -u php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt:1.2 php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt:1.3 --- php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt:1.2 Tue May 29 12:42:19 2007 +++ php-src/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt Tue May 27 00:04:31 2008 @@ -183,287 +183,6 @@ double(1.0E-5) refcount(3) &double(1.0E-5) refcount(2) -- Iteration 27 -- -string(0) "" refcount(3) -&string(0) "" refcount(2) --- Iteration 28 -- -string(0) "" refcount(3) -&string(0) "" refcount(2) --- Iteration 29 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 30 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 31 -- -string(1) "0" refcount(3) -&string(1) "0" refcount(2) --- Iteration 32 -- -string(1) "-&string(1) "--- Iteration 33 -- -string(2) "\0" refcount(3) -&string(2) "\0" refcount(2) --- Iteration 34 -- -string(1) " " refcount(3) -&string(1) " " refcount(2) --- Iteration 35 -- -string(2) "\t" refcount(3) -&string(2) "\t" refcount(2) --- Iteration 36 -- -string(3) "PHP" refcount(3) -&string(3) "PHP" refcount(2) --- Iteration 37 -- -string(3) "PHP" refcount(3) -&string(3) "PHP" refcount(2) --- Iteration 38 -- -string(34) "1234 -5678 - 9100abcda-&string(34) "1234 -5678 - 9100abcda--- Iteration 39 -- -bool(true) refcount(3) -&bool(true) refcount(2) --- Iteration 40 -- -bool(false) refcount(3) -&bool(false) refcount(2) --- Iteration 41 -- -bool(true) refcount(3) -&bool(true) refcount(2) --- Iteration 42 -- -bool(false) refcount(3) -&bool(false) refcount(2) --- Iteration 43 -- -array(0) refcount(3){ -} -&array(0) refcount(2){ -} --- Iteration 44 -- -array(1) refcount(3){ - [0]=> - NULL refcount(1) -} -&array(1) refcount(2){ - [0]=> - NULL refcount(2) -} --- Iteration 45 -- -array(1) refcount(3){ - [0]=> - bool(true) refcount(1) -} -&array(1) refcount(2){ - [0]=> - bool(true) refcount(2) -} --- Iteration 46 -- -array(1) refcount(3){ - [0]=> - string(0) "" refcount(1) -} -&array(1) refcount(2){ - [0]=> - string(0) "" refcount(2) -} --- Iteration 47 -- -array(1) refcount(3){ - [0]=> - string(0) "" refcount(1) -} -&array(1) refcount(2){ - [0]=> - string(0) "" refcount(2) -} --- Iteration 48 -- -array(2) refcount(3){ - [0]=> - array(2) refcount(1){ - [0]=> - long(1) refcount(1) - [1]=> - long(2) refcount(1) - } - [1]=> - array(2) refcount(1){ - [0]=> - string(1) "a" refcount(1) - [1]=> - string(1) "b" refcount(1) - } -} -&array(2) refcount(2){ - [0]=> - array(2) refcount(2){ - [0]=> - long(1) refcount(1) - [1]=> - long(2) refcount(1) - } - [1]=> - array(2) refcount(2){ - [0]=> - string(1) "a" refcount(1) - [1]=> - string(1) "b" refcount(1) - } -} --- Iteration 49 -- -array(2) refcount(3){ - ["test"]=> - string(8) "is_array" refcount(1) - [1]=> - string(3) "One" refcount(1) -} -&array(2) refcount(2){ - ["test"]=> - string(8) "is_array" refcount(2) - [1]=> - string(3) "One" refcount(2) -} --- Iteration 50 -- -array(1) refcount(3){ - [0]=> - long(0) refcount(1) -} -&array(1) refcount(2){ - [0]=> - long(0) refcount(2) -} --- Iteration 51 -- -array(1) refcount(3){ - [0]=> - long(-1) refcount(1) -} -&array(1) refcount(2){ - [0]=> - long(-1) refcount(2) -} --- Iteration 52 -- -array(2) refcount(3){ - [0]=> - double(10.5) refcount(1) - [1]=> - double(5.6) refcount(1) -} -&array(2) refcount(2){ - [0]=> - double(10.5) refcount(2) - [1]=> - double(5.6) refcount(2) -} --- Iteration 53 -- -array(2) refcount(3){ - [0]=> - string(6) "string" refcount(1) - [1]=> - string(4) "test" refcount(1) -} -&array(2) refcount(2){ - [0]=> - string(6) "string" refcount(2) - [1]=> - string(4) "test" refcount(2) -} --- Iteration 54 -- -array(2) refcount(3){ - [0]=> - string(6) "string" refcount(1) - [1]=> - string(4) "test" refcount(1) -} -&array(2) refcount(2){ - [0]=> - string(6) "string" refcount(2) - [1]=> - string(4) "test" refcount(2) -} --- Iteration 55 -- -resource(%d) of type (stream) refcount(4) -&resource(%d) of type (stream) refcount(2) -Done ---UEXPECTF-- -Strict Standards: Call-time pass-by-reference has been deprecated in %s on line %d -*** Testing debug_zval_dump() on scalar and non-scalar variables *** --- Iteration 1 -- -long(0) refcount(3) -&long(0) refcount(2) --- Iteration 2 -- -long(83) refcount(3) -&long(83) refcount(2) --- Iteration 3 -- -long(123000000) refcount(3) -&long(123000000) refcount(2) --- Iteration 4 -- -long(-83) refcount(3) -&long(-83) refcount(2) --- Iteration 5 -- -long(-12300000) refcount(3) -&long(-12300000) refcount(2) --- Iteration 6 -- -long(16777215) refcount(3) -&long(16777215) refcount(2) --- Iteration 7 -- -long(123456789) refcount(3) -&long(123456789) refcount(2) --- Iteration 8 -- -long(1) refcount(3) -&long(1) refcount(2) --- Iteration 9 -- -long(-1) refcount(3) -&long(-1) refcount(2) --- Iteration 10 -- -double(0) refcount(3) -&double(0) refcount(2) --- Iteration 11 -- -double(0) refcount(3) -&double(0) refcount(2) --- Iteration 12 -- -double(1.234) refcount(3) -&double(1.234) refcount(2) --- Iteration 13 -- -double(-1.234) refcount(3) -&double(-1.234) refcount(2) --- Iteration 14 -- -double(-2) refcount(3) -&double(-2) refcount(2) --- Iteration 15 -- -double(2) refcount(3) -&double(2) refcount(2) --- Iteration 16 -- -double(-400010) refcount(3) -&double(-400010) refcount(2) --- Iteration 17 -- -double(400010) refcount(3) -&double(400010) refcount(2) --- Iteration 18 -- -double(6.99999989) refcount(3) -&double(6.99999989) refcount(2) --- Iteration 19 -- -double(-0.5) refcount(3) -&double(-0.5) refcount(2) --- Iteration 20 -- -double(0.567) refcount(3) -&double(0.567) refcount(2) --- Iteration 21 -- -double(-0.00067) refcount(3) -&double(-0.00067) refcount(2) --- Iteration 22 -- -double(-670) refcount(3) -&double(-670) refcount(2) --- Iteration 23 -- -double(1.0E-5) refcount(3) -&double(1.0E-5) refcount(2) --- Iteration 24 -- -double(-100000) refcount(3) -&double(-100000) refcount(2) --- Iteration 25 -- -double(100000) refcount(3) -&double(100000) refcount(2) --- Iteration 26 -- -double(1.0E-5) refcount(3) -&double(1.0E-5) refcount(2) --- Iteration 27 -- unicode(0) "" refcount(3) &unicode(0) "" refcount(2) -- Iteration 28 -- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt diff -u php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt:1.4 php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt:1.5 --- php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt:1.4 Tue Jul 24 20:03:30 2007 +++ php-src/ext/standard/tests/general_functions/debug_zval_dump_o.phpt Tue May 27 00:04:31 2008 @@ -117,730 +117,6 @@ *** Testing debug_zval_dump() on objects *** -- Iteration 1 -- object(object_class)#%d (6) refcount(5){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(5){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 2 -- -object(no_member_class)#%d (0) refcount(4){ -} --- Iteration 3 -- -object(contains_object_class)#%d (9) refcount(4){ - ["p"]=> - long(30) refcount(2) - ["p1":protected]=> - long(40) refcount(2) - ["p2":"contains_object_class":private]=> - long(50) refcount(2) - ["class_object1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object2"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object4":protected]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) refcount(3){ - } - ["class_object5"]=> - object(contains_object_class)#%d (9) refcount(1){ - ["p"]=> - long(30) refcount(2) - ["p1":protected]=> - long(40) refcount(2) - ["p2":"contains_object_class":private]=> - long(50) refcount(2) - ["class_object1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object2"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["class_object4":protected]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(7){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) refcount(3){ - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 4 -- -object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 5 -- -object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 6 -- -object(no_member_class)#%d (0) refcount(5){ -} --- Iteration 7 -- -NULL refcount(1) --- Iteration 8 -- -object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 9 -- -object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (6) refcount(9){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(5) - ["value3":protected]=> - long(20) refcount(5) - ["value4"]=> - long(30) refcount(7) - ["array_var"]=> - array(2) refcount(5){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - } -} --- Iteration 10 -- -long(30) refcount(9) --- Iteration 11 -- -NULL refcount(1) - --- Testing debug_zval_dump() on overwritten object variables -- -long(500) refcount(1) -long(500) refcount(1) -long(500) refcount(1) -long(500) refcount(1) - --- Testing debug_zval_dump() on objects having circular reference -- -object(object_class)#%d (7) refcount(1){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (7) refcount(1){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (7) refcount(1){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - *RECURSION* - } - ["obj"]=> - *RECURSION* - } - } - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - object(object_class)#%d (7) refcount(1){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - *RECURSION* - } - } - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - &object(object_class)#%d (7) refcount(2){ - ["value1"]=> - long(5) refcount(1) - ["value2":"object_class":private]=> - long(10) refcount(7) - ["value3":protected]=> - long(20) refcount(7) - ["value4"]=> - long(30) refcount(8) - ["array_var"]=> - array(2) refcount(7){ - ["key1"]=> - long(1) refcount(1) - ["key2 "]=> - long(3) refcount(1) - } - ["object_class1"]=> - *RECURSION* - ["obj"]=> - *RECURSION* - } - } - } -} -Done ---UEXPECTF-- -*** Testing debug_zval_dump() on objects *** --- Iteration 1 -- -object(object_class)#%d (6) refcount(5){ [u"value1"]=> long(5) refcount(1) [u"value2":u"object_class":private]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt diff -u php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt:1.5 php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt:1.6 --- php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt:1.5 Sat Feb 23 19:01:11 2008 +++ php-src/ext/standard/tests/general_functions/debug_zval_dump_v.phpt Tue May 27 00:04:31 2008 @@ -202,98 +202,6 @@ NULL refcount(1) &NULL refcount(2) -- Iteration 5 -- -string(7) "TRUE123" refcount(3) -&string(7) "TRUE123" refcount(2) --- Iteration 6 -- -string(9) "123string" refcount(3) -&string(9) "123string" refcount(2) --- Iteration 7 -- -string(9) "string123" refcount(3) -&string(9) "string123" refcount(2) --- Iteration 8 -- -string(10) "NULLstring" refcount(3) -&string(10) "NULLstring" refcount(2) -Done ---UEXPECTF-- -Deprecated: Call-time pass-by-reference has been deprecated in %s on line %d -*** Testing debug_zval_dump() on functions *** ---- Variation 1: global variable inside a function --- - --- Value of global variable, before calling dump_globalvar() -- -long(10) refcount(2) - --- Value of local variable inside dump_globalvar() -- -long(10) refcount(1) - --- Value of global variable inside dump_globalvar() -- -long(10) refcount(1) - --- Value of global variable, after exiting dump_globalvar() -- -long(10) refcount(2) - ---- Variation 2: one variable references another --- - --- Value of $first_var: -- -long(10) refcount(2) - --- Value of $ref_first_var -- -NULL refcount(1) - --- Value of $first_var -- -long(10) refcount(2) - --- Value of $ref_first_var -- - -Notice: Undefined variable: ref_first_var in %s on line %d -NULL refcount(1) - --- Value of $first_var -- -long(10) refcount(2) - ---- Variation 3: multiple references of variables --- - --- Value of $var_1: (before referencing) -- -long(10) refcount(1) - --- Value of $var_2: (referencing var_1) -- -long(10) refcount(1) - --- Value of $var_3: (referencing var_2) -- -long(10) refcount(1) - --- Value of $var_3: (after unsetting var_3) -- - -Notice: Undefined variable: var_3 in %s on line %d -NULL refcount(1) - --- Value of $var_2: -- -long(10) refcount(1) - --- Value of $var_3: -- -long(10) refcount(1) - --- Value of $var_1: (after unsetting variable_1) -- - -Notice: Undefined variable: var_1 in %s on line %d -NULL refcount(1) - --- Value of $var_2: -- -long(10) refcount(2) - -*** Testing debug_zval_dump() on miscelleneous input arguments *** --- Iteration 1 -- -NULL refcount(3) -&NULL refcount(2) --- Iteration 2 -- -NULL refcount(3) -&NULL refcount(2) --- Iteration 3 -- -NULL refcount(1) -&NULL refcount(2) --- Iteration 4 -- -NULL refcount(1) -&NULL refcount(2) --- Iteration 5 -- unicode(7) "TRUE123" { 0054 0052 0055 0045 0031 0032 0033 } refcount(3) &unicode(7) "TRUE123" { 0054 0052 0055 0045 0031 0032 0033 } refcount(2) -- Iteration 6 -- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt diff -u php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt:1.2 php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt:1.3 --- php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt:1.2 Thu Sep 20 18:45:03 2007 +++ php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt Tue May 27 00:04:31 2008 @@ -4,7 +4,7 @@ <?php var_dump(dl(str_repeat("a", 8376757))); ?> ---EXPECTF-- +--EXPECTF-- Warning: dl(): File name exceeds the maximum allowed length of %d characters in %s on line %d bool(false) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/error_get_last.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/error_get_last.phpt diff -u php-src/ext/standard/tests/general_functions/error_get_last.phpt:1.2 php-src/ext/standard/tests/general_functions/error_get_last.phpt:1.3 --- php-src/ext/standard/tests/general_functions/error_get_last.phpt:1.2 Wed Feb 14 19:29:33 2007 +++ php-src/ext/standard/tests/general_functions/error_get_last.phpt Tue May 27 00:04:31 2008 @@ -19,34 +19,6 @@ Warning: error_get_last() expects exactly 0 parameters, 1 given in %s on line %d NULL array(4) { - ["type"]=> - int(2) - ["message"]=> - string(54) "error_get_last() expects exactly 0 parameters, 1 given" - ["file"]=> - string(%d) "%s" - ["line"]=> - int(%d) -} - -Notice: Undefined variable: b in %s on line %d -array(4) { - ["type"]=> - int(8) - ["message"]=> - string(21) "Undefined variable: b" - ["file"]=> - string(%d) "%s" - ["line"]=> - int(%d) -} -Done ---UEXPECTF-- -NULL - -Warning: error_get_last() expects exactly 0 parameters, 1 given in %s on line %d -NULL -array(4) { [u"type"]=> int(2) [u"message"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/floatval.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/floatval.phpt diff -u php-src/ext/standard/tests/general_functions/floatval.phpt:1.3 php-src/ext/standard/tests/general_functions/floatval.phpt:1.4 --- php-src/ext/standard/tests/general_functions/floatval.phpt:1.3 Mon Apr 14 17:51:08 2008 +++ php-src/ext/standard/tests/general_functions/floatval.phpt Tue May 27 00:04:31 2008 @@ -205,101 +205,3 @@ NULL Done ---UEXPECTF-- -*** Testing floatval() with valid float values *** -float(0) -float(1) -float(-1) -float(1.234) -float(-1.234) -float(1200) -float(-1200) -float(10) -float(1050000) -float(100000) -float(-100000) -float(1.0E-5) -float(-0.1) -float(100000) -float(-100000) -float(100000) -float(-100000) -float(100000) -float(-100000) -float(5000000) -float(-5000000) - -*** Testing doubleval() with valid float values *** -float(0) -float(1) -float(-1) -float(1.234) -float(-1.234) -float(1200) -float(-1200) -float(10) -float(1050000) -float(100000) -float(-100000) -float(1.0E-5) -float(-0.1) -float(100000) -float(-100000) -float(100000) -float(-100000) -float(100000) -float(-100000) -float(5000000) -float(-5000000) - -*** Testing floatval() on non floating types *** -float(-2147483648) -float(2147483648) -float(5) -float(6) -float(0) -float(1) -float(-1300) -float(0) -float(10) -float(10.2) -float(11) -float(11) -float(0) -float(1) -float(0) -float(0) - -*** Testing doubleval() on non floating types *** -float(-2147483648) -float(2147483648) -float(5) -float(6) -float(0) -float(1) -float(-1300) -float(0) -float(10) -float(10.2) -float(11) -float(11) -float(0) -float(1) -float(0) -float(0) - -*** Testing error conditions *** - -Warning: Wrong parameter count for floatval() in %s on line %d -NULL - -Warning: Wrong parameter count for doubleval() in %s on line %d -NULL - -Warning: Wrong parameter count for floatval() in %s on line %d -NULL - -Warning: Wrong parameter count for doubleval() in %s on line %d -NULL - -Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt.phpt diff -u php-src/ext/standard/tests/general_functions/getopt.phpt:1.5 php-src/ext/standard/tests/general_functions/getopt.phpt:1.6 --- php-src/ext/standard/tests/general_functions/getopt.phpt:1.5 Wed Nov 14 15:22:45 2007 +++ php-src/ext/standard/tests/general_functions/getopt.phpt Tue May 27 00:04:31 2008 @@ -11,19 +11,6 @@ ?> --EXPECT-- array(5) { - ["v"]=> - bool(false) - ["h"]=> - bool(false) - ["d"]=> - string(4) "test" - ["m"]=> - string(4) "1234" - ["t"]=> - bool(false) -} ---UEXPECT-- -array(5) { [u"v"]=> bool(false) [u"h"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt_002.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt_002.phpt diff -u php-src/ext/standard/tests/general_functions/getopt_002.phpt:1.1 php-src/ext/standard/tests/general_functions/getopt_002.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getopt_002.phpt:1.1 Thu Nov 15 13:11:48 2007 +++ php-src/ext/standard/tests/general_functions/getopt_002.phpt Tue May 27 00:04:31 2008 @@ -38,5 +38,3 @@ [2]=> bool(false) } - - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt_003.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt_003.phpt diff -u php-src/ext/standard/tests/general_functions/getopt_003.phpt:1.1 php-src/ext/standard/tests/general_functions/getopt_003.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getopt_003.phpt:1.1 Thu Nov 15 13:11:48 2007 +++ php-src/ext/standard/tests/general_functions/getopt_003.phpt Tue May 27 00:04:31 2008 @@ -53,5 +53,3 @@ bool(false) } } - - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt_004.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt_004.phpt diff -u php-src/ext/standard/tests/general_functions/getopt_004.phpt:1.1 php-src/ext/standard/tests/general_functions/getopt_004.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getopt_004.phpt:1.1 Tue Nov 20 22:42:47 2007 +++ php-src/ext/standard/tests/general_functions/getopt_004.phpt Tue May 27 00:04:31 2008 @@ -25,5 +25,3 @@ string(3) "100" } } - - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getopt_005.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getopt_005.phpt diff -u php-src/ext/standard/tests/general_functions/getopt_005.phpt:1.1 php-src/ext/standard/tests/general_functions/getopt_005.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getopt_005.phpt:1.1 Tue Nov 20 22:42:47 2007 +++ php-src/ext/standard/tests/general_functions/getopt_005.phpt Tue May 27 00:04:31 2008 @@ -28,5 +28,3 @@ string(5) "value" } } - - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/getrusage.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/getrusage.phpt diff -u php-src/ext/standard/tests/general_functions/getrusage.phpt:1.1 php-src/ext/standard/tests/general_functions/getrusage.phpt:1.2 --- php-src/ext/standard/tests/general_functions/getrusage.phpt:1.1 Wed Nov 15 17:26:54 2006 +++ php-src/ext/standard/tests/general_functions/getrusage.phpt Tue May 27 00:04:31 2008 @@ -13,15 +13,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(5) "array" -string(5) "array" -string(5) "array" - -Warning: getrusage() expects parameter 1 to be long, array given in %s on line %d -NULL -Done ---UEXPECTF-- +--EXPECTF-- unicode(5) "array" unicode(5) "array" unicode(5) "array" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt:1.3 Tue May 22 16:57:18 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_basic.phpt Tue May 27 00:04:31 2008 @@ -108,909 +108,7 @@ echo "Done\n"; ?> ---EXPECTF-- -**** Testing gettype() and settype() functions **** - -*** Testing gettype(): basic operations *** -string(5) "array" -string(6) "string" -string(5) "array" -string(7) "integer" -string(7) "integer" -string(6) "double" -string(6) "double" -string(4) "NULL" -string(7) "boolean" -string(6) "string" -string(6) "string" -string(6) "string" -string(6) "string" -string(8) "resource" -string(8) "resource" -string(6) "object" - -*** Testing settype(): basic operations *** - --- Setting type of data to null -- --- Iteration 1 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 2 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 3 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 4 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 5 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 6 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 7 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 8 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 9 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 10 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 11 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 12 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 13 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 14 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 15 -- -bool(true) -NULL -string(4) "NULL" --- Iteration 16 -- -bool(true) -NULL -string(4) "NULL" - --- Setting type of data to integer -- --- Iteration 1 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 2 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 3 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 4 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 5 -- -bool(true) -int(-20) -string(7) "integer" --- Iteration 6 -- -bool(true) -int(2) -string(7) "integer" --- Iteration 7 -- -bool(true) -int(-2) -string(7) "integer" --- Iteration 8 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 9 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 10 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 11 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 12 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 13 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 14 -- -bool(true) -int(5) -string(7) "integer" --- Iteration 15 -- -bool(true) -int(6) -string(7) "integer" --- Iteration 16 -- -8: Object of class point could not be converted to int -bool(true) -int(1) -string(7) "integer" - --- Setting type of data to int -- --- Iteration 1 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 2 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 3 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 4 -- -bool(true) -int(1) -string(7) "integer" --- Iteration 5 -- -bool(true) -int(-20) -string(7) "integer" --- Iteration 6 -- -bool(true) -int(2) -string(7) "integer" --- Iteration 7 -- -bool(true) -int(-2) -string(7) "integer" --- Iteration 8 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 9 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 10 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 11 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 12 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 13 -- -bool(true) -int(0) -string(7) "integer" --- Iteration 14 -- -bool(true) -int(5) -string(7) "integer" --- Iteration 15 -- -bool(true) -int(6) -string(7) "integer" --- Iteration 16 -- -8: Object of class point could not be converted to int -bool(true) -int(1) -string(7) "integer" - --- Setting type of data to float -- --- Iteration 1 -- -bool(true) -float(1) -string(6) "double" --- Iteration 2 -- -bool(true) -float(0) -string(6) "double" --- Iteration 3 -- -bool(true) -float(1) -string(6) "double" --- Iteration 4 -- -bool(true) -float(1) -string(6) "double" --- Iteration 5 -- -bool(true) -float(-20) -string(6) "double" --- Iteration 6 -- -bool(true) -float(2.54) -string(6) "double" --- Iteration 7 -- -bool(true) -float(-2.54) -string(6) "double" --- Iteration 8 -- -bool(true) -float(0) -string(6) "double" --- Iteration 9 -- -bool(true) -float(0) -string(6) "double" --- Iteration 10 -- -bool(true) -float(0) -string(6) "double" --- Iteration 11 -- -bool(true) -float(0) -string(6) "double" --- Iteration 12 -- -bool(true) -float(0) -string(6) "double" --- Iteration 13 -- -bool(true) -float(0) -string(6) "double" --- Iteration 14 -- -bool(true) -float(5) -string(6) "double" --- Iteration 15 -- -bool(true) -float(6) -string(6) "double" --- Iteration 16 -- -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" - --- Setting type of data to double -- --- Iteration 1 -- -bool(true) -float(1) -string(6) "double" --- Iteration 2 -- -bool(true) -float(0) -string(6) "double" --- Iteration 3 -- -bool(true) -float(1) -string(6) "double" --- Iteration 4 -- -bool(true) -float(1) -string(6) "double" --- Iteration 5 -- -bool(true) -float(-20) -string(6) "double" --- Iteration 6 -- -bool(true) -float(2.54) -string(6) "double" --- Iteration 7 -- -bool(true) -float(-2.54) -string(6) "double" --- Iteration 8 -- -bool(true) -float(0) -string(6) "double" --- Iteration 9 -- -bool(true) -float(0) -string(6) "double" --- Iteration 10 -- -bool(true) -float(0) -string(6) "double" --- Iteration 11 -- -bool(true) -float(0) -string(6) "double" --- Iteration 12 -- -bool(true) -float(0) -string(6) "double" --- Iteration 13 -- -bool(true) -float(0) -string(6) "double" --- Iteration 14 -- -bool(true) -float(5) -string(6) "double" --- Iteration 15 -- -bool(true) -float(6) -string(6) "double" --- Iteration 16 -- -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" - --- Setting type of data to boolean -- --- Iteration 1 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 2 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 3 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 4 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 5 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 6 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 7 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 8 -- -bool(true) -bool(false) -string(7) "boolean" --- Iteration 9 -- -bool(true) -bool(false) -string(7) "boolean" --- Iteration 10 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 11 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 12 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 13 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 14 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 15 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 16 -- -bool(true) -bool(true) -string(7) "boolean" - --- Setting type of data to bool -- --- Iteration 1 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 2 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 3 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 4 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 5 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 6 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 7 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 8 -- -bool(true) -bool(false) -string(7) "boolean" --- Iteration 9 -- -bool(true) -bool(false) -string(7) "boolean" --- Iteration 10 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 11 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 12 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 13 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 14 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 15 -- -bool(true) -bool(true) -string(7) "boolean" --- Iteration 16 -- -bool(true) -bool(true) -string(7) "boolean" - --- Setting type of data to resource -- --- Iteration 1 -- -2: settype(): Cannot convert to resource type -bool(false) -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(5) "array" --- Iteration 2 -- -2: settype(): Cannot convert to resource type -bool(false) -string(14) "another string" -string(6) "string" --- Iteration 3 -- -2: settype(): Cannot convert to resource type -bool(false) -array(3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -string(5) "array" --- Iteration 4 -- -2: settype(): Cannot convert to resource type -bool(false) -int(1) -string(7) "integer" --- Iteration 5 -- -2: settype(): Cannot convert to resource type -bool(false) -int(-20) -string(7) "integer" --- Iteration 6 -- -2: settype(): Cannot convert to resource type -bool(false) -float(2.54) -string(6) "double" --- Iteration 7 -- -2: settype(): Cannot convert to resource type -bool(false) -float(-2.54) -string(6) "double" --- Iteration 8 -- -2: settype(): Cannot convert to resource type -bool(false) -NULL -string(4) "NULL" --- Iteration 9 -- -2: settype(): Cannot convert to resource type -bool(false) -bool(false) -string(7) "boolean" --- Iteration 10 -- -2: settype(): Cannot convert to resource type -bool(false) -string(11) "some string" -string(6) "string" --- Iteration 11 -- -2: settype(): Cannot convert to resource type -bool(false) -string(6) "string" -string(6) "string" --- Iteration 12 -- -2: settype(): Cannot convert to resource type -bool(false) -string(11) "some string" -string(6) "string" --- Iteration 13 -- -2: settype(): Cannot convert to resource type -bool(false) -string(6) "string" -string(6) "string" --- Iteration 14 -- -2: settype(): Cannot convert to resource type -bool(false) -resource(5) of type (stream) -string(8) "resource" --- Iteration 15 -- -2: settype(): Cannot convert to resource type -bool(false) -resource(6) of type (stream) -string(8) "resource" --- Iteration 16 -- -2: settype(): Cannot convert to resource type -bool(false) -object(point)#1 (2) { - ["x"]=> - int(10) - ["y"]=> - int(20) -} -string(6) "object" - --- Setting type of data to array -- --- Iteration 1 -- -bool(true) -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(5) "array" --- Iteration 2 -- -bool(true) -array(1) { - [0]=> - string(14) "another string" -} -string(5) "array" --- Iteration 3 -- -bool(true) -array(3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -string(5) "array" --- Iteration 4 -- -bool(true) -array(1) { - [0]=> - int(1) -} -string(5) "array" --- Iteration 5 -- -bool(true) -array(1) { - [0]=> - int(-20) -} -string(5) "array" --- Iteration 6 -- -bool(true) -array(1) { - [0]=> - float(2.54) -} -string(5) "array" --- Iteration 7 -- -bool(true) -array(1) { - [0]=> - float(-2.54) -} -string(5) "array" --- Iteration 8 -- -bool(true) -array(0) { -} -string(5) "array" --- Iteration 9 -- -bool(true) -array(1) { - [0]=> - bool(false) -} -string(5) "array" --- Iteration 10 -- -bool(true) -array(1) { - [0]=> - string(11) "some string" -} -string(5) "array" --- Iteration 11 -- -bool(true) -array(1) { - [0]=> - string(6) "string" -} -string(5) "array" --- Iteration 12 -- -bool(true) -array(1) { - [0]=> - string(11) "some string" -} -string(5) "array" --- Iteration 13 -- -bool(true) -array(1) { - [0]=> - string(6) "string" -} -string(5) "array" --- Iteration 14 -- -bool(true) -array(1) { - [0]=> - resource(5) of type (stream) -} -string(5) "array" --- Iteration 15 -- -bool(true) -array(1) { - [0]=> - resource(6) of type (stream) -} -string(5) "array" --- Iteration 16 -- -bool(true) -array(2) { - ["x"]=> - int(10) - ["y"]=> - int(20) -} -string(5) "array" - --- Setting type of data to object -- --- Iteration 1 -- -bool(true) -object(stdClass)#2 (3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(6) "object" --- Iteration 2 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(14) "another string" -} -string(6) "object" --- Iteration 3 -- -bool(true) -object(stdClass)#2 (3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -string(6) "object" --- Iteration 4 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - int(1) -} -string(6) "object" --- Iteration 5 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - int(-20) -} -string(6) "object" --- Iteration 6 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - float(2.54) -} -string(6) "object" --- Iteration 7 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - float(-2.54) -} -string(6) "object" --- Iteration 8 -- -bool(true) -object(stdClass)#2 (0) { -} -string(6) "object" --- Iteration 9 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - bool(false) -} -string(6) "object" --- Iteration 10 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(11) "some string" -} -string(6) "object" --- Iteration 11 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(6) "string" -} -string(6) "object" --- Iteration 12 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(11) "some string" -} -string(6) "object" --- Iteration 13 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - string(6) "string" -} -string(6) "object" --- Iteration 14 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - resource(5) of type (stream) -} -string(6) "object" --- Iteration 15 -- -bool(true) -object(stdClass)#2 (1) { - ["scalar"]=> - resource(6) of type (stream) -} -string(6) "object" --- Iteration 16 -- -bool(true) -object(point)#1 (2) { - ["x"]=> - int(10) - ["y"]=> - int(20) -} -string(6) "object" - --- Setting type of data to string -- --- Iteration 1 -- -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 2 -- -bool(true) -string(14) "another string" -string(6) "string" --- Iteration 3 -- -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 4 -- -bool(true) -string(1) "1" -string(6) "string" --- Iteration 5 -- -bool(true) -string(3) "-20" -string(6) "string" --- Iteration 6 -- -bool(true) -string(4) "2.54" -string(6) "string" --- Iteration 7 -- -bool(true) -string(5) "-2.54" -string(6) "string" --- Iteration 8 -- -bool(true) -string(0) "" -string(6) "string" --- Iteration 9 -- -bool(true) -string(0) "" -string(6) "string" --- Iteration 10 -- -bool(true) -string(11) "some string" -string(6) "string" --- Iteration 11 -- -bool(true) -string(6) "string" -string(6) "string" --- Iteration 12 -- -bool(true) -string(11) "some string" -string(6) "string" --- Iteration 13 -- -bool(true) -string(6) "string" -string(6) "string" --- Iteration 14 -- -bool(true) -string(14) "Resource id #5" -string(6) "string" --- Iteration 15 -- -bool(true) -string(14) "Resource id #6" -string(6) "string" --- Iteration 16 -- -bool(true) -string(6) "Object" -string(6) "string" -Done ---UEXPECT-- +--EXPECTF-- **** Testing gettype() and settype() functions **** *** Testing gettype(): basic operations *** http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt:1.2 php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt:1.3 --- php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt:1.2 Tue May 22 16:06:44 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_error.phpt Tue May 27 00:04:31 2008 @@ -32,29 +32,7 @@ echo "Done\n"; ?> ---EXPECTF-- -**** Testing gettype() and settype() functions **** - -*** Testing gettype(): error conditions *** - -Warning: Wrong parameter count for gettype() in %s on line %d -NULL - -Warning: Wrong parameter count for gettype() in %s on line %d -NULL - -*** Testing settype(): error conditions *** - -Warning: Wrong parameter count for settype() in %s on line %d -NULL - -Warning: Wrong parameter count for settype() in %s on line %d -NULL - -Warning: settype(): Invalid type in %s on line %d -bool(false) -Done ---UEXPECTF-- +--EXPECTF-- **** Testing gettype() and settype() functions **** *** Testing gettype(): error conditions *** http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation1.phpt Tue May 27 00:04:31 2008 @@ -168,7 +168,7 @@ b"10string" ); -/* test conversion to null type */ +/* test conversion to null type */ $type = "null"; echo "\n*** Testing gettype() & settype() functions : usage variations ***\n"; @@ -192,470 +192,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to null -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -NULL -string(4) "NULL" --- Iteration 2 -- -string(7) "boolean" -bool(true) -NULL -string(4) "NULL" --- Iteration 3 -- -string(7) "boolean" -bool(true) -NULL -string(4) "NULL" --- Iteration 4 -- -string(7) "boolean" -bool(true) -NULL -string(4) "NULL" --- Iteration 5 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 6 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 7 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 8 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 9 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 10 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 11 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 12 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 13 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 14 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 15 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 16 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 17 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 18 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 19 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 20 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 21 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 22 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 23 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 24 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 25 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 26 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 27 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 28 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 29 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 30 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 31 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 32 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 33 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 34 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 35 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 36 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 37 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 38 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 39 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 40 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 41 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 42 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 43 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 44 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 45 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 46 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 47 -- -string(5) "array" -bool(true) -NULL -string(4) "NULL" --- Iteration 48 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 49 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 50 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 51 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 52 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 53 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 54 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 55 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 56 -- -string(7) "integer" -bool(true) -NULL -string(4) "NULL" --- Iteration 57 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 58 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 59 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 60 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 61 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 62 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 63 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 64 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 65 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 66 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 67 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 68 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 69 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 70 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 71 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 72 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 73 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 74 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 75 -- -string(6) "double" -bool(true) -NULL -string(4) "NULL" --- Iteration 76 -- -string(6) "object" -bool(true) -NULL -string(4) "NULL" --- Iteration 77 -- -string(6) "object" -bool(true) -NULL -string(4) "NULL" --- Iteration 78 -- -string(6) "object" -bool(true) -NULL -string(4) "NULL" --- Iteration 79 -- -string(4) "NULL" -bool(true) -NULL -string(4) "NULL" --- Iteration 80 -- -string(4) "NULL" -bool(true) -NULL -string(4) "NULL" --- Iteration 81 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 82 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 83 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 84 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 85 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 86 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 87 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 88 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 89 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 90 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" --- Iteration 91 -- -string(6) "string" -bool(true) -NULL -string(4) "NULL" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt:1.5 php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt:1.6 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt:1.5 Mon Dec 17 11:06:42 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt Tue May 27 00:04:31 2008 @@ -171,7 +171,7 @@ b"10string" ); -// test conversion to these types +// test conversion to these types $types = array( "integer", "int" @@ -200,933 +200,7 @@ echo "Done\n"; ?> ---EXPECTF-- -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(2147483647) -string(7) "integer" --- Iteration 52 -- -string(7) "integer" -bool(true) -int(85) -string(7) "integer" --- Iteration 53 -- -string(6) "double" -bool(true) -int(2147483647) -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(2147483647) -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" --- Iteration 81 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 82 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 83 -- -string(6) "string" -bool(true) -int(123) -string(7) "integer" --- Iteration 84 -- -string(6) "string" -bool(true) -int(-123) -string(7) "integer" --- Iteration 85 -- -string(6) "string" -bool(true) -int(0) -string(7) "integer" --- Iteration 86 -- -string(6) "string" -bool(true) -int(0) -string(7) "integer" --- Iteration 87 -- -string(6) "string" -bool(true) -int(1) -string(7) "integer" --- Iteration 88 -- -string(6) "string" -bool(true) -int(2147483647) -string(7) "integer" --- Iteration 89 -- -string(6) "string" -bool(true) -int(1) -string(7) "integer" --- Iteration 90 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 91 -- -string(6) "string" -bool(true) -int(10) -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(2147483647) -string(7) "integer" --- Iteration 52 -- -string(7) "integer" -bool(true) -int(85) -string(7) "integer" --- Iteration 53 -- -string(6) "double" -bool(true) -int(2147483647) -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(2147483647) -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" --- Iteration 81 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 82 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 83 -- -string(6) "string" -bool(true) -int(123) -string(7) "integer" --- Iteration 84 -- -string(6) "string" -bool(true) -int(-123) -string(7) "integer" --- Iteration 85 -- -string(6) "string" -bool(true) -int(0) -string(7) "integer" --- Iteration 86 -- -string(6) "string" -bool(true) -int(0) -string(7) "integer" --- Iteration 87 -- -string(6) "string" -bool(true) -int(1) -string(7) "integer" --- Iteration 88 -- -string(6) "string" -bool(true) -int(2147483647) -string(7) "integer" --- Iteration 89 -- -string(6) "string" -bool(true) -int(1) -string(7) "integer" --- Iteration 90 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" --- Iteration 91 -- -string(6) "string" -bool(true) -int(10) -string(7) "integer" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation3.phpt Tue May 27 00:04:31 2008 @@ -197,933 +197,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing settype() & gettype() : usage variations *** - --- Setting type of data to float -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 2 -- -string(7) "boolean" -bool(true) -float(0) -string(6) "double" --- Iteration 3 -- -string(7) "boolean" -bool(true) -float(1) -string(6) "double" --- Iteration 4 -- -string(7) "boolean" -bool(true) -float(1) -string(6) "double" --- Iteration 5 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 6 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 7 -- -string(6) "string" -bool(true) -float(3) -string(6) "double" --- Iteration 8 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 9 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 10 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 11 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 12 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 13 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 14 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 15 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 16 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 17 -- -string(6) "string" -bool(true) -float(-1) -string(6) "double" --- Iteration 18 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 19 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 20 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 21 -- -string(6) "string" -bool(true) -float(-0.01) -string(6) "double" --- Iteration 22 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 23 -- -string(6) "string" -bool(true) -float(-1) -string(6) "double" --- Iteration 24 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 25 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 26 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 27 -- -string(6) "string" -bool(true) -float(-0.01) -string(6) "double" --- Iteration 28 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 29 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 30 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 31 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 32 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 33 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 34 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 35 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 36 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 37 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 38 -- -string(6) "string" -bool(true) -float(-0) -string(6) "double" --- Iteration 39 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 40 -- -string(6) "string" -bool(true) -float(-0) -string(6) "double" --- Iteration 41 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 42 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 43 -- -string(5) "array" -bool(true) -float(0) -string(6) "double" --- Iteration 44 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 45 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 46 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 47 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 48 -- -string(6) "double" -bool(true) -float(-2147483648) -string(6) "double" --- Iteration 49 -- -string(7) "integer" -bool(true) -float(2147483647) -string(6) "double" --- Iteration 50 -- -string(6) "double" -bool(true) -float(2147483649) -string(6) "double" --- Iteration 51 -- -string(6) "double" -bool(true) -float(1232147483649) -string(6) "double" --- Iteration 52 -- -string(7) "integer" -bool(true) -float(85) -string(6) "double" --- Iteration 53 -- -string(6) "double" -bool(true) -float(1058513956921) -string(6) "double" --- Iteration 54 -- -string(7) "integer" -bool(true) -float(-21903) -string(6) "double" --- Iteration 55 -- -string(7) "integer" -bool(true) -float(365) -string(6) "double" --- Iteration 56 -- -string(7) "integer" -bool(true) -float(-365) -string(6) "double" --- Iteration 57 -- -string(6) "double" -bool(true) -float(80561044571754) -string(6) "double" --- Iteration 58 -- -string(6) "double" -bool(true) -float(100000) -string(6) "double" --- Iteration 59 -- -string(6) "double" -bool(true) -float(-100000) -string(6) "double" --- Iteration 60 -- -string(6) "double" -bool(true) -float(100000) -string(6) "double" --- Iteration 61 -- -string(6) "double" -bool(true) -float(-100000) -string(6) "double" --- Iteration 62 -- -string(6) "double" -bool(true) -float(-1.5) -string(6) "double" --- Iteration 63 -- -string(6) "double" -bool(true) -float(0.5) -string(6) "double" --- Iteration 64 -- -string(6) "double" -bool(true) -float(-0.5) -string(6) "double" --- Iteration 65 -- -string(6) "double" -bool(true) -float(500000) -string(6) "double" --- Iteration 66 -- -string(6) "double" -bool(true) -float(-500000) -string(6) "double" --- Iteration 67 -- -string(6) "double" -bool(true) -float(-5.0E-7) -string(6) "double" --- Iteration 68 -- -string(6) "double" -bool(true) -float(500000) -string(6) "double" --- Iteration 69 -- -string(6) "double" -bool(true) -float(-500000) -string(6) "double" --- Iteration 70 -- -string(6) "double" -bool(true) -float(512000) -string(6) "double" --- Iteration 71 -- -string(6) "double" -bool(true) -float(-512000) -string(6) "double" --- Iteration 72 -- -string(6) "double" -bool(true) -float(5.12E-7) -string(6) "double" --- Iteration 73 -- -string(6) "double" -bool(true) -float(5.12E-7) -string(6) "double" --- Iteration 74 -- -string(6) "double" -bool(true) -float(512000) -string(6) "double" --- Iteration 75 -- -string(6) "double" -bool(true) -float(-512000) -string(6) "double" --- Iteration 76 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 77 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 78 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 79 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 80 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 81 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 82 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 83 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 84 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 85 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 86 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 87 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 88 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 89 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 90 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 91 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" - --- Setting type of data to double -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 2 -- -string(7) "boolean" -bool(true) -float(0) -string(6) "double" --- Iteration 3 -- -string(7) "boolean" -bool(true) -float(1) -string(6) "double" --- Iteration 4 -- -string(7) "boolean" -bool(true) -float(1) -string(6) "double" --- Iteration 5 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 6 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 7 -- -string(6) "string" -bool(true) -float(3) -string(6) "double" --- Iteration 8 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 9 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 10 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 11 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 12 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 13 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 14 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 15 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 16 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 17 -- -string(6) "string" -bool(true) -float(-1) -string(6) "double" --- Iteration 18 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 19 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 20 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 21 -- -string(6) "string" -bool(true) -float(-0.01) -string(6) "double" --- Iteration 22 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 23 -- -string(6) "string" -bool(true) -float(-1) -string(6) "double" --- Iteration 24 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 25 -- -string(6) "string" -bool(true) -float(1) -string(6) "double" --- Iteration 26 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 27 -- -string(6) "string" -bool(true) -float(-0.01) -string(6) "double" --- Iteration 28 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 29 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 30 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 31 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 32 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 33 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 34 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 35 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 36 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 37 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 38 -- -string(6) "string" -bool(true) -float(-0) -string(6) "double" --- Iteration 39 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 40 -- -string(6) "string" -bool(true) -float(-0) -string(6) "double" --- Iteration 41 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 42 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 43 -- -string(5) "array" -bool(true) -float(0) -string(6) "double" --- Iteration 44 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 45 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 46 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 47 -- -string(5) "array" -bool(true) -float(1) -string(6) "double" --- Iteration 48 -- -string(6) "double" -bool(true) -float(-2147483648) -string(6) "double" --- Iteration 49 -- -string(7) "integer" -bool(true) -float(2147483647) -string(6) "double" --- Iteration 50 -- -string(6) "double" -bool(true) -float(2147483649) -string(6) "double" --- Iteration 51 -- -string(6) "double" -bool(true) -float(1232147483649) -string(6) "double" --- Iteration 52 -- -string(7) "integer" -bool(true) -float(85) -string(6) "double" --- Iteration 53 -- -string(6) "double" -bool(true) -float(1058513956921) -string(6) "double" --- Iteration 54 -- -string(7) "integer" -bool(true) -float(-21903) -string(6) "double" --- Iteration 55 -- -string(7) "integer" -bool(true) -float(365) -string(6) "double" --- Iteration 56 -- -string(7) "integer" -bool(true) -float(-365) -string(6) "double" --- Iteration 57 -- -string(6) "double" -bool(true) -float(80561044571754) -string(6) "double" --- Iteration 58 -- -string(6) "double" -bool(true) -float(100000) -string(6) "double" --- Iteration 59 -- -string(6) "double" -bool(true) -float(-100000) -string(6) "double" --- Iteration 60 -- -string(6) "double" -bool(true) -float(100000) -string(6) "double" --- Iteration 61 -- -string(6) "double" -bool(true) -float(-100000) -string(6) "double" --- Iteration 62 -- -string(6) "double" -bool(true) -float(-1.5) -string(6) "double" --- Iteration 63 -- -string(6) "double" -bool(true) -float(0.5) -string(6) "double" --- Iteration 64 -- -string(6) "double" -bool(true) -float(-0.5) -string(6) "double" --- Iteration 65 -- -string(6) "double" -bool(true) -float(500000) -string(6) "double" --- Iteration 66 -- -string(6) "double" -bool(true) -float(-500000) -string(6) "double" --- Iteration 67 -- -string(6) "double" -bool(true) -float(-5.0E-7) -string(6) "double" --- Iteration 68 -- -string(6) "double" -bool(true) -float(500000) -string(6) "double" --- Iteration 69 -- -string(6) "double" -bool(true) -float(-500000) -string(6) "double" --- Iteration 70 -- -string(6) "double" -bool(true) -float(512000) -string(6) "double" --- Iteration 71 -- -string(6) "double" -bool(true) -float(-512000) -string(6) "double" --- Iteration 72 -- -string(6) "double" -bool(true) -float(5.12E-7) -string(6) "double" --- Iteration 73 -- -string(6) "double" -bool(true) -float(5.12E-7) -string(6) "double" --- Iteration 74 -- -string(6) "double" -bool(true) -float(512000) -string(6) "double" --- Iteration 75 -- -string(6) "double" -bool(true) -float(-512000) -string(6) "double" --- Iteration 76 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 77 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 78 -- -string(6) "object" -8: Object of class point could not be converted to double -bool(true) -float(1) -string(6) "double" --- Iteration 79 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 80 -- -string(4) "NULL" -bool(true) -float(0) -string(6) "double" --- Iteration 81 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 82 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 83 -- -string(6) "string" -bool(true) -float(123) -string(6) "double" --- Iteration 84 -- -string(6) "string" -bool(true) -float(-123) -string(6) "double" --- Iteration 85 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 86 -- -string(6) "string" -bool(true) -float(0) -string(6) "double" --- Iteration 87 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 88 -- -string(6) "string" -bool(true) -float(2.9743947493287E+21) -string(6) "double" --- Iteration 89 -- -string(6) "string" -bool(true) -float(100) -string(6) "double" --- Iteration 90 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" --- Iteration 91 -- -string(6) "string" -bool(true) -float(10) -string(6) "double" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation4.phpt Tue May 27 00:04:31 2008 @@ -180,7 +180,7 @@ b"10string" ); -// test conversion to these types +// test conversion to these types $types = array( "boolean", "bool" @@ -209,997 +209,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing settype() & gettype() : usage variations *** - --- Setting type of data to boolean -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 2 -- -string(7) "boolean" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 3 -- -string(7) "boolean" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 4 -- -string(7) "boolean" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 5 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 6 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 7 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 8 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 9 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 10 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 11 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 12 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 13 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 14 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 15 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 16 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 17 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 18 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 19 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 20 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 21 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 22 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 23 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 24 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 25 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 26 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 27 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 28 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 29 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 30 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 31 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 32 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 33 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 34 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 35 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 36 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 37 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 38 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 39 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 40 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 41 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 42 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 43 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 44 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 45 -- -string(5) "array" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 46 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 47 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 48 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 49 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 50 -- -string(7) "integer" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 51 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 52 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 53 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 54 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 55 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 56 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 57 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 58 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 59 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 60 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 61 -- -string(6) "double" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 62 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 63 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 64 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 65 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 66 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 67 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 68 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 69 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 70 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 71 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 72 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 73 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 74 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 75 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 76 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 77 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 78 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 79 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 80 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 81 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 82 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 83 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 84 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 85 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 86 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 87 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 88 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 89 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 90 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 91 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 92 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 93 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 94 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 95 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 96 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 97 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 98 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" - --- Setting type of data to bool -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 2 -- -string(7) "boolean" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 3 -- -string(7) "boolean" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 4 -- -string(7) "boolean" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 5 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 6 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 7 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 8 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 9 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 10 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 11 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 12 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 13 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 14 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 15 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 16 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 17 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 18 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 19 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 20 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 21 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 22 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 23 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 24 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 25 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 26 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 27 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 28 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 29 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 30 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 31 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 32 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 33 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 34 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 35 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 36 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 37 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 38 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 39 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 40 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 41 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 42 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 43 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 44 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 45 -- -string(5) "array" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 46 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 47 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 48 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 49 -- -string(5) "array" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 50 -- -string(7) "integer" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 51 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 52 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 53 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 54 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 55 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 56 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 57 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 58 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 59 -- -string(7) "integer" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 60 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 61 -- -string(6) "double" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 62 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 63 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 64 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 65 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 66 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 67 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 68 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 69 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 70 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 71 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 72 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 73 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 74 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 75 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 76 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 77 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 78 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 79 -- -string(6) "double" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 80 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 81 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 82 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 83 -- -string(6) "object" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 84 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 85 -- -string(4) "NULL" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 86 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 87 -- -string(6) "string" -bool(true) -bool(false) -string(7) "boolean" --- Iteration 88 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 89 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 90 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 91 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 92 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 93 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 94 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 95 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 96 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 97 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" --- Iteration 98 -- -string(6) "string" -bool(true) -bool(true) -string(7) "boolean" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation5.phpt Tue May 27 00:04:31 2008 @@ -179,541 +179,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to resource -- --- Iteration 1 -- -string(4) "NULL" -2: settype(): Cannot convert to resource type -bool(false) -NULL -string(4) "NULL" --- Iteration 2 -- -string(7) "boolean" -2: settype(): Cannot convert to resource type -bool(false) -bool(false) -string(7) "boolean" --- Iteration 3 -- -string(7) "boolean" -2: settype(): Cannot convert to resource type -bool(false) -bool(true) -string(7) "boolean" --- Iteration 4 -- -string(7) "boolean" -2: settype(): Cannot convert to resource type -bool(false) -bool(true) -string(7) "boolean" --- Iteration 5 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) "ÿ" -string(6) "string" --- Iteration 6 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) "f" -string(6) "string" --- Iteration 7 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) " -3" -string(6) "string" --- Iteration 8 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(0) "" -string(6) "string" --- Iteration 9 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(0) "" -string(6) "string" --- Iteration 10 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) " " -string(6) "string" --- Iteration 11 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) " " -string(6) "string" --- Iteration 12 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) "10" -string(6) "string" --- Iteration 13 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) "10" -string(6) "string" --- Iteration 14 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(8) "10string" -string(6) "string" --- Iteration 15 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(8) "10string" -string(6) "string" --- Iteration 16 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) "1" -string(6) "string" --- Iteration 17 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) "-1" -string(6) "string" --- Iteration 18 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(3) "1e2" -string(6) "string" --- Iteration 19 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) " 1" -string(6) "string" --- Iteration 20 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 21 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "-1e-2" -string(6) "string" --- Iteration 22 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(1) "1" -string(6) "string" --- Iteration 23 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) "-1" -string(6) "string" --- Iteration 24 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(3) "1e2" -string(6) "string" --- Iteration 25 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(2) " 1" -string(6) "string" --- Iteration 26 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 27 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "-1e-2" -string(6) "string" --- Iteration 28 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(4) "0xff" -string(6) "string" --- Iteration 29 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(4) "0x55" -string(6) "string" --- Iteration 30 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "0XA55" -string(6) "string" --- Iteration 31 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "0X123" -string(6) "string" --- Iteration 32 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(4) "0123" -string(6) "string" --- Iteration 33 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(4) "0123" -string(6) "string" --- Iteration 34 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "-0123" -string(6) "string" --- Iteration 35 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "+0123" -string(6) "string" --- Iteration 36 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "-0123" -string(6) "string" --- Iteration 37 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(5) "+0123" -string(6) "string" --- Iteration 38 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(8) "-0x80001" -string(6) "string" --- Iteration 39 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(8) "+0x80001" -string(6) "string" --- Iteration 40 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(10) "-0x80001.5" -string(6) "string" --- Iteration 41 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(9) "0x80001.5" -string(6) "string" --- Iteration 42 -- -string(6) "string" -2: settype(): Cannot convert to resource type -bool(false) -string(12) "@$%#$%^$%^&^" -string(6) "string" --- Iteration 43 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(0) { -} -string(5) "array" --- Iteration 44 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(1) { - [0]=> - NULL -} -string(5) "array" --- Iteration 45 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(4) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) -} -string(5) "array" --- Iteration 46 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(4) { - [1]=> - string(3) "one" - [2]=> - string(3) "two" - [3]=> - string(5) "three" - ["four"]=> - int(4) -} -string(5) "array" --- Iteration 47 -- -string(5) "array" -2: settype(): Cannot convert to resource type -bool(false) -array(3) { - [0]=> - float(1.5) - [1]=> - float(2.4) - [2]=> - float(6500000) -} -string(5) "array" --- Iteration 48 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-2147483648) -string(6) "double" --- Iteration 49 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(2147483647) -string(7) "integer" --- Iteration 50 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(2147483649) -string(6) "double" --- Iteration 51 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(1232147483649) -string(6) "double" --- Iteration 52 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(85) -string(7) "integer" --- Iteration 53 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(1058513956921) -string(6) "double" --- Iteration 54 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(-21903) -string(7) "integer" --- Iteration 55 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(365) -string(7) "integer" --- Iteration 56 -- -string(7) "integer" -2: settype(): Cannot convert to resource type -bool(false) -int(-365) -string(7) "integer" --- Iteration 57 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(80561044571754) -string(6) "double" --- Iteration 58 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(100000) -string(6) "double" --- Iteration 59 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-100000) -string(6) "double" --- Iteration 60 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(100000) -string(6) "double" --- Iteration 61 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-100000) -string(6) "double" --- Iteration 62 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-1.5) -string(6) "double" --- Iteration 63 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(0.5) -string(6) "double" --- Iteration 64 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-0.5) -string(6) "double" --- Iteration 65 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(500000) -string(6) "double" --- Iteration 66 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-500000) -string(6) "double" --- Iteration 67 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-5.0E-7) -string(6) "double" --- Iteration 68 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(500000) -string(6) "double" --- Iteration 69 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-500000) -string(6) "double" --- Iteration 70 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(512000) -string(6) "double" --- Iteration 71 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-512000) -string(6) "double" --- Iteration 72 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(5.12E-7) -string(6) "double" --- Iteration 73 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(5.12E-7) -string(6) "double" --- Iteration 74 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(512000) -string(6) "double" --- Iteration 75 -- -string(6) "double" -2: settype(): Cannot convert to resource type -bool(false) -float(-512000) -string(6) "double" --- Iteration 76 -- -string(6) "object" -2: settype(): Cannot convert to resource type -bool(false) -object(point)#1 (2) { - ["x"]=> - NULL - ["y"]=> - NULL -} -string(6) "object" --- Iteration 77 -- -string(6) "object" -2: settype(): Cannot convert to resource type -bool(false) -object(point)#2 (2) { - ["x"]=> - float(2.5) - ["y"]=> - float(40.5) -} -string(6) "object" --- Iteration 78 -- -string(6) "object" -2: settype(): Cannot convert to resource type -bool(false) -object(point)#3 (2) { - ["x"]=> - int(0) - ["y"]=> - int(0) -} -string(6) "object" --- Iteration 79 -- -string(4) "NULL" -2: settype(): Cannot convert to resource type -bool(false) -NULL -string(4) "NULL" --- Iteration 80 -- -string(4) "NULL" -2: settype(): Cannot convert to resource type -bool(false) -NULL -string(4) "NULL" -Done - ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation6.phpt Tue May 27 00:04:31 2008 @@ -193,758 +193,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to array -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -array(0) { -} -string(5) "array" --- Iteration 2 -- -string(7) "boolean" -bool(true) -array(1) { - [0]=> - bool(false) -} -string(5) "array" --- Iteration 3 -- -string(7) "boolean" -bool(true) -array(1) { - [0]=> - bool(true) -} -string(5) "array" --- Iteration 4 -- -string(7) "boolean" -bool(true) -array(1) { - [0]=> - bool(true) -} -string(5) "array" --- Iteration 5 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) "ÿ" -} -string(5) "array" --- Iteration 6 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) "f" -} -string(5) "array" --- Iteration 7 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) " -3" -} -string(5) "array" --- Iteration 8 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(0) "" -} -string(5) "array" --- Iteration 9 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(0) "" -} -string(5) "array" --- Iteration 10 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) " " -} -string(5) "array" --- Iteration 11 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) " " -} -string(5) "array" --- Iteration 12 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) "10" -} -string(5) "array" --- Iteration 13 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) "10" -} -string(5) "array" --- Iteration 14 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 15 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 16 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) "1" -} -string(5) "array" --- Iteration 17 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) "-1" -} -string(5) "array" --- Iteration 18 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(3) "1e2" -} -string(5) "array" --- Iteration 19 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) " 1" -} -string(5) "array" --- Iteration 20 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(22) "2974394749328742328432" -} -string(5) "array" --- Iteration 21 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-1e-2" -} -string(5) "array" --- Iteration 22 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(1) "1" -} -string(5) "array" --- Iteration 23 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) "-1" -} -string(5) "array" --- Iteration 24 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(3) "1e2" -} -string(5) "array" --- Iteration 25 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(2) " 1" -} -string(5) "array" --- Iteration 26 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(22) "2974394749328742328432" -} -string(5) "array" --- Iteration 27 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-1e-2" -} -string(5) "array" --- Iteration 28 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0xff" -} -string(5) "array" --- Iteration 29 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0x55" -} -string(5) "array" --- Iteration 30 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "0XA55" -} -string(5) "array" --- Iteration 31 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "0X123" -} -string(5) "array" --- Iteration 32 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0123" -} -string(5) "array" --- Iteration 33 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0123" -} -string(5) "array" --- Iteration 34 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-0123" -} -string(5) "array" --- Iteration 35 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "+0123" -} -string(5) "array" --- Iteration 36 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-0123" -} -string(5) "array" --- Iteration 37 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "+0123" -} -string(5) "array" --- Iteration 38 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "-0x80001" -} -string(5) "array" --- Iteration 39 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "+0x80001" -} -string(5) "array" --- Iteration 40 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(10) "-0x80001.5" -} -string(5) "array" --- Iteration 41 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(9) "0x80001.5" -} -string(5) "array" --- Iteration 42 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(12) "@$%#$%^$%^&^" -} -string(5) "array" --- Iteration 43 -- -string(5) "array" -bool(true) -array(0) { -} -string(5) "array" --- Iteration 44 -- -string(5) "array" -bool(true) -array(1) { - [0]=> - NULL -} -string(5) "array" --- Iteration 45 -- -string(5) "array" -bool(true) -array(4) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) -} -string(5) "array" --- Iteration 46 -- -string(5) "array" -bool(true) -array(4) { - [1]=> - string(3) "one" - [2]=> - string(3) "two" - [3]=> - string(5) "three" - ["four"]=> - int(4) -} -string(5) "array" --- Iteration 47 -- -string(5) "array" -bool(true) -array(3) { - [0]=> - float(1.5) - [1]=> - float(2.4) - [2]=> - float(6500000) -} -string(5) "array" --- Iteration 48 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-2147483648) -} -string(5) "array" --- Iteration 49 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(2147483647) -} -string(5) "array" --- Iteration 50 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(2147483649) -} -string(5) "array" --- Iteration 51 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(1232147483649) -} -string(5) "array" --- Iteration 52 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(85) -} -string(5) "array" --- Iteration 53 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(1058513956921) -} -string(5) "array" --- Iteration 54 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(-21903) -} -string(5) "array" --- Iteration 55 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(365) -} -string(5) "array" --- Iteration 56 -- -string(7) "integer" -bool(true) -array(1) { - [0]=> - int(-365) -} -string(5) "array" --- Iteration 57 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(80561044571754) -} -string(5) "array" --- Iteration 58 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(100000) -} -string(5) "array" --- Iteration 59 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-100000) -} -string(5) "array" --- Iteration 60 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(100000) -} -string(5) "array" --- Iteration 61 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-100000) -} -string(5) "array" --- Iteration 62 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-1.5) -} -string(5) "array" --- Iteration 63 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(0.5) -} -string(5) "array" --- Iteration 64 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-0.5) -} -string(5) "array" --- Iteration 65 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(500000) -} -string(5) "array" --- Iteration 66 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-500000) -} -string(5) "array" --- Iteration 67 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-5.0E-7) -} -string(5) "array" --- Iteration 68 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(500000) -} -string(5) "array" --- Iteration 69 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-500000) -} -string(5) "array" --- Iteration 70 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(512000) -} -string(5) "array" --- Iteration 71 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-512000) -} -string(5) "array" --- Iteration 72 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(5.12E-7) -} -string(5) "array" --- Iteration 73 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(5.12E-7) -} -string(5) "array" --- Iteration 74 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(512000) -} -string(5) "array" --- Iteration 75 -- -string(6) "double" -bool(true) -array(1) { - [0]=> - float(-512000) -} -string(5) "array" --- Iteration 76 -- -string(6) "object" -bool(true) -array(2) { - ["x"]=> - NULL - ["y"]=> - NULL -} -string(5) "array" --- Iteration 77 -- -string(6) "object" -bool(true) -array(2) { - ["x"]=> - float(2.5) - ["y"]=> - float(40.5) -} -string(5) "array" --- Iteration 78 -- -string(6) "object" -bool(true) -array(2) { - ["x"]=> - int(0) - ["y"]=> - int(0) -} -string(5) "array" --- Iteration 79 -- -string(4) "NULL" -bool(true) -array(0) { -} -string(5) "array" --- Iteration 80 -- -string(4) "NULL" -bool(true) -array(0) { -} -string(5) "array" --- Iteration 81 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 82 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 83 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "+0123" -} -string(5) "array" --- Iteration 84 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(5) "-0123" -} -string(5) "array" --- Iteration 85 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0xff" -} -string(5) "array" --- Iteration 86 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(4) "0x55" -} -string(5) "array" --- Iteration 87 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(3) "1e2" -} -string(5) "array" --- Iteration 88 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(22) "2974394749328742328432" -} -string(5) "array" --- Iteration 89 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(3) "1e2" -} -string(5) "array" --- Iteration 90 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" --- Iteration 91 -- -string(6) "string" -bool(true) -array(1) { - [0]=> - string(8) "10string" -} -string(5) "array" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation7.phpt Tue May 27 00:04:31 2008 @@ -192,758 +192,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to object -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -object(stdClass)#4 (0) { -} -string(6) "object" --- Iteration 2 -- -string(7) "boolean" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - bool(false) -} -string(6) "object" --- Iteration 3 -- -string(7) "boolean" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - bool(true) -} -string(6) "object" --- Iteration 4 -- -string(7) "boolean" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - bool(true) -} -string(6) "object" --- Iteration 5 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) "ÿ" -} -string(6) "object" --- Iteration 6 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) "f" -} -string(6) "object" --- Iteration 7 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) " -3" -} -string(6) "object" --- Iteration 8 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(0) "" -} -string(6) "object" --- Iteration 9 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(0) "" -} -string(6) "object" --- Iteration 10 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) " " -} -string(6) "object" --- Iteration 11 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) " " -} -string(6) "object" --- Iteration 12 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) "10" -} -string(6) "object" --- Iteration 13 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) "10" -} -string(6) "object" --- Iteration 14 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 15 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 16 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) "1" -} -string(6) "object" --- Iteration 17 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) "-1" -} -string(6) "object" --- Iteration 18 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(3) "1e2" -} -string(6) "object" --- Iteration 19 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) " 1" -} -string(6) "object" --- Iteration 20 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(22) "2974394749328742328432" -} -string(6) "object" --- Iteration 21 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-1e-2" -} -string(6) "object" --- Iteration 22 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(1) "1" -} -string(6) "object" --- Iteration 23 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) "-1" -} -string(6) "object" --- Iteration 24 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(3) "1e2" -} -string(6) "object" --- Iteration 25 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(2) " 1" -} -string(6) "object" --- Iteration 26 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(22) "2974394749328742328432" -} -string(6) "object" --- Iteration 27 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-1e-2" -} -string(6) "object" --- Iteration 28 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0xff" -} -string(6) "object" --- Iteration 29 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0x55" -} -string(6) "object" --- Iteration 30 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "0XA55" -} -string(6) "object" --- Iteration 31 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "0X123" -} -string(6) "object" --- Iteration 32 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0123" -} -string(6) "object" --- Iteration 33 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0123" -} -string(6) "object" --- Iteration 34 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-0123" -} -string(6) "object" --- Iteration 35 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "+0123" -} -string(6) "object" --- Iteration 36 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-0123" -} -string(6) "object" --- Iteration 37 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "+0123" -} -string(6) "object" --- Iteration 38 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "-0x80001" -} -string(6) "object" --- Iteration 39 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "+0x80001" -} -string(6) "object" --- Iteration 40 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(10) "-0x80001.5" -} -string(6) "object" --- Iteration 41 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(9) "0x80001.5" -} -string(6) "object" --- Iteration 42 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(12) "@$%#$%^$%^&^" -} -string(6) "object" --- Iteration 43 -- -string(5) "array" -bool(true) -object(stdClass)#4 (0) { -} -string(6) "object" --- Iteration 44 -- -string(5) "array" -bool(true) -object(stdClass)#4 (1) { - [0]=> - NULL -} -string(6) "object" --- Iteration 45 -- -string(5) "array" -bool(true) -object(stdClass)#4 (4) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) -} -string(6) "object" --- Iteration 46 -- -string(5) "array" -bool(true) -object(stdClass)#4 (4) { - [1]=> - string(3) "one" - [2]=> - string(3) "two" - [3]=> - string(5) "three" - ["four"]=> - int(4) -} -string(6) "object" --- Iteration 47 -- -string(5) "array" -bool(true) -object(stdClass)#4 (3) { - [0]=> - float(1.5) - [1]=> - float(2.4) - [2]=> - float(6500000) -} -string(6) "object" --- Iteration 48 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-2147483648) -} -string(6) "object" --- Iteration 49 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(2147483647) -} -string(6) "object" --- Iteration 50 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(2147483649) -} -string(6) "object" --- Iteration 51 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(1232147483649) -} -string(6) "object" --- Iteration 52 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(85) -} -string(6) "object" --- Iteration 53 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(1058513956921) -} -string(6) "object" --- Iteration 54 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(-21903) -} -string(6) "object" --- Iteration 55 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(365) -} -string(6) "object" --- Iteration 56 -- -string(7) "integer" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - int(-365) -} -string(6) "object" --- Iteration 57 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(80561044571754) -} -string(6) "object" --- Iteration 58 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(100000) -} -string(6) "object" --- Iteration 59 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-100000) -} -string(6) "object" --- Iteration 60 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(100000) -} -string(6) "object" --- Iteration 61 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-100000) -} -string(6) "object" --- Iteration 62 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-1.5) -} -string(6) "object" --- Iteration 63 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(0.5) -} -string(6) "object" --- Iteration 64 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-0.5) -} -string(6) "object" --- Iteration 65 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(500000) -} -string(6) "object" --- Iteration 66 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-500000) -} -string(6) "object" --- Iteration 67 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-5.0E-7) -} -string(6) "object" --- Iteration 68 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(500000) -} -string(6) "object" --- Iteration 69 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-500000) -} -string(6) "object" --- Iteration 70 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(512000) -} -string(6) "object" --- Iteration 71 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-512000) -} -string(6) "object" --- Iteration 72 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(5.12E-7) -} -string(6) "object" --- Iteration 73 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(5.12E-7) -} -string(6) "object" --- Iteration 74 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(512000) -} -string(6) "object" --- Iteration 75 -- -string(6) "double" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - float(-512000) -} -string(6) "object" --- Iteration 76 -- -string(6) "object" -bool(true) -object(point)#1 (2) { - ["x"]=> - NULL - ["y"]=> - NULL -} -string(6) "object" --- Iteration 77 -- -string(6) "object" -bool(true) -object(point)#2 (2) { - ["x"]=> - float(2.5) - ["y"]=> - float(40.5) -} -string(6) "object" --- Iteration 78 -- -string(6) "object" -bool(true) -object(point)#3 (2) { - ["x"]=> - int(0) - ["y"]=> - int(0) -} -string(6) "object" --- Iteration 79 -- -string(4) "NULL" -bool(true) -object(stdClass)#4 (0) { -} -string(6) "object" --- Iteration 80 -- -string(4) "NULL" -bool(true) -object(stdClass)#4 (0) { -} -string(6) "object" --- Iteration 81 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 82 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 83 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "+0123" -} -string(6) "object" --- Iteration 84 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(5) "-0123" -} -string(6) "object" --- Iteration 85 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0xff" -} -string(6) "object" --- Iteration 86 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(4) "0x55" -} -string(6) "object" --- Iteration 87 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(3) "1e2" -} -string(6) "object" --- Iteration 88 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(22) "2974394749328742328432" -} -string(6) "object" --- Iteration 89 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(3) "1e2" -} -string(6) "object" --- Iteration 90 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" --- Iteration 91 -- -string(6) "string" -bool(true) -object(stdClass)#4 (1) { - ["scalar"]=> - string(8) "10string" -} -string(6) "object" -Done ---UEXPECTF-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt diff -u php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt:1.3 php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt:1.4 --- php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt:1.3 Tue May 22 16:56:47 2007 +++ php-src/ext/standard/tests/general_functions/gettype_settype_variation8.phpt Tue May 27 00:04:31 2008 @@ -192,476 +192,7 @@ echo "Done\n"; ?> ---EXPECTF-- -8: Undefined variable: unset_var -8: Undefined variable: undef_var - -*** Testing gettype() & settype() functions : usage variations *** - --- Setting type of data to string -- --- Iteration 1 -- -string(4) "NULL" -bool(true) -string(0) "" -string(6) "string" --- Iteration 2 -- -string(7) "boolean" -bool(true) -string(0) "" -string(6) "string" --- Iteration 3 -- -string(7) "boolean" -bool(true) -string(1) "1" -string(6) "string" --- Iteration 4 -- -string(7) "boolean" -bool(true) -string(1) "1" -string(6) "string" --- Iteration 5 -- -string(6) "string" -bool(true) -string(1) "ÿ" -string(6) "string" --- Iteration 6 -- -string(6) "string" -bool(true) -string(1) "f" -string(6) "string" --- Iteration 7 -- -string(6) "string" -bool(true) -string(2) " -3" -string(6) "string" --- Iteration 8 -- -string(6) "string" -bool(true) -string(0) "" -string(6) "string" --- Iteration 9 -- -string(6) "string" -bool(true) -string(0) "" -string(6) "string" --- Iteration 10 -- -string(6) "string" -bool(true) -string(1) " " -string(6) "string" --- Iteration 11 -- -string(6) "string" -bool(true) -string(1) " " -string(6) "string" --- Iteration 12 -- -string(6) "string" -bool(true) -string(2) "10" -string(6) "string" --- Iteration 13 -- -string(6) "string" -bool(true) -string(2) "10" -string(6) "string" --- Iteration 14 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 15 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 16 -- -string(6) "string" -bool(true) -string(1) "1" -string(6) "string" --- Iteration 17 -- -string(6) "string" -bool(true) -string(2) "-1" -string(6) "string" --- Iteration 18 -- -string(6) "string" -bool(true) -string(3) "1e2" -string(6) "string" --- Iteration 19 -- -string(6) "string" -bool(true) -string(2) " 1" -string(6) "string" --- Iteration 20 -- -string(6) "string" -bool(true) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 21 -- -string(6) "string" -bool(true) -string(5) "-1e-2" -string(6) "string" --- Iteration 22 -- -string(6) "string" -bool(true) -string(1) "1" -string(6) "string" --- Iteration 23 -- -string(6) "string" -bool(true) -string(2) "-1" -string(6) "string" --- Iteration 24 -- -string(6) "string" -bool(true) -string(3) "1e2" -string(6) "string" --- Iteration 25 -- -string(6) "string" -bool(true) -string(2) " 1" -string(6) "string" --- Iteration 26 -- -string(6) "string" -bool(true) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 27 -- -string(6) "string" -bool(true) -string(5) "-1e-2" -string(6) "string" --- Iteration 28 -- -string(6) "string" -bool(true) -string(4) "0xff" -string(6) "string" --- Iteration 29 -- -string(6) "string" -bool(true) -string(4) "0x55" -string(6) "string" --- Iteration 30 -- -string(6) "string" -bool(true) -string(5) "0XA55" -string(6) "string" --- Iteration 31 -- -string(6) "string" -bool(true) -string(5) "0X123" -string(6) "string" --- Iteration 32 -- -string(6) "string" -bool(true) -string(4) "0123" -string(6) "string" --- Iteration 33 -- -string(6) "string" -bool(true) -string(4) "0123" -string(6) "string" --- Iteration 34 -- -string(6) "string" -bool(true) -string(5) "-0123" -string(6) "string" --- Iteration 35 -- -string(6) "string" -bool(true) -string(5) "+0123" -string(6) "string" --- Iteration 36 -- -string(6) "string" -bool(true) -string(5) "-0123" -string(6) "string" --- Iteration 37 -- -string(6) "string" -bool(true) -string(5) "+0123" -string(6) "string" --- Iteration 38 -- -string(6) "string" -bool(true) -string(8) "-0x80001" -string(6) "string" --- Iteration 39 -- -string(6) "string" -bool(true) -string(8) "+0x80001" -string(6) "string" --- Iteration 40 -- -string(6) "string" -bool(true) -string(10) "-0x80001.5" -string(6) "string" --- Iteration 41 -- -string(6) "string" -bool(true) -string(9) "0x80001.5" -string(6) "string" --- Iteration 42 -- -string(6) "string" -bool(true) -string(12) "@$%#$%^$%^&^" -string(6) "string" --- Iteration 43 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 44 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 45 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 46 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 47 -- -string(5) "array" -8: Array to string conversion -bool(true) -string(5) "Array" -string(6) "string" --- Iteration 48 -- -string(6) "double" -bool(true) -string(11) "-2147483648" -string(6) "string" --- Iteration 49 -- -string(7) "integer" -bool(true) -string(10) "2147483647" -string(6) "string" --- Iteration 50 -- -string(6) "double" -bool(true) -string(10) "2147483649" -string(6) "string" --- Iteration 51 -- -string(6) "double" -bool(true) -string(13) "1232147483649" -string(6) "string" --- Iteration 52 -- -string(7) "integer" -bool(true) -string(2) "85" -string(6) "string" --- Iteration 53 -- -string(6) "double" -bool(true) -string(13) "1058513956921" -string(6) "string" --- Iteration 54 -- -string(7) "integer" -bool(true) -string(6) "-21903" -string(6) "string" --- Iteration 55 -- -string(7) "integer" -bool(true) -string(3) "365" -string(6) "string" --- Iteration 56 -- -string(7) "integer" -bool(true) -string(4) "-365" -string(6) "string" --- Iteration 57 -- -string(6) "double" -bool(true) -string(14) "80561044571754" -string(6) "string" --- Iteration 58 -- -string(6) "double" -bool(true) -string(6) "100000" -string(6) "string" --- Iteration 59 -- -string(6) "double" -bool(true) -string(7) "-100000" -string(6) "string" --- Iteration 60 -- -string(6) "double" -bool(true) -string(6) "100000" -string(6) "string" --- Iteration 61 -- -string(6) "double" -bool(true) -string(7) "-100000" -string(6) "string" --- Iteration 62 -- -string(6) "double" -bool(true) -string(4) "-1.5" -string(6) "string" --- Iteration 63 -- -string(6) "double" -bool(true) -string(3) "0.5" -string(6) "string" --- Iteration 64 -- -string(6) "double" -bool(true) -string(4) "-0.5" -string(6) "string" --- Iteration 65 -- -string(6) "double" -bool(true) -string(6) "500000" -string(6) "string" --- Iteration 66 -- -string(6) "double" -bool(true) -string(7) "-500000" -string(6) "string" --- Iteration 67 -- -string(6) "double" -bool(true) -string(7) "-5.0E-7" -string(6) "string" --- Iteration 68 -- -string(6) "double" -bool(true) -string(6) "500000" -string(6) "string" --- Iteration 69 -- -string(6) "double" -bool(true) -string(7) "-500000" -string(6) "string" --- Iteration 70 -- -string(6) "double" -bool(true) -string(6) "512000" -string(6) "string" --- Iteration 71 -- -string(6) "double" -bool(true) -string(7) "-512000" -string(6) "string" --- Iteration 72 -- -string(6) "double" -bool(true) -string(7) "5.12E-7" -string(6) "string" --- Iteration 73 -- -string(6) "double" -bool(true) -string(7) "5.12E-7" -string(6) "string" --- Iteration 74 -- -string(6) "double" -bool(true) -string(6) "512000" -string(6) "string" --- Iteration 75 -- -string(6) "double" -bool(true) -string(7) "-512000" -string(6) "string" --- Iteration 76 -- -string(6) "object" -bool(true) -string(11) "ObjectPoint" -string(6) "string" --- Iteration 77 -- -string(6) "object" -bool(true) -string(11) "ObjectPoint" -string(6) "string" --- Iteration 78 -- -string(6) "object" -bool(true) -string(11) "ObjectPoint" -string(6) "string" --- Iteration 79 -- -string(4) "NULL" -bool(true) -string(0) "" -string(6) "string" --- Iteration 80 -- -string(4) "NULL" -bool(true) -string(0) "" -string(6) "string" --- Iteration 81 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 82 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 83 -- -string(6) "string" -bool(true) -string(5) "+0123" -string(6) "string" --- Iteration 84 -- -string(6) "string" -bool(true) -string(5) "-0123" -string(6) "string" --- Iteration 85 -- -string(6) "string" -bool(true) -string(4) "0xff" -string(6) "string" --- Iteration 86 -- -string(6) "string" -bool(true) -string(4) "0x55" -string(6) "string" --- Iteration 87 -- -string(6) "string" -bool(true) -string(3) "1e2" -string(6) "string" --- Iteration 88 -- -string(6) "string" -bool(true) -string(22) "2974394749328742328432" -string(6) "string" --- Iteration 89 -- -string(6) "string" -bool(true) -string(3) "1e2" -string(6) "string" --- Iteration 90 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" --- Iteration 91 -- -string(6) "string" -bool(true) -string(8) "10string" -string(6) "string" -Done ---UEXPECT-- +--EXPECT-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/head.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/head.phpt diff -u php-src/ext/standard/tests/general_functions/head.phpt:1.1 php-src/ext/standard/tests/general_functions/head.phpt:1.2 --- php-src/ext/standard/tests/general_functions/head.phpt:1.1 Wed Nov 15 17:26:54 2006 +++ php-src/ext/standard/tests/general_functions/head.phpt Tue May 27 00:04:31 2008 @@ -27,7 +27,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- NULL bool(false) array(0) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/import_request.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/import_request.phpt diff -u php-src/ext/standard/tests/general_functions/import_request.phpt:1.2 php-src/ext/standard/tests/general_functions/import_request.phpt:1.3 --- php-src/ext/standard/tests/general_functions/import_request.phpt:1.2 Tue Mar 6 19:59:13 2007 +++ php-src/ext/standard/tests/general_functions/import_request.phpt Tue May 27 00:04:31 2008 @@ -25,54 +25,7 @@ echo "Done\n"; ?> ---EXPECTF-- -Warning: import_request_variables() expects at least 1 parameter, 0 given in %s on line %d -NULL -NULL - -Notice: import_request_variables(): No prefix specified - possible security hazard in %s on line %d -NULL - -Notice: import_request_variables(): No prefix specified - possible security hazard in %s on line %d - -Warning: import_request_variables(): Attempted GLOBALS variable overwrite in %s on line %d - -Warning: import_request_variables(): Numeric key detected - possible security hazard in %s on line %d -NULL - -Notice: Undefined variable: ap in %s on line %d -string(1) "1" -string(3) "heh" -string(1) "3" -NULL -NULL - -Notice: Undefined variable: g_ap in %s on line %d -string(1) "1" -string(3) "heh" -string(1) "3" -NULL -string(2) "hm" -NULL -string(1) "1" -string(3) "heh" -string(1) "3" -string(2) "25" -string(4) "test" -string(5) "blah3" -array(1) { - [0]=> - string(2) "ar" -} -NULL - -Notice: Undefined variable: r_ap in %s on line %d -string(1) "1" -string(3) "heh" -string(1) "3" -NULL -Done ---UEXPECTF-- +--EXPECTF-- Warning: import_request_variables() expects at least 1 parameter, 0 given in %s on line %d NULL NULL http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/import_request1.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/import_request1.phpt diff -u php-src/ext/standard/tests/general_functions/import_request1.phpt:1.1 php-src/ext/standard/tests/general_functions/import_request1.phpt:1.2 --- php-src/ext/standard/tests/general_functions/import_request1.phpt:1.1 Tue May 22 14:32:40 2007 +++ php-src/ext/standard/tests/general_functions/import_request1.phpt Tue May 27 00:04:31 2008 @@ -47,87 +47,6 @@ Warning: import_request_variables(): Attempted super-global (_REQUEST) variable overwrite in %s on line %d array(5) { - ["GET"]=> - string(1) "0" - ["POST"]=> - string(1) "1" - ["COOKIE"]=> - string(1) "2" - ["FILES"]=> - string(1) "3" - ["REQUEST"]=> - string(1) "4" -} -array(5) { - ["GET"]=> - string(1) "5" - ["POST"]=> - string(1) "6" - ["COOKIE"]=> - string(1) "7" - ["FILES"]=> - string(1) "8" - ["REQUEST"]=> - string(1) "9" -} -array(5) { - ["GET"]=> - string(2) "10" - ["POST"]=> - string(2) "11" - ["COOKIE"]=> - string(2) "12" - ["FILES"]=> - string(2) "13" - ["REQUEST"]=> - string(2) "14" -} -array(0) { -} -array(5) { - ["GET"]=> - string(1) "5" - ["POST"]=> - string(1) "6" - ["COOKIE"]=> - string(1) "7" - ["FILES"]=> - string(1) "8" - ["REQUEST"]=> - string(1) "9" -} -Done ---UEXPECTF-- -Warning: import_request_variables(): Attempted super-global (_GET) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_POST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_COOKIE) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_FILES) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_REQUEST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_GET) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_POST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_COOKIE) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_FILES) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_REQUEST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_GET) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_POST) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_COOKIE) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_FILES) variable overwrite in %s on line %d - -Warning: import_request_variables(): Attempted super-global (_REQUEST) variable overwrite in %s on line %d -array(5) { [u"GET"]=> unicode(1) "0" [u"POST"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/import_request2.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/import_request2.phpt diff -u php-src/ext/standard/tests/general_functions/import_request2.phpt:1.1 php-src/ext/standard/tests/general_functions/import_request2.phpt:1.2 --- php-src/ext/standard/tests/general_functions/import_request2.phpt:1.1 Tue May 22 14:32:40 2007 +++ php-src/ext/standard/tests/general_functions/import_request2.phpt Tue May 27 00:04:31 2008 @@ -16,14 +16,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(2) "10" -string(2) "11" -string(2) "12" -string(2) "13" -string(2) "14" -Done ---UEXPECTF-- +--EXPECT-- unicode(2) "10" unicode(2) "11" unicode(2) "12" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/import_request3.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/import_request3.phpt diff -u php-src/ext/standard/tests/general_functions/import_request3.phpt:1.1 php-src/ext/standard/tests/general_functions/import_request3.phpt:1.2 --- php-src/ext/standard/tests/general_functions/import_request3.phpt:1.1 Tue May 22 14:32:40 2007 +++ php-src/ext/standard/tests/general_functions/import_request3.phpt Tue May 27 00:04:31 2008 @@ -16,14 +16,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(1) "5" -string(1) "6" -string(1) "7" -string(1) "8" -string(1) "9" -Done ---UEXPECTF-- +--EXPECT-- unicode(1) "5" unicode(1) "6" unicode(1) "7" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/include_path.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/include_path.phpt diff -u php-src/ext/standard/tests/general_functions/include_path.phpt:1.2 php-src/ext/standard/tests/general_functions/include_path.phpt:1.3 --- php-src/ext/standard/tests/general_functions/include_path.phpt:1.2 Wed Dec 27 19:17:02 2006 +++ php-src/ext/standard/tests/general_functions/include_path.phpt Tue May 27 00:04:31 2008 @@ -41,39 +41,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(1) "." - -Warning: get_include_path() expects exactly 0 parameters, 1 given in %s on line %d -NULL -NULL - -Warning: restore_include_path() expects exactly 0 parameters, 1 given in %s on line %d -NULL - -Warning: set_include_path() expects exactly 1 parameter, 0 given in %s on line %d -NULL -string(1) "." -string(1) "." -string(3) "var" -NULL -string(1) "." -string(1) "." -string(14) ".:/path/to/dir" -NULL -string(1) "." -string(1) "." -string(1) "." -NULL -string(1) "." - -Warning: set_include_path() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d -NULL -string(1) "." -NULL -string(1) "." -Done ---UEXPECTF-- +--EXPECTF-- unicode(1) "." Warning: get_include_path() expects exactly 0 parameters, 1 given in %s on line %d http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/ini_get_all.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/ini_get_all.phpt diff -u php-src/ext/standard/tests/general_functions/ini_get_all.phpt:1.4 php-src/ext/standard/tests/general_functions/ini_get_all.phpt:1.5 --- php-src/ext/standard/tests/general_functions/ini_get_all.phpt:1.4 Mon Apr 14 15:42:14 2008 +++ php-src/ext/standard/tests/general_functions/ini_get_all.phpt Tue May 27 00:04:31 2008 @@ -20,49 +20,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(5) "array" - -Warning: ini_get_all(): Unable to find extension '' in %s on line %d -bool(false) - -Warning: ini_get_all(): Unable to find extension 'nosuchextension' in %s on line %d -bool(false) -array(0) { -} -array(2) { - ["pcre.backtrack_limit"]=> - array(3) { - ["global_value"]=> - string(6) "100000" - ["local_value"]=> - string(6) "100000" - ["access"]=> - int(7) - } - ["pcre.recursion_limit"]=> - array(3) { - ["global_value"]=> - string(6) "100000" - ["local_value"]=> - string(6) "100000" - ["access"]=> - int(7) - } -} -array(2) { - ["pcre.backtrack_limit"]=> - string(6) "100000" - ["pcre.recursion_limit"]=> - string(6) "100000" -} -array(0) { -} - -Warning: ini_get_all(): Unable to find extension '' in %sini_get_all.php on line %d -bool(false) -Done ---UEXPECTF-- +--EXPECTF-- unicode(5) "array" Warning: ini_get_all(): Unable to find extension '' in %s on line %d http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/intval.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/intval.phpt diff -u php-src/ext/standard/tests/general_functions/intval.phpt:1.3 php-src/ext/standard/tests/general_functions/intval.phpt:1.4 --- php-src/ext/standard/tests/general_functions/intval.phpt:1.3 Tue May 29 12:42:19 2007 +++ php-src/ext/standard/tests/general_functions/intval.phpt Tue May 27 00:04:31 2008 @@ -304,150 +304,3 @@ NULL --- Done --- ---UEXPECTF-- -*** Testing intval() with valid integer values *** - -***Output with default base value ie 10 *** -int(0) -int(1) -int(-1) -int(-2147483648) -int(-2147483647) -int(2147483647) -int(2147483640) -int(4667) -int(0) -int(0) -int(0) -int(-2147483648) -int(0) -int(2147483647) -int(123) -int(1) -int(-2147483648) -int(2147483647) - -***Output with base value of 10( explicitly passed as argument) *** -int(0) -int(1) -int(-1) -int(-2147483648) -int(-2147483647) -int(2147483647) -int(2147483640) -int(4667) -int(0) -int(0) -int(0) -int(-2147483648) -int(0) -int(2147483647) -int(123) -int(1) -int(-2147483648) -int(2147483647) - -***Output with base value of 16 *** -int(0) -int(1) -int(-1) -int(-2147483648) -int(-2147483648) -int(2147483647) -int(2147483640) -int(4667) -int(4779) -int(4095) -int(250) -int(-2147483648) -int(2147483647) -int(2147483647) -int(291) -int(1) -int(-2147483648) -int(2147483647) - -***Output with base value of 8 *** -int(0) -int(1) -int(-1) -int(-9020) -int(-9020) -int(2147483647) -int(2147483640) -int(4667) -int(0) -int(0) -int(0) -int(-2147483648) -int(0) -int(2147483647) -int(83) -int(1) -int(-2147483648) -int(2147483647) - -*** Testing intval() on non integer types *** -int(-2147483648) -int(2147483647) -int(0) -int(0) -int(2147483647) -int(-2147483648) -int(0) -int(0) -int(1) -int(100000) -int(-1000000) -int(100000000) -int(-1000000000) -int(10) -int(1050000) -int(5) -int(6) -int(0) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(1) -int(0) -int(0) -int(0) -int(0) -int(1) -int(1) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(0) -int(1) -int(0) -int(1) -int(0) -int(0) -int(0) - -*** Testing error conditions *** - -Warning: Wrong parameter count for intval() in %s on line %d -NULL - -Warning: Wrong parameter count for intval() in %s on line %d -NULL - ---- Done --- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_bool.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/is_bool.phpt diff -u php-src/ext/standard/tests/general_functions/is_bool.phpt:1.2 php-src/ext/standard/tests/general_functions/is_bool.phpt:1.3 --- php-src/ext/standard/tests/general_functions/is_bool.phpt:1.2 Sat May 12 12:18:13 2007 +++ php-src/ext/standard/tests/general_functions/is_bool.phpt Tue May 27 00:04:31 2008 @@ -293,4 +293,3 @@ Warning: is_bool() expects exactly 1 parameter, 2 given in %s on line %d NULL Done - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_callable.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/is_callable.phpt diff -u php-src/ext/standard/tests/general_functions/is_callable.phpt:1.5 php-src/ext/standard/tests/general_functions/is_callable.phpt:1.6 --- php-src/ext/standard/tests/general_functions/is_callable.phpt:1.5 Mon Feb 4 17:21:01 2008 +++ php-src/ext/standard/tests/general_functions/is_callable.phpt Tue May 27 00:04:31 2008 @@ -1117,880 +1117,3 @@ Warning: is_callable() expects at most 3 parameters, 4 given in %s on line %d NULL Done ---UEXPECTF-- -*** Testing is_callable() on defined functions *** --- Iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -someFunction --- Iteration 2 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -x123 --- Iteration 3 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -NULL --- Iteration 4 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -false --- Iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -Hello_World - -*** Testing is_callable() on undefined functions *** --- Iteration 1 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) - --- Iteration 2 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) - --- Iteration 3 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) - --- Iteration 4 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) - --- Iteration 5 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -12356 --- Iteration 6 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) ---- Iteration 7 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -\0 --- Iteration 8 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -hello world --- Iteration 9 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -hello world --- Iteration 10 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -welcome--- Iteration 11 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -welcome\0 --- Iteration 12 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -==%%%***$$$@@@!! --- Iteration 13 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -false --- Iteration 14 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -8 --- Iteration 15 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -\t --- Iteration 16 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -\007 --- Iteration 17 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -123 --- Iteration 18 -- -bool(false) -bool(true) -bool(true) -bool(false) -bool(false) -echo() - -*** Testing is_callable() on objects *** - -** Testing behavior of is_callable() on static methods ** -bool(true) -bool(false) - -** Testing normal operations of is_callable() on objects ** ---- Outerloop iteration 1 --- --- Innerloop iteration 1 of Outerloop iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 1 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 1 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::null --- Innerloop iteration 6 of Outerloop iteration 1 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 1 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::123 --- Innerloop iteration 8 of Outerloop iteration 1 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 1 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::func --- Innerloop iteration 10 of Outerloop iteration 1 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 2 --- --- Innerloop iteration 1 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::x123 --- Innerloop iteration 5 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::null --- Innerloop iteration 6 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::123 --- Innerloop iteration 8 of Outerloop iteration 2 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 2 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::func --- Innerloop iteration 10 of Outerloop iteration 2 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 3 --- --- Innerloop iteration 1 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::null --- Innerloop iteration 6 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 3 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::123 --- Innerloop iteration 8 of Outerloop iteration 3 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 3 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -contains_object_class::func --- Innerloop iteration 10 of Outerloop iteration 3 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 4 --- --- Innerloop iteration 1 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::null --- Innerloop iteration 6 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 4 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -contains_object_class::123 --- Innerloop iteration 8 of Outerloop iteration 4 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 4 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -contains_object_class::func --- Innerloop iteration 10 of Outerloop iteration 4 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 5 --- --- Innerloop iteration 1 of Outerloop iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 5 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 5 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::null --- Innerloop iteration 6 of Outerloop iteration 5 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 5 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::123 --- Innerloop iteration 8 of Outerloop iteration 5 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 5 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::func --- Innerloop iteration 10 of Outerloop iteration 5 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 6 --- --- Innerloop iteration 1 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::x123 --- Innerloop iteration 5 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::null --- Innerloop iteration 6 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::123 --- Innerloop iteration 8 of Outerloop iteration 6 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 6 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -no_member_class::func --- Innerloop iteration 10 of Outerloop iteration 6 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 7 --- --- Innerloop iteration 1 of Outerloop iteration 7 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::foo1 --- Innerloop iteration 2 of Outerloop iteration 7 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo2 --- Innerloop iteration 3 of Outerloop iteration 7 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::foo3 --- Innerloop iteration 4 of Outerloop iteration 7 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::x123 --- Innerloop iteration 5 of Outerloop iteration 7 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::null --- Innerloop iteration 6 of Outerloop iteration 7 -- -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -object_class::TRUE --- Innerloop iteration 7 of Outerloop iteration 7 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::123 --- Innerloop iteration 8 of Outerloop iteration 7 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 7 -- -bool(false) -bool(true) -bool(false) -bool(true) -bool(false) -object_class::func --- Innerloop iteration 10 of Outerloop iteration 7 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 ---- Outerloop iteration 8 --- --- Innerloop iteration 1 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 2 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 3 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 4 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 5 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 6 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 7 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 8 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 9 of Outerloop iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Innerloop iteration 10 of Outerloop iteration 8 -- - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -bool(true) - -Strict Standards: Non-static method object_class::foo1() should not be called statically in %s on line %d -bool(true) -object_class::foo1 - -*** Testing is_callable() on invalid function names *** --- Iteration 1 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) - --- Iteration 2 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -0 --- Iteration 3 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -1234567890 --- Iteration 4 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) --100123456782 --- Iteration 5 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) --2 --- Iteration 6 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -0.567 --- Iteration 7 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) - --- Iteration 8 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Array --- Iteration 9 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) - --- Iteration 10 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) - --- Iteration 11 -- -bool(false) -bool(false) -bool(false) -bool(false) -bool(false) -Resource id #5 - -*** Testing error conditions *** - -Warning: is_callable() expects at least 1 parameter, 0 given in %s on line %d -NULL - -Warning: is_callable() expects at most 3 parameters, 4 given in %s on line %d -NULL -Done http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_int.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/is_int.phpt diff -u php-src/ext/standard/tests/general_functions/is_int.phpt:1.3 php-src/ext/standard/tests/general_functions/is_int.phpt:1.4 --- php-src/ext/standard/tests/general_functions/is_int.phpt:1.3 Tue May 29 12:42:19 2007 +++ php-src/ext/standard/tests/general_functions/is_int.phpt Tue May 27 00:04:31 2008 @@ -449,4 +449,3 @@ Warning: is_long() expects exactly 1 parameter, 2 given in %s on line %d NULL Done - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_null.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/is_null.phpt diff -u php-src/ext/standard/tests/general_functions/is_null.phpt:1.2 php-src/ext/standard/tests/general_functions/is_null.phpt:1.3 --- php-src/ext/standard/tests/general_functions/is_null.phpt:1.2 Sat May 12 12:18:13 2007 +++ php-src/ext/standard/tests/general_functions/is_null.phpt Tue May 27 00:04:31 2008 @@ -295,4 +295,3 @@ Warning: is_null() expects exactly 1 parameter, 2 given in %s on line %d NULL Done - http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt diff -u php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt:1.4 php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt:1.5 --- php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt:1.4 Tue Feb 26 13:16:55 2008 +++ php-src/ext/standard/tests/general_functions/parse_ini_basic.phpt Tue May 27 00:04:31 2008 @@ -14,267 +14,7 @@ echo "Done.\n"; ?> ---EXPECTF-- -array(25) { - ["basic"]=> - array(15) { - ["basicval"]=> - string(3) "bar" - ["longval"]=> - string(5) "12345" - ["with.dot"]=> - string(7) "fooobar" - ["boolon"]=> - string(1) "1" - ["booltrue"]=> - string(1) "1" - ["boolyes"]=> - string(1) "1" - ["booloff"]=> - string(0) "" - ["boolfalse"]=> - string(0) "" - ["boolnone"]=> - string(0) "" - ["boolno"]=> - string(0) "" - ["string"]=> - string(34) "asdadfsdjkslkj ¡@£$$ { }[ ]/%#¤" - ["sqstring"]=> - string(14) "adsasdadasdasd" - ["dqstring"]=> - string(51) "asdadfsdjkslkj ¡@£$$ { } !^~|¥¥{[()/)&/% ¤ # #" - ["php_constant"]=> - string(5) "16383" - ["user_constant"]=> - string(21) "this_is_test_constant" - } - ["basic with whitespace"]=> - array(13) { - ["basicval"]=> - string(3) "bar" - ["longval"]=> - string(5) "12345" - ["with.dot"]=> - string(7) "fooobar" - ["boolon"]=> - string(1) "1" - ["booltrue"]=> - string(1) "1" - ["boolyes"]=> - string(1) "1" - ["booloff"]=> - string(0) "" - ["boolfalse"]=> - string(0) "" - ["boolnone"]=> - string(0) "" - ["boolno"]=> - string(0) "" - ["sqstring"]=> - string(14) "adsasdadasdasd" - ["dqstring"]=> - string(41) "asdadfsdjkslkj ¡@£$$â¬Â¥Â¥{[()/)&/%#¤" - ["php_constant"]=> - string(5) "16383" - } - ["comments"]=> - array(1) { - ["somecomment"]=> - string(15) "comment follows" - } - ["variables"]=> - array(8) { - ["var1"]=> - string(14) "FUBAR_VARIABLE" - ["var2"]=> - string(18) "FUBAR_VARIABLE/foo" - ["var3"]=> - string(18) "foo/FUBAR_VARIABLE" - ["var4"]=> - string(22) "foo/FUBAR_VARIABLE/foo" - ["quoted_var1"]=> - string(21) "FUBAR_QUOTES_VARIABLE" - ["quoted_var2"]=> - string(25) "FUBAR_QUOTES_VARIABLE/foo" - ["quoted_var3"]=> - string(25) "foo/FUBAR_QUOTES_VARIABLE" - ["quoted_var4"]=> - string(29) "foo/FUBAR_QUOTES_VARIABLE/foo" - } - ["offset values"]=> - array(6) { - ["foo1"]=> - array(2) { - [0]=> - string(14) "basic offset 1" - [1]=> - string(14) "basic offset 2" - } - ["foo2"]=> - array(1) { - [123]=> - string(11) "long offset" - } - ["foo3"]=> - array(1) { - ["abc"]=> - string(13) "string offset" - } - ["foo4"]=> - array(4) { - [0]=> - string(15) "quoted offset 1" - [" "]=> - string(15) "quoted offset 2" - ["sqfoobar"]=> - string(20) "quoted string offset" - ["dqfoobar"]=> - string(20) "single quoted offset" - } - ["foo6"]=> - array(4) { - ["FUBAR_VARIABLE"]=> - string(8) "variable" - ["FUBAR_VARIABLE/foo"]=> - string(22) "variable with string 1" - ["foo/FUBAR_VARIABLE"]=> - string(22) "variable with string 2" - ["foo/FUBAR_VARIABLE/foo"]=> - string(22) "variable with string 3" - } - ["foo7"]=> - array(4) { - ["FUBAR_QUOTES_VARIABLE"]=> - string(17) "quoted variable 1" - ["FUBAR_QUOTES_VARIABLE/foo"]=> - string(17) "quoted variable 2" - ["foo/FUBAR_QUOTES_VARIABLE"]=> - string(17) "quoted variable 3" - ["foo/FUBAR_QUOTES_VARIABLE/foo"]=> - string(17) "quoted variable 4" - } - } - ["non value"]=> - array(4) { - ["novalue_option1"]=> - string(0) "" - ["novalue_option2"]=> - string(0) "" - ["novalue_option3"]=> - string(0) "" - ["novalue_option4"]=> - array(3) { - [0]=> - string(0) "" - [1]=> - string(0) "" - [2]=> - string(0) "" - } - } - ["Quoted strings and variables in sections"]=> - array(0) { - } - ["FUBAR_VARIABLE"]=> - array(0) { - } - ["FUBAR_VARIABLE/foo"]=> - array(0) { - } - ["foo/FUBAR_VARIABLE"]=> - array(0) { - } - ["foo/FUBAR_VARIABLE/foo"]=> - array(0) { - } - ["FUBAR_QUOTES_VARIABLE"]=> - array(0) { - } - ["FUBAR_QUOTES_VARIABLE/foo"]=> - array(0) { - } - ["foo/FUBAR_QUOTES_VARIABLE"]=> - array(0) { - } - ["foo/FUBAR_QUOTES_VARIABLE/foo"]=> - array(0) { - } - ["PATH=FUBAR_VARIABLE/no/quotes"]=> - array(0) { - } - ["PATH=FUBAR_VARIABLE/all/quoted"]=> - array(0) { - } - ["01"]=> - array(2) { - ["e"]=> - string(1) "e" - ["f"]=> - string(1) "f" - } - ["02"]=> - array(2) { - ["g"]=> - string(1) "g" - ["h"]=> - string(1) "h" - } - [1]=> - array(2) { - ["a"]=> - string(1) "a" - ["b"]=> - string(1) "b" - } - [2]=> - array(2) { - ["c"]=> - string(1) "c" - ["d"]=> - string(1) "d" - } - ["0815"]=> - array(1) { - ["bla"]=> - string(3) "bla" - } - ["bug #43923"]=> - array(3) { - ["curly1"]=> - string(1) "{" - ["curly2"]=> - string(1) "{" - ["curly3"]=> - string(1) "{" - } - ["bug #44019"]=> - array(6) { - ["concatenation_before"]=> - string(37) "this_is_test_constant+some_text_after" - ["concatenation_middle"]=> - string(54) "some_text_before+this_is_test_constant+some_text_after" - ["concatenation_after"]=> - string(38) "some_text_before+this_is_test_constant" - ["concatenation_nows_before"]=> - string(37) "this_is_test_constant+some_text_after" - ["concatenation_nows_middle"]=> - string(54) "some_text_before+this_is_test_constant+some_text_after" - ["concatenation_nows_after"]=> - string(38) "some_text_before+this_is_test_constant" - } - ["bug #43915"]=> - array(3) { - ["ini_with-hyphen"]=> - string(26) "with hyphen and underscore" - ["ini.with-hyphen"]=> - string(14) "dot and hyphen" - ["ini-with.hyphen"]=> - string(14) "hyphen and dot" - } -} -Done. ---UEXPECTF-- +--EXPECT-- array(25) { [u"basic"]=> array(15) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt diff -u php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt:1.4 php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt:1.5 --- php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt:1.4 Tue Feb 26 13:16:55 2008 +++ php-src/ext/standard/tests/general_functions/parse_ini_booleans.phpt Tue May 27 00:04:31 2008 @@ -10,64 +10,7 @@ echo "Done.\n"; ?> ---EXPECTF-- -array(3) { - ["error_reporting values"]=> - array(6) { - ["foo"]=> - string(7) "16383 8" - ["error_reporting"]=> - string(5) "16383" - ["error_reporting1"]=> - string(4) "4177" - ["error_reporting2"]=> - string(5) "16375" - ["error_reporting3"]=> - string(5) "16375" - ["error_reporting4"]=> - string(5) "16375" - } - ["true or false"]=> - array(8) { - ["bool_true"]=> - string(1) "1" - ["bool_yes"]=> - string(1) "1" - ["bool_on"]=> - string(1) "1" - ["bool_false"]=> - string(0) "" - ["bool_off"]=> - string(0) "" - ["bool_no"]=> - string(0) "" - ["bool_none"]=> - string(0) "" - ["bool_null"]=> - string(0) "" - } - ["strings"]=> - array(8) { - ["string_true"]=> - string(4) "true" - ["string_yes"]=> - string(4) " yes" - ["string_on"]=> - string(5) " on " - ["string_false"]=> - string(5) "false" - ["string_off"]=> - string(4) "Off " - ["string_no"]=> - string(4) "No " - ["string_none"]=> - string(5) " NoNe" - ["string_null"]=> - string(4) "NULl" - } -} -Done. ---UEXPECTF-- +--EXPECT-- array(3) { [u"error_reporting values"]=> array(6) { http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/parse_ini_file.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/parse_ini_file.phpt diff -u php-src/ext/standard/tests/general_functions/parse_ini_file.phpt:1.5 php-src/ext/standard/tests/general_functions/parse_ini_file.phpt:1.6 --- php-src/ext/standard/tests/general_functions/parse_ini_file.phpt:1.5 Tue Apr 8 12:32:51 2008 +++ php-src/ext/standard/tests/general_functions/parse_ini_file.phpt Tue May 27 00:04:31 2008 @@ -97,93 +97,7 @@ @unlink($filename); echo "Done\n"; ?> ---EXPECTF-- -Warning: parse_ini_file() expects at least 1 parameter, 0 given in %sparse_ini_file.php on line 6 -bool(false) - -Warning: parse_ini_file() expects at most 3 parameters, 4 given in %sparse_ini_file.php on line 7 -bool(false) - -Warning: parse_ini_file(%sparse_ini_file.dat): failed to open stream: No such file or directory in %sparse_ini_file.php on line 8 -array(0) { -} - -Warning: parse_ini_file(%sparse_ini_file.dat): failed to open stream: No such file or directory in %sparse_ini_file.php on line 9 -array(0) { -} -array(1) { - ["test"]=> - string(0) "" -} - -Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2 - in %sparse_ini_file.php on line 20 -array(1) { - ["test"]=> - string(0) "" -} - -Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2 - in %sparse_ini_file.php on line 26 -array(1) { - ["test"]=> - string(4) "test" -} -array(1) { - ["test"]=> - string(8) "new -line" -} -array(1) { - ["test"]=> - string(16) "test const value" -} -array(1) { - ["section"]=> - array(1) { - ["test"]=> - string(5) "hello" - } -} -array(1) { - ["test"]=> - string(5) "hello" -} -array(1) { - ["section.test"]=> - string(5) "hello" -} -array(1) { - ["section"]=> - array(1) { - ["section.test"]=> - string(5) "hello" - } -} -array(1) { - ["section"]=> - array(1) { - [1]=> - string(1) "2" - } -} -array(1) { - [1]=> - string(1) "2" -} -array(1) { - ["test"]=> - string(5) "test4" -} -array(1) { - ["section1"]=> - array(1) { - ["name"]=> - string(5) "value" - } -} -Done ---UEXPECTF-- +--EXPECTF-- Warning: parse_ini_file() expects at least 1 parameter, 0 given in %sparse_ini_file.php on line 6 bool(false) @@ -202,14 +116,14 @@ unicode(0) "" } -Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2 +Warning: %s error%sin %sparse_ini_file.dat on line 2 in %sparse_ini_file.php on line 20 array(1) { [u"test"]=> unicode(0) "" } -Warning: syntax error, unexpected '=' in %sparse_ini_file.dat on line 2 +Warning: %serror%sin %sparse_ini_file.dat on line 2 in %sparse_ini_file.php on line 26 array(1) { [u"test"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/proc_open02.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/standard/tests/general_functions/proc_open02.phpt diff -u php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.5 php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.6 --- php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.5 Thu Feb 22 11:49:23 2007 +++ php-src/ext/standard/tests/general_functions/proc_open02.phpt Tue May 27 00:04:31 2008 @@ -33,46 +33,6 @@ --EXPECTF-- bool(true) array(8) { - ["command"]=> - string(28) "/usr/bin/nohup /bin/sleep 50" - ["pid"]=> - int(%d) - ["running"]=> - bool(true) - ["signaled"]=> - bool(false) - ["stopped"]=> - bool(false) - ["exitcode"]=> - int(-1) - ["termsig"]=> - int(0) - ["stopsig"]=> - int(0) -} -bool(true) -array(8) { - ["command"]=> - string(28) "/usr/bin/nohup /bin/sleep 50" - ["pid"]=> - int(%d) - ["running"]=> - bool(false) - ["signaled"]=> - bool(true) - ["stopped"]=> - bool(false) - ["exitcode"]=> - int(-1) - ["termsig"]=> - int(15) - ["stopsig"]=> - int(0) -} -Done! ---UEXPECTF-- -bool(true) -array(8) { [u"command"]=> unicode(28) "/usr/bin/nohup /bin/sleep 50" [u"pid"]=> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/putenv.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/putenv.phpt diff -u php-src/ext/standard/tests/general_functions/putenv.phpt:1.1 php-src/ext/standard/tests/general_functions/putenv.phpt:1.2 --- php-src/ext/standard/tests/general_functions/putenv.phpt:1.1 Tue Apr 17 20:33:45 2007 +++ php-src/ext/standard/tests/general_functions/putenv.phpt Tue May 27 00:04:31 2008 @@ -17,16 +17,7 @@ echo "Done\n"; ?> ---EXPECTF-- -bool(false) -bool(true) -string(5) "value" -bool(true) -string(0) "" -bool(true) -bool(false) -Done ---UEXPECTF-- +--EXPECTF-- bool(false) bool(true) unicode(5) "value" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/rand.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/rand.phpt diff -u php-src/ext/standard/tests/general_functions/rand.phpt:1.2 php-src/ext/standard/tests/general_functions/rand.phpt:1.3 --- php-src/ext/standard/tests/general_functions/rand.phpt:1.2 Thu Feb 28 15:28:00 2008 +++ php-src/ext/standard/tests/general_functions/rand.phpt Tue May 27 00:04:31 2008 @@ -29,7 +29,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- int(%d) Warning: mt_rand() expects exactly 2 parameters, 1 given in %s on line %d http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/strval.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/strval.phpt diff -u php-src/ext/standard/tests/general_functions/strval.phpt:1.4 php-src/ext/standard/tests/general_functions/strval.phpt:1.5 --- php-src/ext/standard/tests/general_functions/strval.phpt:1.4 Tue May 29 12:26:59 2007 +++ php-src/ext/standard/tests/general_functions/strval.phpt Tue May 27 00:04:31 2008 @@ -159,166 +159,6 @@ --EXPECTF-- *** Testing str_val() with scalar values*** -- Iteration 1 -- -string(1) "0" --- Iteration 2 -- -string(1) "1" --- Iteration 3 -- -string(2) "-1" --- Iteration 4 -- -string(11) "-2147483648" --- Iteration 5 -- -string(11) "-2147483647" --- Iteration 6 -- -string(10) "2147483647" --- Iteration 7 -- -string(10) "2147483640" --- Iteration 8 -- -string(4) "4667" --- Iteration 9 -- -string(4) "4779" --- Iteration 10 -- -string(4) "4095" --- Iteration 11 -- -string(3) "250" --- Iteration 12 -- -string(11) "-2147483648" --- Iteration 13 -- -string(10) "2147483647" --- Iteration 14 -- -string(10) "2147483647" --- Iteration 15 -- -string(2) "83" --- Iteration 16 -- -string(1) "1" --- Iteration 17 -- -string(11) "-2147483648" --- Iteration 18 -- -string(10) "2147483647" --- Iteration 19 -- -string(11) "-2147483649" --- Iteration 20 -- -string(10) "2147483648" --- Iteration 21 -- -string(11) "-2147483649" --- Iteration 22 -- -string(11) "34359738369" --- Iteration 23 -- -string(10) "2147483649" --- Iteration 24 -- -string(11) "-2147483649" --- Iteration 25 -- -string(1) "0" --- Iteration 26 -- -string(4) "-0.1" --- Iteration 27 -- -string(2) "10" --- Iteration 28 -- -string(7) "1050000" --- Iteration 29 -- -string(6) "1.0E-5" --- Iteration 30 -- -string(7) "5000000" --- Iteration 31 -- -string(7) "6.0E-20" --- Iteration 32 -- -string(7) "5.0E+42" --- Iteration 33 -- -string(7) "3.4E-33" --- Iteration 34 -- -string(1) "1" --- Iteration 35 -- -string(1) "1" --- Iteration 36 -- -string(0) "" --- Iteration 37 -- -string(0) "" --- Iteration 38 -- -string(0) "" --- Iteration 39 -- -string(0) "" --- Iteration 40 -- -string(1) " " --- Iteration 41 -- -string(1) " " --- Iteration 42 -- -string(1) "0" --- Iteration 43 -- -string(1) "0" --- Iteration 44 -- -string(7) "testing" --- Iteration 45 -- -string(5) "0x564" --- Iteration 46 -- -string(4) "0123" --- Iteration 47 -- -string(4) "new -" --- Iteration 48 -- -string(5) "new\n" --- Iteration 49 -- -string(11) "@#$$%^&&*()" --- Iteration 50 -- -string(8) " " --- Iteration 51 -- -string(4) "null" --- Iteration 52 -- -string(4) "null" --- Iteration 53 -- -string(4) "true" --- Iteration 54 -- -string(4) "true" --- Iteration 55 -- -string(54) "This is a multiline heredoc -string. Numeric = 1232455." --- Iteration 56 -- -string(10) "12345 -2345" --- Iteration 57 -- -string(0) "" - -*** Testing strval() with non_scalar values *** --- Iteration 1 -- -string(6) "Object" --- Iteration 2 -- -string(14) "Resource id #%d" --- Iteration 3 -- -string(14) "Resource id #%d" --- Iteration 4 -- - -Notice: Array to string conversion in %s on line %d -string(5) "Array" --- Iteration 5 -- - -Notice: Array to string conversion in %s on line %d -string(5) "Array" --- Iteration 6 -- - -Notice: Array to string conversion in %s on line %d -string(5) "Array" --- Iteration 7 -- - -Notice: Array to string conversion in %s on line %d -string(5) "Array" --- Iteration 8 -- -string(0) "" --- Iteration 9 -- -string(0) "" --- Iteration 10 -- -string(0) "" --- Iteration 11 -- -string(0) "" - -*** Testing error conditions *** - -Warning: Wrong parameter count for strval() in %s on line %d -NULL - -Warning: Wrong parameter count for strval() in %s on line %d -NULL -Done ---UEXPECTF-- -*** Testing str_val() with scalar values*** --- Iteration 1 -- unicode(1) "0" -- Iteration 2 -- unicode(1) "1" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt diff -u php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt:1.2 php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt:1.3 --- php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt:1.2 Thu Nov 16 13:49:01 2006 +++ php-src/ext/standard/tests/general_functions/sys_getloadavg.phpt Tue May 27 00:04:31 2008 @@ -12,7 +12,7 @@ echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- array(3) { [0]=> float(%f) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/type.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/general_functions/type.phpt diff -u php-src/ext/standard/tests/general_functions/type.phpt:1.1 php-src/ext/standard/tests/general_functions/type.phpt:1.2 --- php-src/ext/standard/tests/general_functions/type.phpt:1.1 Wed Nov 15 17:28:56 2006 +++ php-src/ext/standard/tests/general_functions/type.phpt Tue May 27 00:04:31 2008 @@ -54,302 +54,7 @@ echo "Done\n"; ?> ---EXPECTF-- -string(5) "array" -string(6) "string" -string(5) "array" -string(7) "integer" -string(6) "double" -string(4) "NULL" -string(7) "boolean" -string(6) "string" -string(12) "unknown type" -string(8) "resource" -string(6) "object" -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -NULL -bool(true) -int(1) -bool(true) -int(0) -bool(true) -int(1) -bool(true) -int(1) -bool(true) -int(2) -bool(true) -int(0) -bool(true) -int(0) -bool(true) -int(0) -bool(true) -int(%d) -bool(true) -int(%d) -string(54) "Object of class stdClass could not be converted to int" -bool(true) -int(%d) -bool(true) -float(1) -bool(true) -float(0) -bool(true) -float(1) -bool(true) -float(1) -bool(true) -float(2) -bool(true) -float(0) -bool(true) -float(0) -bool(true) -float(0) -bool(true) -float(%d) -bool(true) -float(%d) -string(57) "Object of class stdClass could not be converted to double" -bool(true) -float(%d) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(false) -bool(true) -bool(false) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -bool(true) -string(42) "settype(): Cannot convert to resource type" -bool(false) -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -string(42) "settype(): Cannot convert to resource type" -bool(false) -string(14) "another string" -string(42) "settype(): Cannot convert to resource type" -bool(false) -array(3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -string(42) "settype(): Cannot convert to resource type" -bool(false) -int(1) -string(42) "settype(): Cannot convert to resource type" -bool(false) -float(2) -string(42) "settype(): Cannot convert to resource type" -bool(false) -NULL -string(42) "settype(): Cannot convert to resource type" -bool(false) -bool(false) -string(42) "settype(): Cannot convert to resource type" -bool(false) -string(11) "some string" -string(42) "settype(): Cannot convert to resource type" -bool(false) -resource(%d) of type (Unknown) -string(42) "settype(): Cannot convert to resource type" -bool(false) -resource(%d) of type (stream) -string(42) "settype(): Cannot convert to resource type" -bool(false) -object(stdClass)#%d (0) { -} -bool(true) -array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -bool(true) -array(1) { - [0]=> - string(14) "another string" -} -bool(true) -array(3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -bool(true) -array(1) { - [0]=> - int(1) -} -bool(true) -array(1) { - [0]=> - float(2) -} -bool(true) -array(0) { -} -bool(true) -array(1) { - [0]=> - bool(false) -} -bool(true) -array(1) { - [0]=> - string(11) "some string" -} -bool(true) -array(1) { - [0]=> - resource(%d) of type (Unknown) -} -bool(true) -array(1) { - [0]=> - resource(%d) of type (stream) -} -bool(true) -array(0) { -} -bool(true) -object(stdClass)#%d (3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - string(14) "another string" -} -bool(true) -object(stdClass)#%d (3) { - [0]=> - int(2) - [1]=> - int(3) - [2]=> - int(4) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - int(1) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - float(2) -} -bool(true) -object(stdClass)#%d (0) { -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - bool(false) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - string(11) "some string" -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - resource(%d) of type (Unknown) -} -bool(true) -object(stdClass)#%d (1) { - ["scalar"]=> - resource(%d) of type (stream) -} -bool(true) -object(stdClass)#%d (0) { -} -string(26) "Array to string conversion" -bool(true) -string(5) "Array" -bool(true) -string(14) "another string" -string(26) "Array to string conversion" -bool(true) -string(5) "Array" -bool(true) -string(1) "1" -bool(true) -string(1) "2" -bool(true) -string(0) "" -bool(true) -string(0) "" -bool(true) -string(11) "some string" -bool(true) -string(14) "Resource id #%d" -bool(true) -string(14) "Resource id #%d" -string(57) "Object of class stdClass could not be converted to string" -string(45) "Object of class stdClass to string conversion" -bool(true) -string(6) "Object" -Done ---UEXPECTF-- +--EXPECTF-- unicode(5) "array" unicode(7) "unicode" unicode(5) "array" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/var_dump.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/general_functions/var_dump.phpt diff -u php-src/ext/standard/tests/general_functions/var_dump.phpt:1.3 php-src/ext/standard/tests/general_functions/var_dump.phpt:1.4 --- php-src/ext/standard/tests/general_functions/var_dump.phpt:1.3 Mon May 14 13:05:28 2007 +++ php-src/ext/standard/tests/general_functions/var_dump.phpt Tue May 27 00:04:31 2008 @@ -434,1624 +434,6 @@ *** Testing var_dump() on string variables *** -- Iteration 1 -- -string(0) "" --- Iteration 2 -- -string(0) "" --- Iteration 3 -- -string(1) " " --- Iteration 4 -- -string(1) " " --- Iteration 5 -- -string(1) "0" --- Iteration 6 -- -string(1) "--- Iteration 7 -- -string(2) "\0" --- Iteration 8 -- -string(1) " " --- Iteration 9 -- -string(2) "\t" --- Iteration 10 -- -string(3) "PHP" --- Iteration 11 -- -string(3) "PHP" --- Iteration 12 -- -string(29) "abcd--- Iteration 13 -- -string(34) "abcd--- Iteration 14 -- -string(22) "1234 -5678 - 9100abcda" - -*** Testing var_dump() on boolean variables *** --- Iteration 1 -- -bool(true) --- Iteration 2 -- -bool(false) --- Iteration 3 -- -bool(true) --- Iteration 4 -- -bool(false) - -*** Testing var_dump() on array variables *** --- Iteration 1 -- -array(0) { -} --- Iteration 2 -- -array(1) { - [0]=> - NULL -} --- Iteration 3 -- -array(1) { - [0]=> - NULL -} --- Iteration 4 -- -array(1) { - [0]=> - bool(true) -} --- Iteration 5 -- -array(1) { - [0]=> - string(0) "" -} --- Iteration 6 -- -array(1) { - [0]=> - string(0) "" -} --- Iteration 7 -- -array(2) { - [0]=> - array(0) { - } - [1]=> - array(0) { - } -} --- Iteration 8 -- -array(2) { - [0]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } - [1]=> - array(2) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - } -} --- Iteration 9 -- -array(1) { - [1]=> - string(3) "One" -} --- Iteration 10 -- -array(1) { - ["test"]=> - string(8) "is_array" -} --- Iteration 11 -- -array(1) { - [0]=> - int(0) -} --- Iteration 12 -- -array(1) { - [0]=> - int(-1) -} --- Iteration 13 -- -array(2) { - [0]=> - float(10.5) - [1]=> - float(5.6) -} --- Iteration 14 -- -array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" -} --- Iteration 15 -- -array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" -} - -*** Testing var_dump() on object variables *** --- Iteration 1 -- -object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 2 -- -object(no_member_class)#%d (0) { -} --- Iteration 3 -- -object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 4 -- -object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 5 -- -object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 6 -- -object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 7 -- -object(no_member_class)#%d (0) { -} --- Iteration 8 -- -object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 9 -- -NULL - -** Testing var_dump() on objects having circular reference ** -object(object_class)#%d (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#%d (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#%d (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#%d (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - *RECURSION* - } - } - } -} - -*** Testing var_dump() on resources *** --- Iteration 1 -- -resource(%d) of type (stream) --- Iteration 2 -- -resource(%d) of type (stream) - -*** Testing var_dump() on different combinations of scalar - and non-scalar variables *** --- Iteration 1 -- -array(3) { - [0]=> - int(123) - [1]=> - float(-1.2345) - [2]=> - string(1) "a" -} --- Iteration 2 -- -array(4) { - [0]=> - string(1) "d" - [1]=> - array(3) { - [0]=> - int(1) - [1]=> - int(3) - [2]=> - int(5) - } - [2]=> - bool(true) - [3]=> - NULL -} --- Iteration 3 -- -array(4) { - [0]=> - object(no_member_class)#%d (0) { - } - [1]=> - array(0) { - } - [2]=> - bool(false) - [3]=> - int(0) -} --- Iteration 4 -- -array(6) { - [0]=> - float(0) - [1]=> - string(11) "Where am I?" - [2]=> - array(3) { - [0]=> - int(7) - [1]=> - int(8) - [2]=> - int(9) - } - [3]=> - bool(true) - [4]=> - string(1) "A" - [5]=> - int(987654321) -} --- Iteration 5 -- -array(4) { - [0]=> - NULL - [1]=> - float(20000000000) - [2]=> - float(79.1) - [3]=> - float(4.599998) -} --- Iteration 6 -- -array(4) { - [0]=> - string(27) "array(1,2,3,4)1.0000002TRUE" - [1]=> - NULL - [2]=> - float(4611333) - [3]=> - string(5) "/00\7" -} - -*** Testing var_dump() on miscelleneous input arguments *** --- Iteration 1 -- -NULL --- Iteration 2 -- -NULL --- Iteration 3 -- -NULL --- Iteration 4 -- -NULL - -*** Testing var_dump() on multiple arguments *** -array(15) { - [0]=> - int(0) - [1]=> - int(83) - [2]=> - int(123000000) - [3]=> - int(-83) - [4]=> - int(-12300000) - [5]=> - array(10) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) - [4]=> - int(5) - [5]=> - int(6) - [6]=> - int(7) - [7]=> - int(8) - [8]=> - int(9) - [9]=> - int(10) - } - [6]=> - array(10) { - [0]=> - int(-1) - [1]=> - int(-2) - [2]=> - int(-3) - [3]=> - int(-4) - [4]=> - int(-5) - [5]=> - int(-6) - [6]=> - int(-7) - [7]=> - int(-8) - [8]=> - int(-9) - [9]=> - int(-10) - } - [7]=> - int(2147483647) - [8]=> - float(2147483648) - [9]=> - float(-2147483648) - [10]=> - int(-2147483647) - [11]=> - int(2147483647) - [12]=> - float(-2147483648) - [13]=> - int(2147483647) - [14]=> - float(-2147483648) -} -array(32) { - [0]=> - float(0) - [1]=> - float(0) - [2]=> - float(1.234) - [3]=> - float(-1.234) - [4]=> - float(-2) - [5]=> - float(2) - [6]=> - float(-0.5) - [7]=> - float(0.567) - [8]=> - float(-0.00067) - [9]=> - float(-670) - [10]=> - float(670) - [11]=> - float(670) - [12]=> - float(-0.00410003) - [13]=> - float(-4100.03) - [14]=> - float(0.004100003) - [15]=> - float(4100.003) - [16]=> - float(100000) - [17]=> - float(-100000) - [18]=> - float(1.0E-5) - [19]=> - float(-1.0E-5) - [20]=> - float(100000) - [21]=> - float(-100000) - [22]=> - float(100000) - [23]=> - float(-100000) - [24]=> - float(100000) - [25]=> - float(-100000) - [26]=> - float(1.0E-5) - [27]=> - float(-1.0E-5) - [28]=> - float(-2147483649) - [29]=> - float(2147483649) - [30]=> - float(2147483649) - [31]=> - float(-2147483649) -} -array(14) { - [0]=> - string(0) "" - [1]=> - string(0) "" - [2]=> - string(1) " " - [3]=> - string(1) " " - [4]=> - string(1) "0" - [5]=> - string(1) "- [6]=> - string(2) "\0" - [7]=> - string(1) " " - [8]=> - string(2) "\t" - [9]=> - string(3) "PHP" - [10]=> - string(3) "PHP" - [11]=> - string(29) "abcd- [12]=> - string(34) "abcd- [13]=> - string(22) "1234 -5678 - 9100abcda" -} -array(15) { - [0]=> - array(0) { - } - [1]=> - array(1) { - [0]=> - NULL - } - [2]=> - array(1) { - [0]=> - NULL - } - [3]=> - array(1) { - [0]=> - bool(true) - } - [4]=> - array(1) { - [0]=> - string(0) "" - } - [5]=> - array(1) { - [0]=> - string(0) "" - } - [6]=> - array(2) { - [0]=> - array(0) { - } - [1]=> - array(0) { - } - } - [7]=> - array(2) { - [0]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } - [1]=> - array(2) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - } - } - [8]=> - array(1) { - [1]=> - string(3) "One" - } - [9]=> - array(1) { - ["test"]=> - string(8) "is_array" - } - [10]=> - array(1) { - [0]=> - int(0) - } - [11]=> - array(1) { - [0]=> - int(-1) - } - [12]=> - array(2) { - [0]=> - float(10.5) - [1]=> - float(5.6) - } - [13]=> - array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" - } - [14]=> - array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" - } -} -array(4) { - [0]=> - bool(true) - [1]=> - bool(false) - [2]=> - bool(true) - [3]=> - bool(false) -} -array(2) { - [0]=> - resource(%d) of type (stream) - [1]=> - resource(%d) of type (stream) -} -array(9) { - [0]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [1]=> - object(no_member_class)#%d (0) { - } - [2]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - *RECURSION* - } - } - [3]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - object(contains_object_class)#%d (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#%d (0) { - } - ["class_object5"]=> - *RECURSION* - } - } - [4]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [5]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [6]=> - object(no_member_class)#%d (0) { - } - [7]=> - object(object_class)#%d (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [8]=> - NULL -} -array(4) { - [0]=> - NULL - [1]=> - NULL - [2]=> - NULL - [3]=> - NULL -} -array(6) { - [0]=> - array(3) { - [0]=> - int(123) - [1]=> - float(-1.2345) - [2]=> - string(1) "a" - } - [1]=> - array(4) { - [0]=> - string(1) "d" - [1]=> - array(3) { - [0]=> - int(1) - [1]=> - int(3) - [2]=> - int(5) - } - [2]=> - bool(true) - [3]=> - NULL - } - [2]=> - array(4) { - [0]=> - object(no_member_class)#%d (0) { - } - [1]=> - array(0) { - } - [2]=> - bool(false) - [3]=> - int(0) - } - [3]=> - array(6) { - [0]=> - float(0) - [1]=> - string(11) "Where am I?" - [2]=> - array(3) { - [0]=> - int(7) - [1]=> - int(8) - [2]=> - int(9) - } - [3]=> - bool(true) - [4]=> - string(1) "A" - [5]=> - int(987654321) - } - [4]=> - array(4) { - [0]=> - NULL - [1]=> - float(20000000000) - [2]=> - float(79.1) - [3]=> - float(4.599998) - } - [5]=> - array(4) { - [0]=> - string(27) "array(1,2,3,4)1.0000002TRUE" - [1]=> - NULL - [2]=> - float(4611333) - [3]=> - string(5) "/00\7" - } -} - -*** Testing var_dump() on anonymous functions *** -New anonymous function: -string(9) "2 * 3 = 6" -string(9) "- -*** Testing error conditions *** - -Warning: Wrong parameter count for var_dump() in %s on line %d -Done ---UEXPECTF-- -*** Testing var_dump() on integer variables *** --- Iteration 1 -- -int(0) --- Iteration 2 -- -int(83) --- Iteration 3 -- -int(123000000) --- Iteration 4 -- -int(-83) --- Iteration 5 -- -int(-12300000) --- Iteration 6 -- -array(10) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) - [4]=> - int(5) - [5]=> - int(6) - [6]=> - int(7) - [7]=> - int(8) - [8]=> - int(9) - [9]=> - int(10) -} --- Iteration 7 -- -array(10) { - [0]=> - int(-1) - [1]=> - int(-2) - [2]=> - int(-3) - [3]=> - int(-4) - [4]=> - int(-5) - [5]=> - int(-6) - [6]=> - int(-7) - [7]=> - int(-8) - [8]=> - int(-9) - [9]=> - int(-10) -} --- Iteration 8 -- -int(2147483647) --- Iteration 9 -- -float(2147483648) --- Iteration 10 -- -float(-2147483648) --- Iteration 11 -- -int(-2147483647) --- Iteration 12 -- -int(2147483647) --- Iteration 13 -- -float(-2147483648) --- Iteration 14 -- -int(2147483647) --- Iteration 15 -- -float(-2147483648) - -*** Testing var_dump() on float variables *** --- Iteration 1 -- -float(0) --- Iteration 2 -- -float(0) --- Iteration 3 -- -float(1.234) --- Iteration 4 -- -float(-1.234) --- Iteration 5 -- -float(-2) --- Iteration 6 -- -float(2) --- Iteration 7 -- -float(-0.5) --- Iteration 8 -- -float(0.567) --- Iteration 9 -- -float(-0.00067) --- Iteration 10 -- -float(-670) --- Iteration 11 -- -float(670) --- Iteration 12 -- -float(670) --- Iteration 13 -- -float(-0.00410003) --- Iteration 14 -- -float(-4100.03) --- Iteration 15 -- -float(0.004100003) --- Iteration 16 -- -float(4100.003) --- Iteration 17 -- -float(100000) --- Iteration 18 -- -float(-100000) --- Iteration 19 -- -float(1.0E-5) --- Iteration 20 -- -float(-1.0E-5) --- Iteration 21 -- -float(100000) --- Iteration 22 -- -float(-100000) --- Iteration 23 -- -float(100000) --- Iteration 24 -- -float(-100000) --- Iteration 25 -- -float(100000) --- Iteration 26 -- -float(-100000) --- Iteration 27 -- -float(1.0E-5) --- Iteration 28 -- -float(-1.0E-5) --- Iteration 29 -- -float(-2147483649) --- Iteration 30 -- -float(2147483649) --- Iteration 31 -- -float(2147483649) --- Iteration 32 -- -float(-2147483649) - -*** Testing var_dump() on string variables *** --- Iteration 1 -- unicode(0) "" -- Iteration 2 -- unicode(0) "" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt diff -u php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt:1.2 php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt:1.3 --- php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt:1.2 Tue May 29 12:42:19 2007 +++ php-src/ext/standard/tests/general_functions/var_dump_64bit.phpt Tue May 27 00:04:31 2008 @@ -434,1624 +434,6 @@ *** Testing var_dump() on string variables *** -- Iteration 1 -- -string(0) "" --- Iteration 2 -- -string(0) "" --- Iteration 3 -- -string(1) " " --- Iteration 4 -- -string(1) " " --- Iteration 5 -- -string(1) "0" --- Iteration 6 -- -string(1) "--- Iteration 7 -- -string(2) "\0" --- Iteration 8 -- -string(1) " " --- Iteration 9 -- -string(2) "\t" --- Iteration 10 -- -string(3) "PHP" --- Iteration 11 -- -string(3) "PHP" --- Iteration 12 -- -string(29) "abcd--- Iteration 13 -- -string(34) "abcd--- Iteration 14 -- -string(22) "1234 -5678 - 9100abcda" - -*** Testing var_dump() on boolean variables *** --- Iteration 1 -- -bool(true) --- Iteration 2 -- -bool(false) --- Iteration 3 -- -bool(true) --- Iteration 4 -- -bool(false) - -*** Testing var_dump() on array variables *** --- Iteration 1 -- -array(0) { -} --- Iteration 2 -- -array(1) { - [0]=> - NULL -} --- Iteration 3 -- -array(1) { - [0]=> - NULL -} --- Iteration 4 -- -array(1) { - [0]=> - bool(true) -} --- Iteration 5 -- -array(1) { - [0]=> - string(0) "" -} --- Iteration 6 -- -array(1) { - [0]=> - string(0) "" -} --- Iteration 7 -- -array(2) { - [0]=> - array(0) { - } - [1]=> - array(0) { - } -} --- Iteration 8 -- -array(2) { - [0]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } - [1]=> - array(2) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - } -} --- Iteration 9 -- -array(1) { - [1]=> - string(3) "One" -} --- Iteration 10 -- -array(1) { - ["test"]=> - string(8) "is_array" -} --- Iteration 11 -- -array(1) { - [0]=> - int(0) -} --- Iteration 12 -- -array(1) { - [0]=> - int(-1) -} --- Iteration 13 -- -array(2) { - [0]=> - float(10.5) - [1]=> - float(5.6) -} --- Iteration 14 -- -array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" -} --- Iteration 15 -- -array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" -} - -*** Testing var_dump() on object variables *** --- Iteration 1 -- -object(object_class)#6 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 2 -- -object(no_member_class)#7 (0) { -} --- Iteration 3 -- -object(contains_object_class)#8 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#11 (0) { - } - ["class_object5"]=> - object(contains_object_class)#8 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#11 (0) { - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 4 -- -object(contains_object_class)#1 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#4 (0) { - } - ["class_object5"]=> - object(contains_object_class)#1 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#4 (0) { - } - ["class_object5"]=> - *RECURSION* - } -} --- Iteration 5 -- -object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 6 -- -object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 7 -- -object(no_member_class)#4 (0) { -} --- Iteration 8 -- -object(object_class)#5 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) -} --- Iteration 9 -- -NULL - -** Testing var_dump() on objects having circular reference ** -object(object_class)#13 (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#12 (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#13 (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - &object(object_class)#12 (8) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - ["obj"]=> - *RECURSION* - } - } - } -} - -*** Testing var_dump() on resources *** --- Iteration 1 -- -resource(5) of type (stream) --- Iteration 2 -- -resource(6) of type (stream) - -*** Testing var_dump() on different combinations of scalar - and non-scalar variables *** --- Iteration 1 -- -array(3) { - [0]=> - int(123) - [1]=> - float(-1.2345) - [2]=> - string(1) "a" -} --- Iteration 2 -- -array(4) { - [0]=> - string(1) "d" - [1]=> - array(3) { - [0]=> - int(1) - [1]=> - int(3) - [2]=> - int(5) - } - [2]=> - bool(true) - [3]=> - NULL -} --- Iteration 3 -- -array(4) { - [0]=> - object(no_member_class)#14 (0) { - } - [1]=> - array(0) { - } - [2]=> - bool(false) - [3]=> - int(0) -} --- Iteration 4 -- -array(6) { - [0]=> - float(0) - [1]=> - string(11) "Where am I?" - [2]=> - array(3) { - [0]=> - int(7) - [1]=> - int(8) - [2]=> - int(9) - } - [3]=> - bool(true) - [4]=> - string(1) "A" - [5]=> - int(987654321) -} --- Iteration 5 -- -array(4) { - [0]=> - NULL - [1]=> - float(20000000000) - [2]=> - float(79.1) - [3]=> - float(4.599998) -} --- Iteration 6 -- -array(4) { - [0]=> - string(27) "array(1,2,3,4)1.0000002TRUE" - [1]=> - NULL - [2]=> - float(4611333) - [3]=> - string(5) "/00\7" -} - -*** Testing var_dump() on miscelleneous input arguments *** --- Iteration 1 -- -NULL --- Iteration 2 -- -NULL --- Iteration 3 -- -NULL --- Iteration 4 -- -NULL - -*** Testing var_dump() on multiple arguments *** -array(15) { - [0]=> - int(0) - [1]=> - int(83) - [2]=> - int(123000000) - [3]=> - int(-83) - [4]=> - int(-12300000) - [5]=> - array(10) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) - [4]=> - int(5) - [5]=> - int(6) - [6]=> - int(7) - [7]=> - int(8) - [8]=> - int(9) - [9]=> - int(10) - } - [6]=> - array(10) { - [0]=> - int(-1) - [1]=> - int(-2) - [2]=> - int(-3) - [3]=> - int(-4) - [4]=> - int(-5) - [5]=> - int(-6) - [6]=> - int(-7) - [7]=> - int(-8) - [8]=> - int(-9) - [9]=> - int(-10) - } - [7]=> - int(2147483647) - [8]=> - int(2147483648) - [9]=> - int(-2147483648) - [10]=> - int(-2147483647) - [11]=> - int(2147483647) - [12]=> - int(-2147483648) - [13]=> - int(2147483647) - [14]=> - int(-2147483648) -} -array(32) { - [0]=> - float(0) - [1]=> - float(0) - [2]=> - float(1.234) - [3]=> - float(-1.234) - [4]=> - float(-2) - [5]=> - float(2) - [6]=> - float(-0.5) - [7]=> - float(0.567) - [8]=> - float(-0.00067) - [9]=> - float(-670) - [10]=> - float(670) - [11]=> - float(670) - [12]=> - float(-0.00410003) - [13]=> - float(-4100.03) - [14]=> - float(0.004100003) - [15]=> - float(4100.003) - [16]=> - float(100000) - [17]=> - float(-100000) - [18]=> - float(1.0E-5) - [19]=> - float(-1.0E-5) - [20]=> - float(100000) - [21]=> - float(-100000) - [22]=> - float(100000) - [23]=> - float(-100000) - [24]=> - float(100000) - [25]=> - float(-100000) - [26]=> - float(1.0E-5) - [27]=> - float(-1.0E-5) - [28]=> - int(-2147483649) - [29]=> - int(2147483649) - [30]=> - int(2147483649) - [31]=> - int(-2147483649) -} -array(14) { - [0]=> - string(0) "" - [1]=> - string(0) "" - [2]=> - string(1) " " - [3]=> - string(1) " " - [4]=> - string(1) "0" - [5]=> - string(1) "- [6]=> - string(2) "\0" - [7]=> - string(1) " " - [8]=> - string(2) "\t" - [9]=> - string(3) "PHP" - [10]=> - string(3) "PHP" - [11]=> - string(29) "abcd- [12]=> - string(34) "abcd- [13]=> - string(22) "1234 -5678 - 9100abcda" -} -array(15) { - [0]=> - array(0) { - } - [1]=> - array(1) { - [0]=> - NULL - } - [2]=> - array(1) { - [0]=> - NULL - } - [3]=> - array(1) { - [0]=> - bool(true) - } - [4]=> - array(1) { - [0]=> - string(0) "" - } - [5]=> - array(1) { - [0]=> - string(0) "" - } - [6]=> - array(2) { - [0]=> - array(0) { - } - [1]=> - array(0) { - } - } - [7]=> - array(2) { - [0]=> - array(2) { - [0]=> - int(1) - [1]=> - int(2) - } - [1]=> - array(2) { - [0]=> - string(1) "a" - [1]=> - string(1) "b" - } - } - [8]=> - array(1) { - [1]=> - string(3) "One" - } - [9]=> - array(1) { - ["test"]=> - string(8) "is_array" - } - [10]=> - array(1) { - [0]=> - int(0) - } - [11]=> - array(1) { - [0]=> - int(-1) - } - [12]=> - array(2) { - [0]=> - float(10.5) - [1]=> - float(5.6) - } - [13]=> - array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" - } - [14]=> - array(2) { - [0]=> - string(6) "string" - [1]=> - string(4) "test" - } -} -array(4) { - [0]=> - bool(true) - [1]=> - bool(false) - [2]=> - bool(true) - [3]=> - bool(false) -} -array(2) { - [0]=> - resource(5) of type (stream) - [1]=> - resource(6) of type (stream) -} -array(9) { - [0]=> - object(object_class)#6 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [1]=> - object(no_member_class)#7 (0) { - } - [2]=> - object(contains_object_class)#8 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#11 (0) { - } - ["class_object5"]=> - object(contains_object_class)#8 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#9 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#10 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#11 (0) { - } - ["class_object5"]=> - *RECURSION* - } - } - [3]=> - object(contains_object_class)#1 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#4 (0) { - } - ["class_object5"]=> - object(contains_object_class)#1 (7) { - ["p"]=> - int(30) - ["class_object1"]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object2"]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object3":"contains_object_class":private]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["class_object4":protected]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - ["no_member_class_object"]=> - object(no_member_class)#4 (0) { - } - ["class_object5"]=> - *RECURSION* - } - } - [4]=> - object(object_class)#2 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [5]=> - object(object_class)#3 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [6]=> - object(no_member_class)#4 (0) { - } - [7]=> - object(object_class)#5 (7) { - ["value"]=> - int(50) - ["public_var1"]=> - int(10) - ["private_var1":"object_class":private]=> - int(20) - ["private_var2":"object_class":private]=> - int(21) - ["protected_var1":protected]=> - string(8) "string_1" - ["protected_var2":protected]=> - string(8) "string_2" - ["public_var2"]=> - int(11) - } - [8]=> - NULL -} -array(4) { - [0]=> - NULL - [1]=> - NULL - [2]=> - NULL - [3]=> - NULL -} -array(6) { - [0]=> - array(3) { - [0]=> - int(123) - [1]=> - float(-1.2345) - [2]=> - string(1) "a" - } - [1]=> - array(4) { - [0]=> - string(1) "d" - [1]=> - array(3) { - [0]=> - int(1) - [1]=> - int(3) - [2]=> - int(5) - } - [2]=> - bool(true) - [3]=> - NULL - } - [2]=> - array(4) { - [0]=> - object(no_member_class)#14 (0) { - } - [1]=> - array(0) { - } - [2]=> - bool(false) - [3]=> - int(0) - } - [3]=> - array(6) { - [0]=> - float(0) - [1]=> - string(11) "Where am I?" - [2]=> - array(3) { - [0]=> - int(7) - [1]=> - int(8) - [2]=> - int(9) - } - [3]=> - bool(true) - [4]=> - string(1) "A" - [5]=> - int(987654321) - } - [4]=> - array(4) { - [0]=> - NULL - [1]=> - float(20000000000) - [2]=> - float(79.1) - [3]=> - float(4.599998) - } - [5]=> - array(4) { - [0]=> - string(27) "array(1,2,3,4)1.0000002TRUE" - [1]=> - NULL - [2]=> - float(4611333) - [3]=> - string(5) "/00\7" - } -} - -*** Testing var_dump() on anonymous functions *** -New anonymous function: -string(9) "2 * 3 = 6" -string(9) "- -*** Testing error conditions *** - -Warning: Wrong parameter count for var_dump() in %s on line %d -Done ---UEXPECTF-- -*** Testing var_dump() on integer variables *** --- Iteration 1 -- -int(0) --- Iteration 2 -- -int(83) --- Iteration 3 -- -int(123000000) --- Iteration 4 -- -int(-83) --- Iteration 5 -- -int(-12300000) --- Iteration 6 -- -array(10) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - [3]=> - int(4) - [4]=> - int(5) - [5]=> - int(6) - [6]=> - int(7) - [7]=> - int(8) - [8]=> - int(9) - [9]=> - int(10) -} --- Iteration 7 -- -array(10) { - [0]=> - int(-1) - [1]=> - int(-2) - [2]=> - int(-3) - [3]=> - int(-4) - [4]=> - int(-5) - [5]=> - int(-6) - [6]=> - int(-7) - [7]=> - int(-8) - [8]=> - int(-9) - [9]=> - int(-10) -} --- Iteration 8 -- -int(2147483647) --- Iteration 9 -- -int(2147483648) --- Iteration 10 -- -int(-2147483648) --- Iteration 11 -- -int(-2147483647) --- Iteration 12 -- -int(2147483647) --- Iteration 13 -- -int(-2147483648) --- Iteration 14 -- -int(2147483647) --- Iteration 15 -- -int(-2147483648) - -*** Testing var_dump() on float variables *** --- Iteration 1 -- -float(0) --- Iteration 2 -- -float(0) --- Iteration 3 -- -float(1.234) --- Iteration 4 -- -float(-1.234) --- Iteration 5 -- -float(-2) --- Iteration 6 -- -float(2) --- Iteration 7 -- -float(-0.5) --- Iteration 8 -- -float(0.567) --- Iteration 9 -- -float(-0.00067) --- Iteration 10 -- -float(-670) --- Iteration 11 -- -float(670) --- Iteration 12 -- -float(670) --- Iteration 13 -- -float(-0.00410003) --- Iteration 14 -- -float(-4100.03) --- Iteration 15 -- -float(0.004100003) --- Iteration 16 -- -float(4100.003) --- Iteration 17 -- -float(100000) --- Iteration 18 -- -float(-100000) --- Iteration 19 -- -float(1.0E-5) --- Iteration 20 -- -float(-1.0E-5) --- Iteration 21 -- -float(100000) --- Iteration 22 -- -float(-100000) --- Iteration 23 -- -float(100000) --- Iteration 24 -- -float(-100000) --- Iteration 25 -- -float(100000) --- Iteration 26 -- -float(-100000) --- Iteration 27 -- -float(1.0E-5) --- Iteration 28 -- -float(-1.0E-5) --- Iteration 29 -- -int(-2147483649) --- Iteration 30 -- -int(2147483649) --- Iteration 31 -- -int(2147483649) --- Iteration 32 -- -int(-2147483649) - -*** Testing var_dump() on string variables *** --- Iteration 1 -- unicode(0) "" -- Iteration 2 -- unicode(0) "" http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/var_export.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/general_functions/var_export.phpt diff -u php-src/ext/standard/tests/general_functions/var_export.phpt:1.4 php-src/ext/standard/tests/general_functions/var_export.phpt:1.5 --- php-src/ext/standard/tests/general_functions/var_export.phpt:1.4 Sun Dec 9 16:54:30 2007 +++ php-src/ext/standard/tests/general_functions/var_export.phpt Tue May 27 00:04:31 2008 @@ -594,767 +594,6 @@ Iteration 16 '' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and - and foreign chars too: blÃ¥bærøl' -'' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and - and foreign chars too: blÃ¥bærøl' -string(121) "'' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and - and foreign chars too: blÃ¥bærøl'" - -*** Testing var_export() with valid arrays *** - -*** Output for arrays *** - -Iteration 1 -array ( -) -array ( -) -string(9) "array ( -)" - - -Iteration 2 -array ( - 0 => NULL, -) -array ( - 0 => NULL, -) -string(22) "array ( - 0 => NULL, -)" - - -Iteration 3 -array ( - 0 => NULL, -) -array ( - 0 => NULL, -) -string(22) "array ( - 0 => NULL, -)" - - -Iteration 4 -array ( - 0 => true, -) -array ( - 0 => true, -) -string(22) "array ( - 0 => true, -)" - - -Iteration 5 -array ( - 0 => '', -) -array ( - 0 => '', -) -string(20) "array ( - 0 => '', -)" - - -Iteration 6 -array ( - 0 => '', -) -array ( - 0 => '', -) -string(20) "array ( - 0 => '', -)" - - -Iteration 7 -array ( - 0 => - array ( - ), - 1 => - array ( - ), -) -array ( - 0 => - array ( - ), - 1 => - array ( - ), -) -string(55) "array ( - 0 => - array ( - ), - 1 => - array ( - ), -)" - - -Iteration 8 -array ( - 0 => - array ( - 0 => 1, - 1 => 2, - ), - 1 => - array ( - 0 => 'a', - 1 => 'b', - ), -) -array ( - 0 => - array ( - 0 => 1, - 1 => 2, - ), - 1 => - array ( - 0 => 'a', - 1 => 'b', - ), -) -string(107) "array ( - 0 => - array ( - 0 => 1, - 1 => 2, - ), - 1 => - array ( - 0 => 'a', - 1 => 'b', - ), -)" - - -Iteration 9 -array ( - 1 => 'One', -) -array ( - 1 => 'One', -) -string(23) "array ( - 1 => 'One', -)" - - -Iteration 10 -array ( - 'test' => 'is_array', -) -array ( - 'test' => 'is_array', -) -string(33) "array ( - 'test' => 'is_array', -)" - - -Iteration 11 -array ( - 0 => 0, -) -array ( - 0 => 0, -) -string(19) "array ( - 0 => 0, -)" - - -Iteration 12 -array ( - 0 => -1, -) -array ( - 0 => -1, -) -string(20) "array ( - 0 => -1, -)" - - -Iteration 13 -array ( - 0 => 10.5, - 1 => 5.6, -) -array ( - 0 => 10.5, - 1 => 5.6, -) -string(34) "array ( - 0 => 10.5, - 1 => 5.6, -)" - - -Iteration 14 -array ( - 0 => 'string', - 1 => 'test', -) -array ( - 0 => 'string', - 1 => 'test', -) -string(41) "array ( - 0 => 'string', - 1 => 'test', -)" - - -Iteration 15 -array ( - 0 => 'string', - 1 => 'test', -) -array ( - 0 => 'string', - 1 => 'test', -) -string(41) "array ( - 0 => 'string', - 1 => 'test', -)" - -*** Testing var_export() with valid objects *** - -*** Output for objects *** - -Iteration 1 -stdClass::__set_state(array( -)) -stdClass::__set_state(array( -)) -string(31) "stdClass::__set_state(array( -))" - - -Iteration 2 -foo::__set_state(array( -)) -foo::__set_state(array( -)) -string(26) "foo::__set_state(array( -))" - - -Iteration 3 -concreteClass::__set_state(array( -)) -concreteClass::__set_state(array( -)) -string(36) "concreteClass::__set_state(array( -))" - - -Iteration 4 -Value::__set_state(array( - 'vars' => - array ( - ), -)) -Value::__set_state(array( - 'vars' => - array ( - ), -)) -string(57) "Value::__set_state(array( - 'vars' => - array ( - ), -))" - - -Iteration 5 -myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -)) -myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -)) -string(293) "myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -))" - - -Iteration 6 -myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -)) -myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -)) -string(293) "myClass::__set_state(array( - 'foo_object' => - foo::__set_state(array( - )), - 'public_var' => 10, - 'public_var1' => - foo::__set_state(array( - )), - 'private_var' => - foo::__set_state(array( - )), - 'protected_var' => NULL, - 'proected_var' => - foo::__set_state(array( - )), -))" - - -Iteration 7 -foo::__set_state(array( -)) -foo::__set_state(array( -)) -string(26) "foo::__set_state(array( -))" - - -Iteration 8 -foo::__set_state(array( -)) -foo::__set_state(array( -)) -string(26) "foo::__set_state(array( -))" - - -Iteration 9 -foo::__set_state(array( -)) -foo::__set_state(array( -)) -string(26) "foo::__set_state(array( -))" - - -Iteration 10 -Value::__set_state(array( - 'vars' => - array ( - ), -)) -Value::__set_state(array( - 'vars' => - array ( - ), -)) -string(57) "Value::__set_state(array( - 'vars' => - array ( - ), -))" - - -Iteration 11 -concreteClass::__set_state(array( -)) -concreteClass::__set_state(array( -)) -string(36) "concreteClass::__set_state(array( -))" - -*** Testing var_export() with valid null values *** - -*** Output for null values *** - -Iteration 1 -NULL -NULL -string(4) "NULL" - - -Iteration 2 -NULL -NULL -string(4) "NULL" - - -Iteration 3 -NULL -NULL -string(4) "NULL" - - -*** Tesing with binary input *** -'Sample_String' - -*** Testing error conditions *** - -Warning: var_export() expects at least 1 parameter, 0 given in %s on line %d -NULL -Warning: var_export() expects at most 2 parameters, 3 given in %s on line %d -NULL - -Done - ---UEXPECTF-- -*** Testing var_export() with integer values *** - -*** Output for integer values *** - -Iteration 1 -'0' -'0' -string(3) "'0'" - - -Iteration 2 -'1' -'1' -string(3) "'1'" - - -Iteration 3 -'-1' -'-1' -string(4) "'-1'" - - -Iteration 4 -'-2147483648' -'-2147483648' -string(13) "'-2147483648'" - - -Iteration 5 -'-2147483647' -'-2147483647' -string(13) "'-2147483647'" - - -Iteration 6 -2147483647 -2147483647 -string(10) "2147483647" - - -Iteration 7 -2147483640 -2147483640 -string(10) "2147483640" - - -Iteration 8 -4667 -4667 -string(4) "4667" - - -Iteration 9 -'0x12ab' -'0x12ab' -string(8) "'0x12ab'" - - -Iteration 10 -'0Xfff' -'0Xfff' -string(7) "'0Xfff'" - - -Iteration 11 -'0XFA' -'0XFA' -string(6) "'0XFA'" - - -Iteration 12 --2147483648 --2147483648 -string(11) "-2147483648" - - -Iteration 13 -'0x7fffffff' -'0x7fffffff' -string(12) "'0x7fffffff'" - - -Iteration 14 -2147483647 -2147483647 -string(10) "2147483647" - - -Iteration 15 -'0123' -'0123' -string(6) "'0123'" - - -Iteration 16 -1 -1 -string(1) "1" - - -Iteration 17 --2147483648 --2147483648 -string(11) "-2147483648" - - -Iteration 18 -2147483647 -2147483647 -string(10) "2147483647" - -*** Testing var_export() with valid boolean values *** - -*** Output for boolean values *** - -Iteration 1 -1 -1 -string(1) "1" - - -Iteration 2 -true -true -string(4) "true" - - -Iteration 3 -true -true -string(4) "true" - - -Iteration 4 -0 -0 -string(1) "0" - - -Iteration 5 -false -false -string(5) "false" - - -Iteration 6 -false -false -string(5) "false" - -*** Testing var_export() with valid float values *** - -*** Output for float values *** - -Iteration 1 -1 -1 -string(1) "1" - - -Iteration 2 -true -true -string(4) "true" - - -Iteration 3 -true -true -string(4) "true" - - -Iteration 4 -0 -0 -string(1) "0" - - -Iteration 5 -false -false -string(5) "false" - - -Iteration 6 -false -false -string(5) "false" - -*** Testing var_export() with valid strings *** - -*** Output for strings *** - -Iteration 1 -'' -'' -string(2) "''" - - -Iteration 2 -' ' -' ' -string(3) "' '" - - -Iteration 3 -'' -'' -string(2) "''" - - -Iteration 4 -' ' -' ' -string(3) "' '" - - -Iteration 5 -'string' -'string' -string(8) "'string'" - - -Iteration 6 -'string' -'string' -string(8) "'string'" - - -Iteration 7 -'NULL' -'NULL' -string(6) "'NULL'" - - -Iteration 8 -'null' -'null' -string(6) "'null'" - - -Iteration 9 -'FALSE' -'FALSE' -string(7) "'FALSE'" - - -Iteration 10 -'false' -'false' -string(7) "'false'" - - -Iteration 11 -'' -'' -string(3) "''" - - -Iteration 12 -'' . "\0" . '' -'' . "\0" . '' -string(14) "'' . "\0" . ''" - - -Iteration 13 -'\\0' -'\\0' -string(5) "'\\0'" - - -Iteration 14 -'\\060' -'\\060' -string(7) "'\\060'" - - -Iteration 15 -'8' -'8' -string(3) "'8'" - - -Iteration 16 -'' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and and foreign chars too: bl' . "\u00E5" . 'b' . "\u00E6" . 'r' . "\u00F8" . 'l' '' . "\0" . 'hello' . "\0" . 'this is an test, to work with \' and ' . "\0" . ' and and foreign chars too: bl' . "\u00E5" . 'b' . "\u00E6" . 'r' . "\u00F8" . 'l'