]> granicus.if.org Git - php/commitdiff
- killed off UEXPECT
authorSteph Fox <sfox@php.net>
Tue, 27 May 2008 00:04:31 +0000 (00:04 +0000)
committerSteph Fox <sfox@php.net>
Tue, 27 May 2008 00:04:31 +0000 (00:04 +0000)
- E_DEPRECATED doesn't always allow stuff to pass?

66 files changed:
ext/standard/tests/general_functions/005.phpt
ext/standard/tests/general_functions/008.phpt
ext/standard/tests/general_functions/bug27678.phpt
ext/standard/tests/general_functions/bug31190.phpt
ext/standard/tests/general_functions/bug34794.phpt
ext/standard/tests/general_functions/bug36011.phpt
ext/standard/tests/general_functions/bug39322.phpt
ext/standard/tests/general_functions/bug40398.phpt
ext/standard/tests/general_functions/bug40752.phpt
ext/standard/tests/general_functions/bug41037.phpt
ext/standard/tests/general_functions/bug41445.phpt
ext/standard/tests/general_functions/bug41445_1.phpt
ext/standard/tests/general_functions/bug41518.phpt
ext/standard/tests/general_functions/bug43293_1.phpt
ext/standard/tests/general_functions/bug43293_2.phpt
ext/standard/tests/general_functions/bug43293_3.phpt
ext/standard/tests/general_functions/bug44461.phpt
ext/standard/tests/general_functions/bug44667.phpt
ext/standard/tests/general_functions/call_user_func_return.phpt
ext/standard/tests/general_functions/debug_zval_dump_b.phpt
ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt
ext/standard/tests/general_functions/debug_zval_dump_o.phpt
ext/standard/tests/general_functions/debug_zval_dump_v.phpt
ext/standard/tests/general_functions/dl-cve-2007-4887.phpt
ext/standard/tests/general_functions/error_get_last.phpt
ext/standard/tests/general_functions/floatval.phpt
ext/standard/tests/general_functions/getopt.phpt
ext/standard/tests/general_functions/getopt_002.phpt
ext/standard/tests/general_functions/getopt_003.phpt
ext/standard/tests/general_functions/getopt_004.phpt
ext/standard/tests/general_functions/getopt_005.phpt
ext/standard/tests/general_functions/getrusage.phpt
ext/standard/tests/general_functions/gettype_settype_basic.phpt
ext/standard/tests/general_functions/gettype_settype_error.phpt
ext/standard/tests/general_functions/gettype_settype_variation1.phpt
ext/standard/tests/general_functions/gettype_settype_variation2.phpt
ext/standard/tests/general_functions/gettype_settype_variation3.phpt
ext/standard/tests/general_functions/gettype_settype_variation4.phpt
ext/standard/tests/general_functions/gettype_settype_variation5.phpt
ext/standard/tests/general_functions/gettype_settype_variation6.phpt
ext/standard/tests/general_functions/gettype_settype_variation7.phpt
ext/standard/tests/general_functions/gettype_settype_variation8.phpt
ext/standard/tests/general_functions/head.phpt
ext/standard/tests/general_functions/import_request.phpt
ext/standard/tests/general_functions/import_request1.phpt
ext/standard/tests/general_functions/import_request2.phpt
ext/standard/tests/general_functions/import_request3.phpt
ext/standard/tests/general_functions/include_path.phpt
ext/standard/tests/general_functions/ini_get_all.phpt
ext/standard/tests/general_functions/intval.phpt
ext/standard/tests/general_functions/is_bool.phpt
ext/standard/tests/general_functions/is_callable.phpt
ext/standard/tests/general_functions/is_int.phpt
ext/standard/tests/general_functions/is_null.phpt
ext/standard/tests/general_functions/parse_ini_basic.phpt
ext/standard/tests/general_functions/parse_ini_booleans.phpt
ext/standard/tests/general_functions/parse_ini_file.phpt
ext/standard/tests/general_functions/proc_open02.phpt
ext/standard/tests/general_functions/putenv.phpt
ext/standard/tests/general_functions/rand.phpt
ext/standard/tests/general_functions/strval.phpt
ext/standard/tests/general_functions/sys_getloadavg.phpt
ext/standard/tests/general_functions/type.phpt
ext/standard/tests/general_functions/var_dump.phpt
ext/standard/tests/general_functions/var_dump_64bit.phpt
ext/standard/tests/general_functions/var_export.phpt

index 027d124add72f626004076f92a7acb0035709d6a..fa90adf1b8d10901991ce327f14b2c83de3cd7a2 100644 (file)
@@ -21,4 +21,3 @@ bool(false)
 bool(false)
 bool(false)
 bool(false)
-
index 5b76e15f42e9fe57a22a29208c3f3f9464df9462..d021073ad8edff5f389da87fec32fd8cbd6fc4c9 100644 (file)
@@ -8,37 +8,6 @@ precision=12
 var_dump(array(ini_get('precision'),.012,-.012,.12,-.12,1.2,-1.2,12.,-12.,0.000123,.0000123,123456789012.0,1234567890123.0,12345678901234567890.0));
 ?>
 --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"
index 5db5890a1ce5b1a4161a445c548d61e36f3f2485..9a92e07b07418c7780aee8dc477b0bf92a88595b 100644 (file)
@@ -10,5 +10,5 @@ number_format(1e1000, 0, '', ' ');
 
 echo "Done\n";
 ?>
---EXPECT--     
+--EXPECT--
 Done
index 7d154708fa418e74ca1a99fc4c30e502ce335692..fe30c1bf8fce13664b80f953615ba39617bc7f3f 100644 (file)
@@ -23,4 +23,3 @@ try {
 --EXPECT--
 Hello World!
 Hello World!
-
index 1b25bc28c45debecab60a05fd4f10d4567ba4752..fb95a6267f6e43ebe95d65e9168d3529cdb50cf4 100644 (file)
@@ -26,7 +26,7 @@ proc_close($process2);
 echo "Done\n";
 
 ?>
---EXPECTF--
+--EXPECT--
 Opening process 1
 Opening process 2
 Closing process 1
index 08a45014f2ef333b54888d1b2354baaddf1e03dd..248608e00826ceea99ea1ce1a7d092fb9b64910f 100755 (executable)
@@ -37,7 +37,7 @@ TestClass::whee5();
 
 ?>
 ===DONE===
---EXPECTF--
+--EXPECT--
 TestClass::test()
 TestClass::test()
 TestClass::test()
index fd699ad6afc0db854ed08b422e379d6bc5e6679e..ed0dea89c50c6a026eb80e3832152c7d2351feba 100644 (file)
@@ -23,26 +23,6 @@ echo "Done!\n";
 
 ?>
 --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"
index 5f777bf717f4ac887f8e0b4a21c11e999e707cea..c63fcfd0c82d82945caaba165dd5129dacbd8c51 100755 (executable)
@@ -90,19 +90,3 @@ 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===
---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===
index 67daee906dc4c4c07c7be383ee31b974d1db9026..094a8c3540b022d41e557e7b2396a72eb2b4d330 100644 (file)
@@ -22,20 +22,7 @@ unlink($file);
 
 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) {
index eab2c334c944170b58efe5b9c55a2451d0998ec7..ef6473aca83b63f33b2070bab7f5ae6e0cabc043 100644 (file)
@@ -13,7 +13,7 @@ register_tick_function('a');
 
 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
index 49d4415ed237c945bd7a50e35f613e4ca2ea7dce..abf11396ddcc5a574eada1871a296a1188bc2718 100644 (file)
@@ -35,45 +35,7 @@ var_dump(parse_ini_file($file));
 
 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) {
index 3ed35d339fa5d45bb681c4cb074520f5ff452aa9..30c45b153c0ca61fbce1e9b9e1a5c14ce4765c74 100644 (file)
@@ -25,34 +25,7 @@ var_dump(parse_ini_file($file));
 
 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) {
index 675b82ccacadd011f6faeb3242229f724b2f820f..07c34272233a65ee4817190d15e19c915b355562 100644 (file)
@@ -24,7 +24,7 @@ var_dump(file_exists($tmp_file."nosuchfile")); //doesn't exist
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECT--
 bool(true)
 bool(false)
 Done
index d2c7f10ca46a53ee51136599f55ee869f0ac39b7..20a2703dce113f014fb8be01b5dce0a3bcef899a 100644 (file)
@@ -22,4 +22,3 @@ array(3) {
   int(3)
 }
 bool(false)
-
index 76a5956af0b4cef71648acbf416019c2e582bc1a..2cb511eaf4fc5e6eeb8ecfdb932be61583442f8e 100644 (file)
@@ -10,4 +10,3 @@ var_dump(getopt("abcd"));
 --EXPECT--
 array(0) {
 }
-
index a12d3275bef0316df006e947c1558af82560d944..8d311057ba1ebc59d868f2a91ea35d40608298f8 100644 (file)
@@ -19,24 +19,6 @@ array(1) {
     bool(false)
   }
 }
-array(3) {
-  [0]=>
-  bool(true)
-  [1]=>
-  bool(false)
-  [2]=>
-  string(1) "f"
-}
---UEXPECT--
-array(1) {
-  ["f"]=>
-  array(2) {
-    [0]=>
-    bool(false)
-    [1]=>
-    bool(false)
-  }
-}
 array(3) {
   [0]=>
   bool(true)
@@ -45,4 +27,3 @@ array(3) {
   [2]=>
   unicode(1) "f"
 }
-
index 6fa73ee27ff2e6b7f14556ed9eba79f9677e7508..31dba0a6ec02cd0be5ab5d8ba6e38d36d8e24d64 100755 (executable)
@@ -15,4 +15,4 @@ parse_ini_file(__DIR__ . 'bug44461.ini', true);
 unlink(__DIR__ . 'bug44461.ini');
 ?>
 --EXPECT--
-===DONE===
\ No newline at end of file
+===DONE===
index 49183cc58076d415c871e5031f9f1c4af39caff2..53290a7a302668cbd725e038cff8e13b6710f19a 100644 (file)
@@ -28,6 +28,6 @@ echo "Result is: ", $result, "\n";
 echo "Done\n";
 
 ?>
---EXPECTF--
+--EXPECT--
 Result is: Hello
 Done
index 22dbac9b11fc0133dc31a69c17cf0165d8cd42e1..460bb4c58f91f5ce3867a746ddd0f737c811330a 100755 (executable)
@@ -32,17 +32,7 @@ test('test2');
 
 ?>
 ===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
index 95493ba38d5b6bce0d3c90e8999f05e380631cf9..8a5eae329736c9399c6ada8892311cf98b1f8695 100644 (file)
Binary files a/ext/standard/tests/general_functions/debug_zval_dump_b.phpt and b/ext/standard/tests/general_functions/debug_zval_dump_b.phpt differ
index 4f1cf957f30269520fc6959da565a7ffd2791244..ca7eb880e46c57faaccf82eda9b7c01b6a9e6a50 100644 (file)
Binary files a/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt and b/ext/standard/tests/general_functions/debug_zval_dump_b_64bit.phpt differ
index 94d6953bc4798c4f8976155aa7ab9be7d8a868e7..4f968e17533a8154854fe989865b06d4e403ba75 100644 (file)
@@ -116,730 +116,6 @@ echo "Done\n";
 --EXPECTF--
 *** 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)
index 6552a277948e8842ab55b8acecbeb1d9c2264d92..f66b70a34cfe265139e93bbf0703ff108de5e4e9 100644 (file)
@@ -188,98 +188,6 @@ 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 --
-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)
index f8cb94fb58560d17ab1bfd043258b4fc2116c805..9336c489ce803c17e9a12e67b1d06997d82f7680 100755 (executable)
@@ -4,7 +4,7 @@ dl() filename length checks (CVE-2007-4887)
 <?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)
index 610d60f96a95d950dba722d6238700853ec4cb8c..d888ef55c0ab10544cc981b067bd73d8de6a78d9 100644 (file)
@@ -16,34 +16,6 @@ echo "Done\n";
 --EXPECTF--
 NULL
 
-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) {
index 32293915c132f6d94a8cdab5c5effe73834b2e36..dce9c99af5dc4ac68ef8042c04ec9d91f12c60dc 100644 (file)
@@ -205,101 +205,3 @@ Warning: Wrong parameter count for doubleval() in %s on line %d
 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
index 60415885adcba7c3e97e4e7d88c58039da3405ba..da6a70ba11d60024221050a6a859c8afcb604cdc 100644 (file)
@@ -10,19 +10,6 @@ variables_order=GPS
        var_dump(getopt("d:m:j:vht"));
 ?>
 --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)
index 3912ec87c7fa1795102a0c176f347fdf67fd28f8..1bf65e70abbd961afb27d0ffe49ec9c5bbad1e34 100644 (file)
@@ -38,5 +38,3 @@ array(4) {
   [2]=>
   bool(false)
 }
-
-
index fbb39b0e5530d6e3e4832725044ecef084b8f78d..e1a514606510370cfa0d523314ca72b35d8baad4 100644 (file)
@@ -53,5 +53,3 @@ array(7) {
     bool(false)
   }
 }
-
-
index 193bd40f4dbaea2f57ab3e3c57b8fb320b0b5ffc..ac0aafe27b6657569f18786775e515ee9d2f411f 100644 (file)
@@ -25,5 +25,3 @@ array(1) {
     string(3) "100"
   }
 }
-
-
index fe43a025e9d220a4b58b7ea998079fa8a7a42619..3fa1791eab502d3adbbfeb0af8253fb1bb4b120e 100644 (file)
@@ -28,5 +28,3 @@ array(2) {
     string(5) "value"
   }
 }
-
-
index ac8aa058b497b886a8262c589f0476d63654e5e3..17890ffa633c67b21c9792e540db976b53dc1096 100644 (file)
@@ -13,15 +13,7 @@ var_dump(getrusage(array()));
 
 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"
index 1a54d8889ce0cdc5e33587a15ad2c5016c46b7a1..f2b432407fa2e3db042985678f3412976e2ba687 100644 (file)
@@ -108,909 +108,7 @@ foreach ($types as $type) {
 
 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 ***
index 54e8b4b7c25075aa53279a9e400d82a9d41111f0..8b170de5404a07380774f37ddeee18a7454e45d1 100644 (file)
@@ -32,29 +32,7 @@ var_dump( settype( $var, "unknown" ) );
 
 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 ***
index 0287f36f105b72d9ec72badbfb138f64f06f4914..24ff8227dca015b1d53bcfc736a1fcf0abb61deb 100644 (file)
@@ -168,7 +168,7 @@ $var_values = array (
   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 @@ foreach ($var_values as $var) {
 
 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
 
index ae982d392844d210dd7ccbc023f392105c4430fc..8a02c34bf94a03aeb52858219e30fe5b5676e6d3 100644 (file)
@@ -171,7 +171,7 @@ $var_values = array (
   b"10string"
 );
 
-// test conversion to these types                 
+// test conversion to these types
 $types = array(
   "integer",
   "int"
@@ -200,933 +200,7 @@ foreach ($types as $type) {
 
 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
 
index bd29e59d469091ada47d63e5cfbc67918d801fcd..335421e0d94076166ba9876bdbbee6fdb0b25c86 100644 (file)
@@ -197,933 +197,7 @@ foreach ($types as $type) {
 
 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
 
index 2616bb02db9a5eba7f18d2ab6c46874a72ac023a..8e9b2a849be611e9f07292146f008ccee76d5826 100644 (file)
@@ -180,7 +180,7 @@ $var_values = array (
   b"10string"
 );
 
-// test conversion to these types                 
+// test conversion to these types
 $types = array(
   "boolean",
   "bool"
@@ -209,997 +209,7 @@ foreach ($types as $type) {
 
 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
 
index a17009443e4bafda07bc65a23e4340e6e3a78984..97fac0085a65114ee4b61a8803c2bcc692179e67 100644 (file)
@@ -179,541 +179,7 @@ foreach ($var_values as $var) {
 
 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
 
index c3aaa1ea88ca2e7322b8375ad42890c08aac7f43..168d9183348e0dbe3ad4fec4c2b7260060aaa730 100644 (file)
@@ -193,758 +193,7 @@ foreach ($var_values as $var) {
 
 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
 
index bf2245d8a011ffd9cb17ba907d1c285c5144b3e2..453a6eb9040e0d854e190440d46dc2f3f87b2c23 100644 (file)
@@ -192,758 +192,7 @@ foreach ($var_values as $var) {
 
 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
 
index 77663087299ef2989ab2bc7d1591a3e14a2ed020..8ef3ed9ad50f3bee285c3c04fdc14182243b40b7 100644 (file)
@@ -192,476 +192,7 @@ foreach ($var_values as $var) {
 
 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
 
index e83bbf6aca12b139896dc2320ad82bd776f10a27..059c56b2588d83555986b41442f251aead38afba 100644 (file)
@@ -27,7 +27,7 @@ var_dump(headers_list());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 NULL
 bool(false)
 array(0) {
index 809bca4bfac5abcf4c76bb1bb8c999d28113341b..99b4e2b8cc08e12e369e0652ec94d239b47a075b 100644 (file)
@@ -25,54 +25,7 @@ var_dump($r_a, $r_b, $r_c, $r_ap);
 
 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
index 027949d3877d417f52eb576437bcc4a1e615d74f..2f62d99b077b52a43b3b0e366347d1b64bda65e4 100644 (file)
@@ -45,87 +45,6 @@ Warning: import_request_variables(): Attempted super-global (_COOKIE) variable o
 
 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) {
-  ["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"]=>
index dbaf0e4ff5fa50705172b72224ed350e4b0e441c..d81eedcba2313fbce89fab90488150c287a2d94b 100644 (file)
@@ -16,14 +16,7 @@ var_dump($_1, $_2, $_3, $_4, $_5);
 
 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"
index 4a146dbfbb28b314cb6d9e55dad5d5f95409eade..827e5f6d6125e9c12ff8e08a4f89b2b45f47b8b6 100644 (file)
@@ -16,14 +16,7 @@ var_dump($_1, $_2, $_3, $_4, $_5);
 
 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"
index 6925ced37a264bfaf200d5c4fe66a1826e95fd1b..1f3f6c0228ba8dd1996559a9c8811d1f36280c22 100644 (file)
@@ -41,39 +41,7 @@ var_dump(get_include_path());
 
 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
index 5c468155832039db96fc553ad4e6ca33b5739f8f..c1a05255f0b0d2f302d509f00b8b0d42f763c0d2 100644 (file)
@@ -20,49 +20,7 @@ var_dump(ini_get_all("", ""));
 
 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
index f723148f49a01dcd5195aae1f2e41dcca6327bbd..8898526b7933e66d16bd44001fbbf95275c4b108 100644 (file)
@@ -304,150 +304,3 @@ Warning: Wrong parameter count for intval() in %s on line %d
 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 ---
index 640802139fb9ca640e9f92a764256810f9177aa8..0e6f88f1eefa1bb1d014e3004b3d5d5a6c91d1b1 100644 (file)
@@ -293,4 +293,3 @@ NULL
 Warning: is_bool() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 Done
-
index 1a3aead72722d9aee11e41955738f67070f1e3fb..1ea93bcf4cf9f65b04fb4900981d7e5627c60c59 100644 (file)
Binary files a/ext/standard/tests/general_functions/is_callable.phpt and b/ext/standard/tests/general_functions/is_callable.phpt differ
index 79a8698fdedffed8645a71d6e86770286b4ae067..3e136786620f80c932fa018c898d5c6be3832084 100644 (file)
@@ -449,4 +449,3 @@ NULL
 Warning: is_long() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 Done
-
index bcc506a5a8f9072bb36588a182d0ee13207816ff..5e82801a2afca40a719d6be8ab75d3e906896e4a 100644 (file)
@@ -295,4 +295,3 @@ NULL
 Warning: is_null() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 Done
-
index a6d5f232701918c3391f7aeef449fb2e5a238497..e0280141380219c25512012c5a1446557e2d4efe 100644 (file)
@@ -14,267 +14,7 @@ var_dump(parse_ini_file($ini_file, 1));
 
 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) {
index 257636743ccdbfa3a9e851a4970303199e4f5153..62c3f291347a245fab2b20aabb1aa7f033d8ad8d 100644 (file)
@@ -10,64 +10,7 @@ var_dump(parse_ini_file($ini_file, 1));
 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) {
index 94b5e02e5ee1a68499060e2835a48e511a93a1c1..f08717f934f5ce2e147e709d67dbc26984170693 100644 (file)
@@ -97,93 +97,7 @@ var_dump(parse_ini_file($filename, true));
 @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 @@ array(1) {
   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"]=>
index bffe9a2a94350a9a83863f2fddd7f940615d0bd4..9b8dabd1233fa5e930d70378b8bd10217ef3f6ec 100644 (file)
@@ -32,46 +32,6 @@ echo "Done!\n";
 ?>
 --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"
index 730375278b070a5e112133fb9b98822fc6b39ddb..5422a5644dc745aad3119e9c1645970529dbab13 100644 (file)
@@ -17,16 +17,7 @@ var_dump(getenv($var_name));
 
 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"
index e3ad8ded22868ae128a748175c2146342f2b2237..6b36fde7e558e4541f4f456915a986f6ace73d91 100644 (file)
@@ -29,7 +29,7 @@ var_dump(mt_getrandmax(1));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 int(%d)
 
 Warning: mt_rand() expects exactly 2 parameters, 1 given in %s on line %d
index 66204cf7081362e03b734c9974b486508670fb4b..597801885af5d6264ef6a2d130a0a6b70d739d44 100644 (file)
@@ -159,166 +159,6 @@ closedir($dfp);
 --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"
index cb3a798dbda656b1b5ec3316c7c258e727cf227a..a2c23414f04efb359367906cb6903214e01fe200 100644 (file)
@@ -12,7 +12,7 @@ var_dump(sys_getloadavg());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 array(3) {
   [0]=>
   float(%f)
index a0b0bbcb3a336b8762c73e09698f0fc181efa729..b7bd11a30d54dcb8bd244d148ea77e436570c52c 100644 (file)
@@ -54,302 +54,7 @@ foreach ($types as $type) {
 
 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"
index b33069db47c65b39aa4177839d2acd0b245d3e05..e72bc0b3c41af20d7b01b524093e715e2eddfbfc 100644 (file)
@@ -432,1626 +432,6 @@ float(2147483649)
 -- Iteration 32 --
 float(-2147483649)
 
-*** 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) "\0"
--- 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\0n1234\005678\000efgh\xijkl"
--- Iteration 13 --
-string(34) "abcd\0efgh\0ijkl\0mnop\00qrst\0uvwx\00yz"
--- Iteration 14 --
-string(22) "1234       
-5678
-       9100
-abcda"
-
-*** 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) "\0"
-  [6]=>
-  string(2) "\0"
-  [7]=>
-  string(1) "  "
-  [8]=>
-  string(2) "\t"
-  [9]=>
-  string(3) "PHP"
-  [10]=>
-  string(3) "PHP"
-  [11]=>
-  string(29) "abcd\0n1234\005678\000efgh\xijkl"
-  [12]=>
-  string(34) "abcd\0efgh\0ijkl\0mnop\00qrst\0uvwx\00yz"
-  [13]=>
-  string(22) "1234     
-5678
-       9100
-abcda"
-}
-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: \0lambda_1
-string(9) "2 * 3 = 6"
-string(9) "\0lambda_2"
-
-*** 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) ""
index 48cd301052f8ae29a687d619b2f99ac65004bae1..38fabc08851338ed114fcd440e0fc79c91608497 100644 (file)
@@ -432,1626 +432,6 @@ int(2147483649)
 -- Iteration 32 --
 int(-2147483649)
 
-*** 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) "\0"
--- 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\0n1234\005678\000efgh\xijkl"
--- Iteration 13 --
-string(34) "abcd\0efgh\0ijkl\0mnop\00qrst\0uvwx\00yz"
--- Iteration 14 --
-string(22) "1234       
-5678
-       9100
-abcda"
-
-*** 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) "\0"
-  [6]=>
-  string(2) "\0"
-  [7]=>
-  string(1) "  "
-  [8]=>
-  string(2) "\t"
-  [9]=>
-  string(3) "PHP"
-  [10]=>
-  string(3) "PHP"
-  [11]=>
-  string(29) "abcd\0n1234\005678\000efgh\xijkl"
-  [12]=>
-  string(34) "abcd\0efgh\0ijkl\0mnop\00qrst\0uvwx\00yz"
-  [13]=>
-  string(22) "1234     
-5678
-       9100
-abcda"
-}
-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: \0lambda_1
-string(9) "2 * 3 = 6"
-string(9) "\0lambda_2"
-
-*** 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) ""
index f87ffeaee4d694e2de7aba0cc7b5c2316f284355..c18cd97a8372c08c3ff7241788ca878449f0b9b8 100644 (file)
@@ -592,767 +592,6 @@ Iteration 15
 string(3) "'8'"
 
 
-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
-'\v'
-'\v'
-string(3) "'\v'"
-
-
-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'