]> granicus.if.org Git - php/commitdiff
- killed off UEXPECT
authorSteph Fox <sfox@php.net>
Mon, 26 May 2008 15:52:06 +0000 (15:52 +0000)
committerSteph Fox <sfox@php.net>
Mon, 26 May 2008 15:52:06 +0000 (15:52 +0000)
236 files changed:
tests/basic/013.phpt
tests/basic/014.phpt
tests/basic/015.phpt
tests/basic/016.phpt
tests/basic/017.phpt
tests/basic/018.phpt
tests/basic/019.phpt
tests/basic/020.phpt
tests/basic/022.phpt
tests/basic/023.phpt
tests/basic/024.phpt
tests/basic/026.phpt
tests/basic/027.phpt
tests/basic/bug29971.phpt
tests/classes/__call_001.phpt
tests/classes/__call_003.phpt
tests/classes/__call_004.phpt
tests/classes/__call_005.phpt
tests/classes/__set__get_001.phpt
tests/classes/__set__get_004.phpt
tests/classes/__set__get_005.phpt
tests/classes/array_access_001.phpt
tests/classes/array_access_002.phpt
tests/classes/array_access_003.phpt
tests/classes/array_access_004.phpt
tests/classes/array_access_005.phpt
tests/classes/array_access_008.phpt
tests/classes/array_access_009.phpt
tests/classes/array_access_010.phpt
tests/classes/array_access_011.phpt
tests/classes/autoload_002.phpt
tests/classes/autoload_007.phpt
tests/classes/autoload_008.phpt
tests/classes/autoload_009.phpt
tests/classes/autoload_010.phpt
tests/classes/autoload_011.phpt
tests/classes/autoload_012.phpt
tests/classes/autoload_013.phpt
tests/classes/autoload_014.phpt
tests/classes/autoload_015.phpt
tests/classes/autoload_016.phpt
tests/classes/autoload_017.phpt
tests/classes/autoload_018.phpt
tests/classes/autoload_019.phpt
tests/classes/autoload_020.phpt
tests/classes/bug26737.phpt
tests/classes/bug29446.phpt
tests/classes/class_stdclass.phpt
tests/classes/clone_001.phpt
tests/classes/clone_002.phpt
tests/classes/clone_004.phpt
tests/classes/constants_basic_001.phpt
tests/classes/constants_basic_002.phpt
tests/classes/constants_basic_003.phpt
tests/classes/constants_basic_004.phpt
tests/classes/constants_basic_005.phpt
tests/classes/constants_basic_006.phpt
tests/classes/ctor_dtor.phpt
tests/classes/ctor_dtor_inheritance.phpt
tests/classes/ctor_name_clash.phpt
tests/classes/destructor_and_exceptions.phpt
tests/classes/destructor_inheritance.phpt
tests/classes/destructor_visibility_003.phpt
tests/classes/factory_and_singleton_006.phpt
tests/classes/final.phpt
tests/classes/inheritance_002.phpt
tests/classes/inheritance_005.phpt
tests/classes/interface_constant_inheritance_001.phpt
tests/classes/interface_constant_inheritance_002.phpt
tests/classes/interface_constant_inheritance_004.phpt
tests/classes/interface_doubled.phpt
tests/classes/interface_implemented.phpt
tests/classes/interface_optional_arg.phpt
tests/classes/interface_optional_arg_002.phpt
tests/classes/interfaces_001.phpt
tests/classes/iterators_004.phpt
tests/classes/iterators_006.phpt
tests/classes/method_call_variation_001.phpt
tests/classes/new_001.phpt
tests/classes/private_005b.phpt
tests/classes/private_006.phpt
tests/classes/private_006b.phpt
tests/classes/private_007.phpt
tests/classes/private_007b.phpt
tests/classes/private_members.phpt
tests/classes/property_override_privateStatic_private.phpt
tests/classes/property_override_privateStatic_privateStatic.phpt
tests/classes/property_override_privateStatic_protected.phpt
tests/classes/property_override_privateStatic_protectedStatic.phpt
tests/classes/property_override_privateStatic_public.phpt
tests/classes/property_override_privateStatic_publicStatic.phpt
tests/classes/property_override_private_private.phpt
tests/classes/property_override_private_privateStatic.phpt
tests/classes/property_override_private_protected.phpt
tests/classes/property_override_private_protectedStatic.phpt
tests/classes/property_override_private_public.phpt
tests/classes/property_override_private_publicStatic.phpt
tests/classes/property_override_protectedStatic_private.phpt
tests/classes/property_override_protectedStatic_privateStatic.phpt
tests/classes/property_override_protectedStatic_protected.phpt
tests/classes/property_override_protectedStatic_protectedStatic.phpt
tests/classes/property_override_protectedStatic_public.phpt
tests/classes/property_override_protectedStatic_publicStatic.phpt
tests/classes/property_override_protected_protected.phpt
tests/classes/property_override_protected_public.phpt
tests/classes/property_override_publicStatic_private.phpt
tests/classes/property_override_publicStatic_privateStatic.phpt
tests/classes/property_override_publicStatic_protected.phpt
tests/classes/property_override_publicStatic_protectedStatic.phpt
tests/classes/property_override_publicStatic_public.phpt
tests/classes/property_override_publicStatic_publicStatic.phpt
tests/classes/property_override_public_private.phpt
tests/classes/property_override_public_protected.phpt
tests/classes/property_override_public_public.phpt
tests/classes/serialize_001.phpt
tests/classes/static_mix_1.phpt
tests/classes/static_mix_2.phpt
tests/classes/static_properties_001.phpt
tests/classes/tostring_001.phpt
tests/classes/tostring_002.phpt
tests/classes/tostring_004.phpt
tests/classes/visibility_000c.phpt
tests/classes/visibility_001c.phpt
tests/classes/visibility_002c.phpt
tests/classes/visibility_003a.phpt
tests/classes/visibility_003c.phpt
tests/classes/visibility_004a.phpt
tests/classes/visibility_004b.phpt
tests/classes/visibility_004c.phpt
tests/func/003.phpt
tests/func/005.phpt
tests/func/006.phpt
tests/func/010.phpt
tests/lang/004.phpt
tests/lang/005.phpt
tests/lang/006.phpt
tests/lang/007.phpt
tests/lang/023-1.inc
tests/lang/023.phpt
tests/lang/028.phpt
tests/lang/032.phpt
tests/lang/034.phpt
tests/lang/035.phpt
tests/lang/038.phpt
tests/lang/039.phpt
tests/lang/bug18872.phpt
tests/lang/bug19943.phpt
tests/lang/bug21094.phpt
tests/lang/bug21600.phpt
tests/lang/bug21961.phpt
tests/lang/bug22231.phpt
tests/lang/bug22592.phpt
tests/lang/bug23624.phpt
tests/lang/bug24573.phpt
tests/lang/bug25145.phpt
tests/lang/bug28800.phpt
tests/lang/bug30638.phpt
tests/lang/bug32828.phpt
tests/lang/bug35382.phpt
tests/lang/catchable_error_002.phpt
tests/lang/include_variation3.phpt
tests/lang/type_hints_002.phpt
tests/output/ob_001.phpt
tests/output/ob_016.phpt
tests/output/ob_018.phpt
tests/run-test/test001.phpt
tests/run-test/test002.phpt
tests/run-test/test003.phpt
tests/run-test/test004.phpt
tests/run-test/test005.phpt
tests/run-test/test008.phpt
tests/run-test/test008a.phpt
tests/security/open_basedir_chdir.phpt
tests/security/open_basedir_chmod.phpt
tests/security/open_basedir_copy.phpt
tests/security/open_basedir_copy_variation1.phpt
tests/security/open_basedir_dir.phpt
tests/security/open_basedir_error_log.phpt
tests/security/open_basedir_error_log_variation.phpt
tests/security/open_basedir_file.phpt
tests/security/open_basedir_file_exists.phpt
tests/security/open_basedir_file_put_contents.phpt
tests/security/open_basedir_fileatime.phpt
tests/security/open_basedir_filectime.phpt
tests/security/open_basedir_filegroup.phpt
tests/security/open_basedir_fileinode.phpt
tests/security/open_basedir_filemtime.phpt
tests/security/open_basedir_fileowner.phpt
tests/security/open_basedir_fileperms.phpt
tests/security/open_basedir_filesize.phpt
tests/security/open_basedir_filetype.phpt
tests/security/open_basedir_fopen.phpt
tests/security/open_basedir_glob-win32.phpt
tests/security/open_basedir_glob.phpt
tests/security/open_basedir_is_dir.phpt
tests/security/open_basedir_is_file.phpt
tests/security/open_basedir_is_link.phpt
tests/security/open_basedir_is_readable.phpt
tests/security/open_basedir_is_writable.phpt
tests/security/open_basedir_link.phpt
tests/security/open_basedir_linkinfo.phpt
tests/security/open_basedir_lstat.phpt
tests/security/open_basedir_opendir.phpt
tests/security/open_basedir_parse_ini_file.phpt
tests/security/open_basedir_readlink.phpt
tests/security/open_basedir_realpath.phpt
tests/security/open_basedir_rename.phpt
tests/security/open_basedir_rmdir.phpt
tests/security/open_basedir_scandir.phpt
tests/security/open_basedir_stat.phpt
tests/security/open_basedir_symlink.phpt
tests/security/open_basedir_tempnam.phpt
tests/security/open_basedir_touch.phpt
tests/security/open_basedir_unlink.phpt
tests/strings/bug22592.phpt
tests/unicode/autodetect-SCSU.phpt
tests/unicode/autodetect-UTF16BE.phpt
tests/unicode/autodetect-UTF16LE.phpt
tests/unicode/autodetect-UTF32BE.phpt
tests/unicode/autodetect-UTF32LE.phpt
tests/unicode/autodetect-UTF7.phpt
tests/unicode/autodetect-UTF8.phpt
tests/unicode/enc-HZ.phpt
tests/unicode/enc-ISO-2022-KR.phpt
tests/unicode/enc-JIS.phpt
tests/unicode/enc-SJIS.phpt
tests/unicode/encrt-HZ.phpt
tests/unicode/encrt-ISO-2022-KR.phpt
tests/unicode/encrt-JIS.phpt
tests/unicode/encrt-SJIS.phpt
tests/unicode/func/strpos.phpt
tests/unicode/func/strstr.phpt
tests/unicode/normalize_001.phpt
tests/unicode/normalize_002.phpt
tests/unicode/normalize_003.phpt
tests/unicode/normalize_004.phpt

index 703a0a13bd3080d0e211bdb2c9258855e0888865..38ebd9b3f4fa4d8a3b7348c3db38f78944082bda 100644 (file)
@@ -9,11 +9,6 @@ a[]=1
 var_dump($_POST['a']); 
 ?>
 --EXPECT--
-array(1) {
-  [0]=>
-  string(1) "1"
-}
---UEXPECT--
 array(1) {
   [0]=>
   unicode(1) "1"
index e1d0da743736d05ce21c47fe24d58199aa4bccf0..f7dd4217d27b9731baa1d859970096e0409cf08d 100644 (file)
@@ -9,13 +9,6 @@ a[]=1&a[]=1
 var_dump($_POST['a']); 
 ?>
 --EXPECT--
-array(2) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(1) "1"
-}
---UEXPECT--
 array(2) {
   [0]=>
   unicode(1) "1"
index 3429756d04b02da98156cc2feeda19cd76b4b8a2..a6ca5d66fda139d86aa7cf1462eb0c4a65dc5970 100644 (file)
@@ -9,11 +9,6 @@ a[]=1&a[0]=5
 var_dump($_POST['a']); 
 ?>
 --EXPECT--
-array(1) {
-  [0]=>
-  string(1) "5"
-}
---UEXPECT--
 array(1) {
   [0]=>
   unicode(1) "5"
index 3440d85be3f73ca717a3d23c7669c7cf2597dd29..c1516340784a98320462ba64eb15070002637c07 100644 (file)
@@ -9,13 +9,6 @@ a[a]=1&a[b]=3
 var_dump($_POST['a']); 
 ?>
 --EXPECT--
-array(2) {
-  ["a"]=>
-  string(1) "1"
-  ["b"]=>
-  string(1) "3"
-}
---UEXPECT--
 array(2) {
   [u"a"]=>
   unicode(1) "1"
index d34d28fd248154aa2f72ffcd4e1ceacae22bafdb..baac17889c006099dfca77200da1306ea51832ae 100644 (file)
@@ -9,15 +9,6 @@ a[]=1&a[a]=1&a[b]=3
 var_dump($_POST['a']); 
 ?>
 --EXPECT--
-array(3) {
-  [0]=>
-  string(1) "1"
-  ["a"]=>
-  string(1) "1"
-  ["b"]=>
-  string(1) "3"
-}
---UEXPECT--
 array(3) {
   [0]=>
   unicode(1) "1"
index 1c78ddf00f1d04a7ff50d3a8cd7e748f5ee53861..da403b1d1aed744adcc34056b452e9cb482f5ffe 100644 (file)
@@ -10,31 +10,6 @@ var_dump($_POST['a']);
 var_dump($_POST['b']); 
 ?>
 --EXPECT--
-array(2) {
-  [0]=>
-  array(1) {
-    [0]=>
-    string(1) "1"
-  }
-  [1]=>
-  array(1) {
-    [0]=>
-    string(1) "3"
-  }
-}
-array(1) {
-  ["a"]=>
-  array(1) {
-    ["b"]=>
-    array(2) {
-      ["c"]=>
-      string(1) "1"
-      ["d"]=>
-      string(1) "1"
-    }
-  }
-}
---UEXPECT--
 array(2) {
   [0]=>
   array(1) {
index 1f1ee14b4f93cd5957236c640d021aacce1f2dff..6deab514468bc6f1fec923a84febccb154600145 100644 (file)
@@ -9,15 +9,6 @@ a[]=1&a[]]=3&a[[]=4
 var_dump($_POST['a']); 
 ?>
 --EXPECT--
-array(3) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(1) "3"
-  ["["]=>
-  string(1) "4"
-}
---UEXPECT--
 array(3) {
   [0]=>
   unicode(1) "1"
index 9091bfde80676b7de99deccee3d8f2db44a4c90e..b105818a459c6a98140962a990f896afdf528f11 100644 (file)
@@ -9,13 +9,6 @@ a[a[]]=1&a[b[]]=3
 var_dump($_POST['a']); 
 ?>
 --EXPECT--
-array(2) {
-  ["a["]=>
-  string(1) "1"
-  ["b["]=>
-  string(1) "3"
-}
---UEXPECT--
 array(2) {
   [u"a["]=>
   unicode(1) "1"
index 64e424f627b82be752331b967738cbd00a246e10..b3cdadd571d569e30d01e77f3007eee74a77b6eb 100644 (file)
@@ -1,35 +1,12 @@
 --TEST--
 Cookies test#1
 --COOKIE--
-cookie1=val1  ; cookie2=val2%20; cookie3=val 3.; cookie 4= value 4 %3B; cookie1=bogus; %20cookie1=ignore;+cookie1=ignore;cookie1;cookie  5=%20 value; cookie%206=þæö;cookie+7=;$cookie.8;cookie-9=1;;;- & % $cookie 10=10
+cookie1=val1  ; cookie2=val2%20; cookie3=val 3.; cookie 4= value 4 %3B; cookie1=bogus; %20cookie1=ignore;+cookie1=ignore;cookie1;cookie  5=%20 value; cookie%206=þæö;cookie+7=;$cookie.8;cookie-9=1;;;- & % $cookie 10=10
 --FILE--
 <?php
 var_dump($_COOKIE);
 ?>
 --EXPECT--
-array(10) {
-  ["cookie1"]=>
-  string(6) "val1  "
-  ["cookie2"]=>
-  string(5) "val2 "
-  ["cookie3"]=>
-  string(6) "val 3."
-  ["cookie_4"]=>
-  string(10) " value 4 ;"
-  ["cookie__5"]=>
-  string(7) "  value"
-  ["cookie_6"]=>
-  string(3) "þæö"
-  ["cookie_7"]=>
-  string(0) ""
-  ["$cookie_8"]=>
-  string(0) ""
-  ["cookie-9"]=>
-  string(1) "1"
-  ["-_&_%_$cookie_10"]=>
-  string(2) "10"
-}
---UEXPECTF--
 array(10) {
   [u"cookie1"]=>
   unicode(0) ""
index d6894b52ebd1f904a038ca968df53616a24eb959..ece28b78d28750fbf99aa85b531160e78d03374f 100644 (file)
@@ -7,15 +7,6 @@ c o o k i e=value; c o o k i e= v a l u e ;;c%20o+o k+i%20e=v;name="value","valu
 var_dump($_COOKIE);
 ?>
 --EXPECT--
-array(3) {
-  ["c_o_o_k_i_e"]=>
-  string(5) "value"
-  ["name"]=>
-  string(24) ""value","value",UEhQIQ=="
-  ["UEhQIQ"]=>
-  string(4) "=foo"
-}
---UEXPECT--
 array(3) {
   [u"c_o_o_k_i_e"]=>
   unicode(1) "v"
index 19d016b97482039da841d7500a9d9829f1f6c116..7484a11adbdeee7426ad4bdc9cdde0707740ade6 100644 (file)
@@ -12,23 +12,6 @@ a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3
 var_dump($_POST, $HTTP_RAW_POST_DATA);
 ?>
 --EXPECT--
-array(3) {
-  ["a"]=>
-  string(3) "ABC"
-  ["y"]=>
-  string(3) "XYZ"
-  ["c"]=>
-  array(3) {
-    [0]=>
-    string(1) "1"
-    [1]=>
-    string(1) "2"
-    ["a"]=>
-    string(1) "3"
-  }
-}
-string(30) "a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3"
---UEXPECT--
 array(3) {
   [u"a"]=>
   unicode(3) "ABC"
index 8666554b8eaf486198dc8c60cf1fb6b125a39198..6f90f6a33d523b28c6441ab9ca4a1c8ee83bedb5 100644 (file)
@@ -15,8 +15,4 @@ var_dump($_POST, $HTTP_RAW_POST_DATA);
 --EXPECT--
 array(0) {
 }
-string(9) "a=1&b=ZYX"
---UEXPECT--
-array(0) {
-}
 unicode(9) "a=1&b=ZYX"
index f4925c69e7c065712c823687fc7c08ba8827ec0e..a23fc494ea820b3950f6604fecb6415288a9ff94 100644 (file)
@@ -16,24 +16,6 @@ a=1&b=ZYX&c[][][][][][][][][][][][][][][][][][][][][][]=123&d=123&e[][]][]=3
 var_dump($_POST, $php_errormsg);
 ?>
 --EXPECT--
-array(4) {
-  ["a"]=>
-  string(1) "1"
-  ["b"]=>
-  string(3) "ZYX"
-  ["d"]=>
-  string(3) "123"
-  ["e"]=>
-  array(1) {
-    [0]=>
-    array(1) {
-      [0]=>
-      string(1) "3"
-    }
-  }
-}
-string(106) "Input variable nesting level exceeded 10. To increase the limit change max_input_nesting_level in php.ini."
---UEXPECT--
 array(4) {
   [u"a"]=>
   unicode(1) "1"
index fdbee8fd4690a381e107009b21b5bc2f0a006069..369928f0e003f6bee8427b2bf6d62fcec5842a22 100755 (executable)
@@ -13,10 +13,4 @@ array(0) {
 }
 array(0) {
 }
-string(3) "GPC"
---UEXPECT--
-array(0) {
-}
-array(0) {
-}
 unicode(3) "GPC"
index ecc98744bfcb09da3fc0fcf450359fbc54fbb1b9..f87cf91aadac9108532091ea727e330466663afa 100644 (file)
@@ -22,26 +22,6 @@ var_dump($a);
 ?>
 --EXPECT--
 Method test called:
-array(4) {
-  [0]=>
-  int(1)
-  [1]=>
-  string(1) "2"
-  [2]=>
-  float(3.4)
-  [3]=>
-  bool(true)
-}
-array(3) {
-  [0]=>
-  int(1)
-  [1]=>
-  int(2)
-  [2]=>
-  int(3)
-}
---UEXPECT--
-Method test called:
 array(4) {
   [0]=>
   int(1)
index 6f6b305cf5ec5468970e0f9e05a5579360ea6ef8..b86640a66c8df973105c65c35d4d58f8c27d855d 100644 (file)
@@ -21,16 +21,7 @@ Force pass-by-reference to __call
   
   var_dump($a, $b);
 ?>
---EXPECTF--
-array(1) {
-  [0]=>
-  string(8) "original"
-}
-array(1) {
-  [0]=>
-  &string(7) "changed"
-}
---UEXPECTF--
+--EXPECT--
 array(1) {
   [0]=>
   unicode(8) "original"
@@ -38,4 +29,4 @@ array(1) {
 array(1) {
   [0]=>
   &unicode(7) "changed"
-}
\ No newline at end of file
+}
index 2072112a02ff74350a38a1d13b3129ea25ffbe52..a9997bf13295843ff317615c90792e99ab99e673 100644 (file)
@@ -26,7 +26,7 @@ class B extends A {
 $b = new B();
 $b->test();
 ?>
---EXPECTF--
+--EXPECT--
 In B::__call(test1, array(1,a))
 object(B)#1 (0) {
 }
@@ -38,4 +38,4 @@ object(B)#1 (0) {
 }
 In B::__call(test4, array(1,a))
 object(B)#1 (0) {
-}
\ No newline at end of file
+}
index c82a853f72683f3ff82108e4e8e54d045c90e959..b5b7705769ae56319f5bd7bcd96c2f5f4a3aadc2 100644 (file)
@@ -21,7 +21,7 @@ class B extends A {
 $b = new B();
 $b->test();
 ?>
---EXPECTF--
+--EXPECT--
 In A::__call(test1, array(1,a))
 object(B)#1 (0) {
 }
@@ -33,4 +33,4 @@ object(B)#1 (0) {
 }
 In A::__call(test4, array(1,a))
 object(B)#1 (0) {
-}
\ No newline at end of file
+}
index 105419e33e43dad3b1ce39541e788ca222f706ee..69968c3450137451e572164fa23b28bd3d00f2c6 100644 (file)
@@ -23,7 +23,7 @@ class setter {
 
        function __set($nm, $val) {
                echo "Setting [$nm] to $val\n";
-                    
+
                if (isset($this->x[$nm])) {
                        $this->x[$nm] = $val;
                        echo "OK!\n";
@@ -57,30 +57,6 @@ Getting [z]
 Nothing!
 Setting [z] to 1
 Not OK!
-object(setter)#%d (2) {
-  ["n"]=>
-  int(1)
-  ["x"]=>
-  array(3) {
-    ["a"]=>
-    int(101)
-    ["b"]=>
-    int(2)
-    ["c"]=>
-    int(3)
-  }
-}
---UEXPECTF--
-Setting [a] to 100
-OK!
-Getting [a]
-Returning: 100
-Setting [a] to 101
-OK!
-Getting [z]
-Nothing!
-Setting [z] to 1
-Not OK!
 object(setter)#%d (2) {
   [u"n"]=>
   int(1)
index b739428f33b3ab5b67932c6d3b21d66be30449a2..80a2f334d9e31e5026c0ca3a01c4b97a22e5bd69 100755 (executable)
@@ -34,10 +34,6 @@ var_dump($foo->bar->baz);
 ?>
 ===DONE===
 --EXPECT--
-string(5) "Check"
-string(5) "Check"
-===DONE===
---UEXPECT--
 unicode(5) "Check"
 unicode(5) "Check"
 ===DONE===
index 34fd567bfd7db76fd80af9892816727cee50017c..c169209823d2e71f68dc385464b9dbad09148aa8 100755 (executable)
@@ -55,21 +55,6 @@ var_dump($foo->bar->baz);
 AutoGen::__get
 Test::__set
 AutoGen::__get
-object(Test)#%d (1) {
-  ["x":protected]=>
-  array(1) {
-    ["baz"]=>
-    string(5) "Check"
-  }
-}
-AutoGen::__get
-Test::__get
-string(5) "Check"
-===DONE===
---UEXPECTF--
-AutoGen::__get
-Test::__set
-AutoGen::__get
 object(Test)#%d (1) {
   [u"x":protected]=>
   array(1) {
index 68263b3201c49d9444c4a369dba3894a1bc50080..a56e1399463bbd8176e0672d92e421f1a8cef693 100644 (file)
@@ -84,119 +84,6 @@ var_dump($obj->a);
 ?>
 ===DONE===
 --EXPECTF--
-array(4) {
-  [0]=>
-  string(3) "1st"
-  [1]=>
-  int(1)
-  [2]=>
-  string(3) "3rd"
-  ["4th"]=>
-  int(4)
-}
-===EMPTY===
-object::offsetExists(0)
-object::offsetGet(0)
-bool(false)
-object::offsetExists(1)
-object::offsetGet(1)
-bool(false)
-object::offsetExists(2)
-object::offsetGet(2)
-bool(false)
-object::offsetExists(4th)
-object::offsetGet(4th)
-bool(false)
-object::offsetExists(5th)
-bool(true)
-object::offsetExists(6)
-bool(true)
-===isset===
-object::offsetExists(0)
-bool(true)
-object::offsetExists(1)
-bool(true)
-object::offsetExists(2)
-bool(true)
-object::offsetExists(4th)
-bool(true)
-object::offsetExists(5th)
-bool(false)
-object::offsetExists(6)
-bool(false)
-===offsetGet===
-object::offsetGet(0)
-string(3) "1st"
-object::offsetGet(1)
-int(1)
-object::offsetGet(2)
-string(3) "3rd"
-object::offsetGet(4th)
-int(4)
-object::offsetGet(5th)
-
-Notice: Undefined index: 5th in %sarray_access_001.php on line %d
-NULL
-object::offsetGet(6)
-
-Notice: Undefined offset: 6 in %sarray_access_001.php on line %d
-NULL
-===offsetSet===
-WRITE 1
-object::offsetSet(1,Changed 1)
-object::offsetGet(1)
-string(9) "Changed 1"
-WRITE 2
-object::offsetSet(4th,Changed 4th)
-object::offsetGet(4th)
-string(11) "Changed 4th"
-WRITE 3
-object::offsetSet(5th,Added 5th)
-object::offsetGet(5th)
-string(9) "Added 5th"
-WRITE 4
-object::offsetSet(6,Added 6)
-object::offsetGet(6)
-string(7) "Added 6"
-object::offsetGet(0)
-string(3) "1st"
-object::offsetGet(2)
-string(3) "3rd"
-object::offsetSet(6,changed 6)
-object::offsetGet(6)
-string(9) "changed 6"
-string(9) "changed 6"
-===unset===
-array(6) {
-  [0]=>
-  string(3) "1st"
-  [1]=>
-  string(9) "Changed 1"
-  [2]=>
-  string(3) "3rd"
-  ["4th"]=>
-  string(11) "Changed 4th"
-  ["5th"]=>
-  string(9) "Added 5th"
-  [6]=>
-  string(9) "changed 6"
-}
-object::offsetUnset(2)
-object::offsetUnset(4th)
-object::offsetUnset(7)
-object::offsetUnset(8th)
-array(4) {
-  [0]=>
-  string(3) "1st"
-  [1]=>
-  string(9) "Changed 1"
-  ["5th"]=>
-  string(9) "Added 5th"
-  [6]=>
-  string(9) "changed 6"
-}
-===DONE===
---UEXPECTF--
 array(4) {
   [0]=>
   unicode(3) "1st"
index aa1fd799d6061c0be4b805109cc1a9117cab9288..70e51441003084fa8b99fc42b713fdd2c3d2c341 100644 (file)
@@ -84,119 +84,6 @@ var_dump($obj->a);
 ?>
 ===DONE===
 --EXPECTF--
-array(4) {
-  [0]=>
-  string(3) "1st"
-  [1]=>
-  int(1)
-  [2]=>
-  string(3) "3rd"
-  ["4th"]=>
-  int(4)
-}
-===EMPTY===
-object::offsetExists(0)
-object::offsetGet(0)
-bool(false)
-object::offsetExists(1)
-object::offsetGet(1)
-bool(false)
-object::offsetExists(2)
-object::offsetGet(2)
-bool(false)
-object::offsetExists(4th)
-object::offsetGet(4th)
-bool(false)
-object::offsetExists(5th)
-bool(true)
-object::offsetExists(6)
-bool(true)
-===isset===
-object::offsetExists(0)
-bool(true)
-object::offsetExists(1)
-bool(true)
-object::offsetExists(2)
-bool(true)
-object::offsetExists(4th)
-bool(true)
-object::offsetExists(5th)
-bool(false)
-object::offsetExists(6)
-bool(false)
-===offsetGet===
-object::offsetGet(0)
-string(3) "1st"
-object::offsetGet(1)
-int(1)
-object::offsetGet(2)
-string(3) "3rd"
-object::offsetGet(4th)
-int(4)
-object::offsetGet(5th)
-
-Notice: Undefined index: 5th in %sarray_access_002.php on line %d
-NULL
-object::offsetGet(6)
-
-Notice: Undefined offset: 6 in %sarray_access_002.php on line %d
-NULL
-===offsetSet===
-WRITE 1
-object::offsetSet(1,Changed 1)
-object::offsetGet(1)
-string(9) "Changed 1"
-WRITE 2
-object::offsetSet(4th,Changed 4th)
-object::offsetGet(4th)
-string(11) "Changed 4th"
-WRITE 3
-object::offsetSet(5th,Added 5th)
-object::offsetGet(5th)
-string(9) "Added 5th"
-WRITE 4
-object::offsetSet(6,Added 6)
-object::offsetGet(6)
-string(7) "Added 6"
-object::offsetGet(0)
-string(3) "1st"
-object::offsetGet(2)
-string(3) "3rd"
-object::offsetSet(6,changed 6)
-object::offsetGet(6)
-string(9) "changed 6"
-string(9) "changed 6"
-===unset===
-array(6) {
-  [0]=>
-  string(3) "1st"
-  [1]=>
-  string(9) "Changed 1"
-  [2]=>
-  string(3) "3rd"
-  ["4th"]=>
-  string(11) "Changed 4th"
-  ["5th"]=>
-  string(9) "Added 5th"
-  [6]=>
-  string(9) "changed 6"
-}
-object::offsetUnset(2)
-object::offsetUnset(4th)
-object::offsetUnset(7)
-object::offsetUnset(8th)
-array(4) {
-  [0]=>
-  string(3) "1st"
-  [1]=>
-  string(9) "Changed 1"
-  ["5th"]=>
-  string(9) "Added 5th"
-  [6]=>
-  string(9) "changed 6"
-}
-===DONE===
---UEXPECTF--
 array(4) {
   [0]=>
   unicode(3) "1st"
index ae7b3bdaa1bc7cf51cca9ee8b80f3ff8bf7eae1f..ade9f205abb334e9f6bead4845ad7e1a87640d7e 100644 (file)
@@ -48,17 +48,6 @@ var_dump($obj[2]);
 ===DONE===
 --EXPECTF--
 object::offsetGet(1)
-string(6) "fooBar"
-object::offsetGet(2)
-int(1)
-object::offsetGet(2)
-
-Notice: Indirect modification of overloaded element of object has no effect in %sarray_access_003.php on line 39
-object::offsetGet(2)
-int(1)
-===DONE===
---UEXPECTF--
-object::offsetGet(1)
 unicode(6) "fooBar"
 object::offsetGet(2)
 int(1)
index 6c324edc928d0074386557dd0082be960f085143..8c523921b89d98c3c1f8d46903fedd34a357d26e 100644 (file)
@@ -46,17 +46,6 @@ var_dump($obj[2]);
 ===DONE===
 --EXPECTF--
 object::offsetGet(1)
-string(6) "fooBar"
-object::offsetGet(2)
-int(1)
-object::offsetGet(2)
-
-Notice: Indirect modification of overloaded element of object has no effect in %sarray_access_004.php on line 39
-object::offsetGet(2)
-int(1)
-===DONE===
---UEXPECTF--
-object::offsetGet(1)
 unicode(6) "fooBar"
 object::offsetGet(2)
 int(1)
index 313bf42d9d9803614b472f9853ffc2a6f2eb688c..10d372c7db7eed5243276a314c989ccadf182977 100755 (executable)
@@ -54,28 +54,6 @@ var_dump($people[0]['name']);
 ?>
 ===DONE===
 --EXPECTF--
-string(3) "Joe"
-string(6) "JoeFoo"
-string(9) "JoeFooBar"
----ArrayOverloading---
-array(1) {
-  ["name"]=>
-  string(3) "Joe"
-}
-string(3) "Joe"
-string(6) "JoeFoo"
-array(1) {
-  ["name"]=>
-  string(6) "JoeFoo"
-}
-
-Notice: Indirect modification of overloaded element of Peoples has no effect in %sarray_access_005.php on line 46
-string(6) "JoeFoo"
-
-Notice: Indirect modification of overloaded element of Peoples has no effect in %sarray_access_005.php on line 48
-string(6) "JoeFoo"
-===DONE===
---UEXPECTF--
 unicode(3) "Joe"
 unicode(6) "JoeFoo"
 unicode(9) "JoeFooBar"
index 64f8d06f6627a0e509e30d17a77952959c293d6e..e08d3bfce4d44228e0f2999b99a7bf3eed6609c4 100755 (executable)
@@ -50,22 +50,6 @@ var_dump($people[0]['name']);
 ?>
 ===DONE===
 --EXPECTF--
-string(3) "Foo"
-string(6) "FooBar"
-string(9) "FooBarBaz"
-===ArrayOverloading===
-string(3) "Foo"
-
-Notice: Indirect modification of overloaded element of Peoples has no effect in %sarray_access_008.php on line 40
-string(3) "Foo"
-
-Notice: Indirect modification of overloaded element of Peoples has no effect in %sarray_access_008.php on line 42
-string(3) "Foo"
-
-Notice: Indirect modification of overloaded element of Peoples has no effect in %sarray_access_008.php on line 44
-string(3) "Foo"
-===DONE===
---UEXPECTF--
 unicode(3) "Foo"
 unicode(6) "FooBar"
 unicode(9) "FooBarBaz"
index 00ab8b149bffde6b1c4112b84cb4a7382c7bcc80..6055c1f73854f8810212d3b0e00d5aa036442ee2 100755 (executable)
@@ -124,71 +124,6 @@ var_dump($people[0]['name']);
 ?>
 ===DONE===
 --EXPECTF--
-string(3) "Foo"
-string(6) "FooBar"
-string(9) "FooBarBaz"
-===ArrayOverloading===
-ArrayProxy::__construct(0)
-object(ArrayProxy)#%d (2) {
-  ["object":"ArrayProxy":private]=>
-  object(Peoples)#%d (1) {
-    ["person"]=>
-    array(1) {
-      [0]=>
-      array(1) {
-        ["name"]=>
-        string(3) "Foo"
-      }
-    }
-  }
-  ["element":"ArrayProxy":private]=>
-  int(0)
-}
-ArrayProxy::__construct(0)
-ArrayProxy::offsetGet(0, name)
-string(3) "Foo"
-ArrayProxy::__construct(0)
-ArrayProxy::offsetSet(0, name, FooBar)
-ArrayProxy::__construct(0)
-ArrayProxy::offsetGet(0, name)
-string(6) "FooBar"
-ArrayProxy::__construct(0)
-ArrayProxy::offsetSet(0, name, FooBarBar)
-ArrayProxy::__construct(0)
-ArrayProxy::offsetGet(0, name)
-string(9) "FooBarBar"
-ArrayProxy::__construct(0)
-ArrayProxy::offsetGet(0, name)
-ArrayProxy::offsetSet(0, name, FooBarBarBaz)
-ArrayProxy::__construct(0)
-ArrayProxy::offsetGet(0, name)
-string(12) "FooBarBarBaz"
-ArrayProxy::__construct(0)
-ArrayProxy::offsetUnset(0, name)
-ArrayProxy::__construct(0)
-object(ArrayProxy)#%d (2) {
-  ["object":"ArrayProxy":private]=>
-  object(Peoples)#%d (1) {
-    ["person"]=>
-    array(1) {
-      [0]=>
-      array(0) {
-      }
-    }
-  }
-  ["element":"ArrayProxy":private]=>
-  int(0)
-}
-ArrayProxy::__construct(0)
-ArrayProxy::offsetGet(0, name)
-NULL
-ArrayProxy::__construct(0)
-ArrayProxy::offsetSet(0, name, BlaBla)
-ArrayProxy::__construct(0)
-ArrayProxy::offsetGet(0, name)
-string(6) "BlaBla"
-===DONE===
---UEXPECTF--
 unicode(3) "Foo"
 unicode(6) "FooBar"
 unicode(9) "FooBarBaz"
index 3e6828dbd3a7fbef6a9b1deaddbd5fd59380d259..175ac3abde958d9127745ba8c96f2a6a0c03d08d 100755 (executable)
@@ -98,125 +98,6 @@ var_dump($people[0]['name']);
 ===DONE===
 <?php exit(0); ?>
 --EXPECTF--
-string(3) "Foo"
-string(6) "FooBar"
-string(9) "FooBarBaz"
-===ArrayOverloading===
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-object(ArrayReferenceProxy)#%d (2) {
-  ["object":"ArrayReferenceProxy":private]=>
-  object(Peoples)#%d (1) {
-    ["person"]=>
-    array(1) {
-      [0]=>
-      &array(1) {
-        ["name"]=>
-        string(3) "Foo"
-      }
-    }
-  }
-  ["element":"ArrayReferenceProxy":private]=>
-  &array(1) {
-    ["name"]=>
-    string(3) "Foo"
-  }
-}
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetGet(Array, name)
-string(3) "Foo"
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetSet(Array, name, FooBar)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetGet(Array, name)
-string(6) "FooBar"
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetSet(Array, name, FooBarBar)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetGet(Array, name)
-string(9) "FooBarBar"
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetGet(Array, name)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetSet(Array, name, FooBarBarBaz)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetGet(Array, name)
-string(12) "FooBarBarBaz"
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetUnset(Array, name)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-object(ArrayReferenceProxy)#%d (2) {
-  ["object":"ArrayReferenceProxy":private]=>
-  object(Peoples)#%d (1) {
-    ["person"]=>
-    array(1) {
-      [0]=>
-      &array(0) {
-      }
-    }
-  }
-  ["element":"ArrayReferenceProxy":private]=>
-  &array(0) {
-  }
-}
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetGet(Array, name)
-NULL
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetSet(Array, name, BlaBla)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::__construct(Array)
-
-Notice: Array to string conversion in %s on line %d
-ArrayReferenceProxy::offsetGet(Array, name)
-string(6) "BlaBla"
-===DONE===
---UEXPECTF--
 unicode(3) "Foo"
 unicode(6) "FooBar"
 unicode(9) "FooBarBaz"
index 8306d6cdebc9f9f11c910666ceb830d7115917ea..5409a52e0d311faeba4779ae75a4ec06334511e2 100755 (executable)
@@ -107,85 +107,6 @@ var_dump($people[0]['name']);
 ===DONE===
 <?php exit(0); ?>
 --EXPECTF--
-string(3) "Foo"
-string(6) "FooBar"
-string(9) "FooBarBaz"
-===ArrayOverloading===
-ArrayAccessReferenceProxy::__construct(0)
-object(ArrayAccessReferenceProxy)#%d (3) {
-  ["object":"ArrayAccessReferenceProxy":private]=>
-  object(Peoples)#%d (1) {
-    ["person"]=>
-    &array(1) {
-      [0]=>
-      array(1) {
-        ["name"]=>
-        string(3) "Foo"
-      }
-    }
-  }
-  ["oarray":"ArrayAccessReferenceProxy":private]=>
-  &array(1) {
-    [0]=>
-    array(1) {
-      ["name"]=>
-      string(3) "Foo"
-    }
-  }
-  ["element":"ArrayAccessReferenceProxy":private]=>
-  int(0)
-}
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetGet(0, name)
-string(3) "Foo"
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetSet(0, name, FooBar)
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetGet(0, name)
-string(6) "FooBar"
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBar)
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetGet(0, name)
-string(9) "FooBarBar"
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetGet(0, name)
-ArrayAccessReferenceProxy::offsetSet(0, name, FooBarBarBaz)
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetGet(0, name)
-string(12) "FooBarBarBaz"
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetUnset(0, name)
-ArrayAccessReferenceProxy::__construct(0)
-object(ArrayAccessReferenceProxy)#%d (3) {
-  ["object":"ArrayAccessReferenceProxy":private]=>
-  object(Peoples)#%d (1) {
-    ["person"]=>
-    &array(1) {
-      [0]=>
-      array(0) {
-      }
-    }
-  }
-  ["oarray":"ArrayAccessReferenceProxy":private]=>
-  &array(1) {
-    [0]=>
-    array(0) {
-    }
-  }
-  ["element":"ArrayAccessReferenceProxy":private]=>
-  int(0)
-}
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetGet(0, name)
-NULL
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetSet(0, name, BlaBla)
-ArrayAccessReferenceProxy::__construct(0)
-ArrayAccessReferenceProxy::offsetGet(0, name)
-string(6) "BlaBla"
-===DONE===
---UEXPECTF--
 unicode(3) "Foo"
 unicode(6) "FooBar"
 unicode(9) "FooBarBaz"
index dd2a3324a2c68d0c1fb01574ba08d69403cdf690..fb71e0cfe0547197f6bf1313b4cab821ec05de23 100755 (executable)
@@ -20,13 +20,6 @@ var_dump(get_class_methods('autoload_root'));
 ===DONE===
 --EXPECT--
 __autoload(autoload_root)
-array(1) {
-  [0]=>
-  string(12) "testFunction"
-}
-===DONE===
---UEXPECT--
-__autoload(autoload_root)
 array(1) {
   [0]=>
   unicode(12) "testFunction"
index 5652c120cce5c12efcaf851a12a18903e3babdad..ceda4c4124bdaf9e4256036fe85371efbadcd87f 100644 (file)
@@ -11,5 +11,5 @@ Ensure instanceof does not trigger autoload.
   $a = new stdClass;
   var_dump($a instanceof UndefC);
 ?>
---EXPECTF--
+--EXPECT--
 bool(false)
index 75a9cd052046e6a77fbd56ac393b6714ba260231..d24bd6f02004a7fdef4377e35fb3e150201aa0d3 100644 (file)
@@ -22,5 +22,5 @@ Ensure catch blocks for unknown exception types do not trigger autoload.
       echo "In Exception catch block. Autoload should not have been triggered.\n";
   }
 ?>
---EXPECTF--
+--EXPECT--
 In Exception catch block. Autoload should not have been triggered.
index 46f6055fefa0978cb80cb50ad3f6178a9c083aee..8766f1f0aa79cb9c06cf74ee5d71eb05ece37740 100644 (file)
@@ -16,5 +16,3 @@ Ensure type hints for unknown types do not trigger autoload.
 --EXPECTF--
 
 Catchable fatal error: Argument 1 passed to f() must be an instance of UndefClass, instance of stdClass given, called in %s
-
-
index 27e95c1058f6592665aeea70abd5cbabe263c83f..b0681d903301223a6f700eb6ad57074d4e024211 100644 (file)
@@ -13,11 +13,6 @@ Ensure implements does trigger autoload.
   }
 ?>
 --EXPECTF--
-In autoload: string(6) "UndefI"
-
-Fatal error: Interface 'UndefI' not found in %s on line %d
-
---UEXPECTF--
 In autoload: unicode(6) "UndefI"
 
 Fatal error: Interface 'UndefI' not found in %s on line %d
index 8accdcefbf709be1372fe8323caa953c57afe520..a5ba1ee2fde2a06959fb41311effd4df64eb33c9 100644 (file)
@@ -13,11 +13,6 @@ Ensure extends does trigger autoload.
   }
 ?>
 --EXPECTF--
-In autoload: string(9) "UndefBase"
-
-Fatal error: Class 'UndefBase' not found in %s on line %d
-
---UEXPECTF--
 In autoload: unicode(9) "UndefBase"
 
 Fatal error: Class 'UndefBase' not found in %s on line %d
index 2563f7598e743461eba978aa316540e5a404cd84..96977a5ce8d2a1774f35bfc3ae019e3df2fff06d 100644 (file)
@@ -10,11 +10,6 @@ Ensure callback methods in unknown classes trigger autoload.
   call_user_func("UndefC::test");
 ?>
 --EXPECTF--
-In autoload: string(6) "UndefC"
-
-Warning: call_user_func() expects parameter 1 to be a valid callback, class 'UndefC' not found in %s on line %d
-
---UEXPECTF--
 In autoload: unicode(6) "UndefC"
 
 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'UndefC' not found in %s on line %d
index 079398c9f6f926ab23218e259997ae062e0b1ae1..a1b9dc14d9a9fed127aa35f0c245b80ae1f17556 100644 (file)
@@ -17,9 +17,6 @@ Ensure the ReflectionClass constructor triggers autoload.
       echo $e->getMessage();
   }
 ?>
---EXPECTF--
-In autoload: string(6) "UndefC"
-Class UndefC does not exist
---UEXPECTF--
+--EXPECT--
 In autoload: unicode(6) "UndefC"
-Class UndefC does not exist
\ No newline at end of file
+Class UndefC does not exist
index 9d11d384f435a5b085b3c3acde8ad30fa073408c..ca6a322391fa7dd4e0a8da547020e4e84a9f568f 100644 (file)
@@ -17,9 +17,6 @@ Ensure the ReflectionMethod constructor triggers autoload.
       echo $e->getMessage();
   }
 ?>
---EXPECTF--
-In autoload: string(6) "UndefC"
-Class UndefC does not exist
---UEXPECTF--
+--EXPECT--
 In autoload: unicode(6) "UndefC"
-Class UndefC does not exist
\ No newline at end of file
+Class UndefC does not exist
index 37cf4675ac5560daa2480f9bea1871a6132633db..f64ab8fe92dec3a959e3c6c1d182ded6c93a49ef 100644 (file)
@@ -17,9 +17,6 @@ Ensure the ReflectionProperty constructor triggers autoload.
       echo $e->getMessage();
   }
 ?>
---EXPECTF--
-In autoload: string(6) "UndefC"
-Class UndefC does not exist
---UEXPECTF--
+--EXPECT--
 In autoload: unicode(6) "UndefC"
-Class UndefC does not exist
\ No newline at end of file
+Class UndefC does not exist
index 7e4d3b4c1f0cfee39b5089b7bbe8adaa35dc3e83..130a9a5f91c5f28bb3652ea6e987067c127fa544 100644 (file)
@@ -18,9 +18,6 @@ Ensure ReflectionClass::getProperty() triggers autoload
       echo $e->getMessage();
   }
 ?>
---EXPECTF--
-In autoload: string(6) "undefc"
-Class undefc does not exist
---UEXPECTF--
+--EXPECT--
 In autoload: unicode(6) "undefc"
-Class undefc does not exist
\ No newline at end of file
+Class undefc does not exist
index 82b46807b76f950ff2509208a2fc2077b6fc27cd..2da3294109072efde270ecbd687e5ac9f4fc4cc1 100644 (file)
@@ -18,9 +18,6 @@ Ensure ReflectionClass::implementsInterface triggers autoload.
     echo $e->getMessage();
   }
 ?>
---EXPECTF--
-In autoload: string(6) "UndefI"
-Interface UndefI does not exist
---UEXPECTF--
+--EXPECT--
 In autoload: unicode(6) "UndefI"
-Interface UndefI does not exist
\ No newline at end of file
+Interface UndefI does not exist
index 59e20e2a608649104f98beeffee6846434cb1e95..c69bd251ef78af8c52f1af249b135f29193bfbb3 100644 (file)
@@ -19,7 +19,7 @@ Ensure __autoload() allows for recursive calls if the class name differs.
   
   var_dump(class_exists('UndefinedClass0'));
 ?>
---EXPECTF--
+--EXPECT--
 IN:  __autoload(UndefinedClass0)
 IN:  __autoload(UndefinedClass1)
 IN:  __autoload(UndefinedClass2)
@@ -45,4 +45,3 @@ OUT: __autoload(UndefinedClass2)
 OUT: __autoload(UndefinedClass1)
 OUT: __autoload(UndefinedClass0)
 bool(false)
-
index 783632013b505c4e54c3beeb57485eabd1761e47..82de524fc12f0ce835ca2d7a86d9500578678edf 100644 (file)
@@ -10,5 +10,5 @@ Ensure __autoload() recursion is guarded for multiple lookups of same class usin
   
   class_exists("unDefinedClass");
 ?>
---EXPECTF--
+--EXPECT--
 __autoload unDefinedClass
index 4f5dffb96c974a044168baac2e7e3f339e3e440f..8f44307db3119695dddf3c1ddeb2b61af7a0f9eb 100644 (file)
@@ -11,13 +11,7 @@ Ensure __autoload() is triggered during unserialization.
 ?>
 --EXPECTF--
 in autoload: C
-object(__PHP_Incomplete_Class)#%d (1) {
-  ["__PHP_Incomplete_Class_Name"]=>
-  string(1) "C"
-}
---UEXPECTF--
-in autoload: C
 object(__PHP_Incomplete_Class)#%d (1) {
   [u"__PHP_Incomplete_Class_Name"]=>
   unicode(1) "C"
-}
\ No newline at end of file
+}
index 7a5a0299fd35243b3639c3f71fb571342eee8f12..45da555b7246b48b41f9c237f4749726d57202a0 100644 (file)
@@ -19,7 +19,4 @@ var_dump(str_replace("\0", '\0', $data));
 ?>
 --EXPECTF--
 Notice: serialize(): "no_such" returned as member variable from __sleep() but does not exist in %s on line %d
-string(130) "O:3:"foo":4:{S:12:"\0foo\0private";S:7:"private";S:12:"\0*\0protected";S:9:"protected";S:6:"public";S:6:"public";S:7:"no_such";N;}"
---UEXPECTF--
-Notice: serialize(): "no_such" returned as member variable from __sleep() but does not exist in %s on line %d
 unicode(130) "O:3:"foo":4:{U:12:"\0foo\0private";U:7:"private";U:12:"\0*\0protected";U:9:"protected";U:6:"public";U:6:"public";U:7:"no_such";N;}"
index 5e30e8e74b2fdc51f02c67b10ce806669957ac3b..573f136ce06ff1f6d15c330c44153247eb6678f6 100644 (file)
@@ -16,4 +16,4 @@ $test = new testClass;
 
 ?>
 --EXPECTF--
-Fatal error: Cannot redefine class constant testClass::TEST_CONST in %s on line 5
\ No newline at end of file
+Fatal error: Cannot redefine class constant testClass::TEST_CONST in %s on line 5
index 5e3422aeae91f1323376b4e1c09a728a216d94bb..a8c12715e2a71f53fd4082452b8ee48448d2a4fc 100755 (executable)
@@ -9,6 +9,6 @@ echo get_class($obj)."\n";
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 stdClass
 Done
index b4554dc30de5b2e5f033265ac5d7b611f8446dfa..2e40461eca4501717a3a9dcc81365a730ce2b2c1 100755 (executable)
@@ -23,26 +23,6 @@ echo "Done\n";
 ?>
 --EXPECT--
 Object
-object(test)#1 (3) {
-  ["p1"]=>
-  int(1)
-  ["p2"]=>
-  string(1) "A"
-  ["p3"]=>
-  string(1) "B"
-}
-Clown
-object(test)#2 (3) {
-  ["p1"]=>
-  int(1)
-  ["p2"]=>
-  string(1) "A"
-  ["p3"]=>
-  string(1) "C"
-}
-Done
---UEXPECT--
-Object
 object(test)#1 (3) {
   [u"p1"]=>
   int(1)
index 2c319ed3d27dfbaab1924c50a7f3d4a6981fce69..5c51c483a61256f4ff0a18de6d5acf0341bda000 100755 (executable)
@@ -25,26 +25,6 @@ echo "Done\n";
 ?>
 --EXPECT--
 Object
-object(test)#1 (3) {
-  ["p1"]=>
-  int(1)
-  ["p2"]=>
-  string(1) "A"
-  ["p3"]=>
-  string(1) "B"
-}
-Clown
-object(test)#2 (3) {
-  ["p1"]=>
-  int(1)
-  ["p2"]=>
-  string(1) "A"
-  ["p3"]=>
-  string(1) "C"
-}
-Done
---UEXPECT--
-Object
 object(test)#1 (3) {
   [u"p1"]=>
   int(1)
index 1116aa62d331983ca35625c665e5226605d2b0b6..ddb7206fdcce1091912a8755988f6f6f2c628a24 100755 (executable)
@@ -39,49 +39,6 @@ echo "Done\n";
 ?>
 --EXPECT--
 Original
-object(test)#1 (2) {
-  ["b"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(4)
-  }
-  ["a"]=>
-  array(2) {
-    [0]=>
-    int(1)
-    [1]=>
-    int(2)
-  }
-}
-Clone
-object(test)#2 (2) {
-  ["b"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(4)
-  }
-  ["a"]=>
-  array(2) {
-    [0]=>
-    int(1)
-    [1]=>
-    int(2)
-  }
-}
-Modify
-object(test)#2 (2) {
-  ["b"]=>
-  int(6)
-  ["a"]=>
-  int(5)
-}
-Done
---UEXPECT--
-Original
 object(test)#1 (2) {
   [u"b"]=>
   array(2) {
index 57e303cd585196ebba0c2574bb3998e44cab6f01..fe0929a03cf5f95afa98cca7655dc39caa6e8f62 100644 (file)
@@ -63,36 +63,6 @@ Notice: Undefined variable: undef in %s on line 5
 
 Attempt to access various kinds of class constants:
 
-Notice: Use of undefined constant UNDEFINED - assumed 'UNDEFINED' in %s on line %d
-string(9) "UNDEFINED"
-int(1)
-float(1.5)
-int(1)
-float(1.5)
-int(-1)
-float(-1.5)
-int(15)
-string(%d) "%s"
-string(1) "C"
-string(1) "C"
-string(0) ""
-int(1234)
-int(456)
-NULL
-string(6) "hello1"
-string(6) "hello2"
-string(6) "hello2"
-string(6) "hello2"
-
-Expecting fatal error:
-
-Fatal error: Undefined class constant 'c19' in %s on line 53
---UEXPECTF--
-
-Notice: Undefined variable: undef in %s on line 5
-
-Attempt to access various kinds of class constants:
-
 Notice: Use of undefined constant UNDEFINED - assumed 'UNDEFINED' in %s on line %d
 unicode(9) "UNDEFINED"
 int(1)
@@ -116,4 +86,4 @@ unicode(6) "hello2"
 
 Expecting fatal error:
 
-Fatal error: Undefined class constant 'c19' in %s on line 53
\ No newline at end of file
+Fatal error: Undefined class constant 'c19' in %s on line 53
index f660ffeca7d1485faedf1f39826266da1b8286a5..c42f080d2806c8e0b0920cebe03571ba55151653 100644 (file)
@@ -18,19 +18,6 @@ Basic class support - defining and reading a class constant.
   var_dump($myInstance)
 ?>
 --EXPECTF--
-
-Read class constant.
-string(5) "hello"
-
-Fail to read class constant from instance.
-
-Notice: Undefined property: aclass::$myConst in %s on line 12
-NULL
-
-Class constant not visible in object var_dump.
-object(aclass)#%d (0) {
-}
---UEXPECTF--
 Read class constant.
 unicode(5) "hello"
 
@@ -41,4 +28,4 @@ NULL
 
 Class constant not visible in object var_dump.
 object(aclass)#%d (0) {
-}
\ No newline at end of file
+}
index 39e6bd8784afa31d17b929af637224c7dffdfe8f..c58a93ff2e16ee0befc067969c772f6ffa6cbb8e 100644 (file)
@@ -21,13 +21,8 @@ Ensure class properties and constants can be defined in terms of constants that
   var_dump(B::ca);
   var_dump(B::cc);
 ?>
---EXPECTF--
-string(12) "hello from A"
-string(12) "hello from C"
-string(12) "hello from A"
-string(12) "hello from C"
---UEXPECTF--
+--EXPECT--
 unicode(12) "hello from A"
 unicode(12) "hello from C"
 unicode(12) "hello from A"
-unicode(12) "hello from C"
\ No newline at end of file
+unicode(12) "hello from C"
index 6287d807629d72cbd7d2fecfa110fc4ac34123ae..3da485a52eb97d712aa0ab1f3105a327cf3660d7 100644 (file)
@@ -43,61 +43,6 @@ Test properties with array default values using class constants as keys and valu
 ?>
 --EXPECTF--
 
-Static properties:
-array(1) {
-  ["key"]=>
-  string(5) "value"
-}
-array(1) {
-  ["key"]=>
-  string(5) "value"
-}
-array(1) {
-  ["key"]=>
-  string(5) "value"
-}
-array(1) {
-  ["key"]=>
-  string(5) "value"
-}
-array(1) {
-  ["key"]=>
-  string(5) "value"
-}
-
-Instance properties:
-object(X)#%d (1) {
-  ["a_x"]=>
-  array(1) {
-    ["key"]=>
-    string(5) "value"
-  }
-}
-object(B)#%d (1) {
-  ["a_b"]=>
-  array(1) {
-    ["key"]=>
-    string(5) "value"
-  }
-}
-object(C)#%d (3) {
-  ["a_c_parent"]=>
-  array(1) {
-    ["key"]=>
-    string(5) "value"
-  }
-  ["a_c_self"]=>
-  array(1) {
-    ["key"]=>
-    string(5) "value"
-  }
-  ["a_b"]=>
-  array(1) {
-    ["key"]=>
-    string(5) "value"
-  }
-}
---UEXPECTF--
 Static properties:
 array(1) {
   [u"key"]=>
@@ -151,4 +96,4 @@ object(C)#%d (3) {
     [u"key"]=>
     unicode(5) "value"
   }
-}
\ No newline at end of file
+}
index 0d3b44c22ca18adfe69f8ee31859f4e4e9714b26..0ae07733a1796fbae7d8c71d3c1fa087baab28b5 100644 (file)
@@ -10,9 +10,6 @@ Test constants with default values based on other constants.
   }
   var_dump(C::CONST_1, C::CONST_2);
 ?>
---EXPECTF--
-string(5) "hello"
-string(5) "hello"
---UEXPECTF--
+--EXPECT--
 unicode(5) "hello"
 unicode(5) "hello"
index dcdb01bfe4cebd365672522b9b05fd5030b5b0fe..0567998b7dcae264566e7617e962b11a4c09a034 100644 (file)
@@ -19,29 +19,7 @@ Ensure class constants are not evaluated when a class is looked up to resolve in
   
   var_dump(C::X, C::$a, D::X, D::$a, E::X, E::$a);
 ?>
---EXPECTF--
-string(5) "hello"
-array(2) {
-  ["nasty"]=>
-  string(4) "test"
-  ["hello"]=>
-  string(5) "nasty"
-}
-string(5) "hello"
-array(2) {
-  ["nasty"]=>
-  string(4) "test"
-  ["hello"]=>
-  string(5) "nasty"
-}
-string(5) "hello"
-array(2) {
-  ["nasty"]=>
-  string(4) "test"
-  ["hello"]=>
-  string(5) "nasty"
-}
---UEXPECTF--
+--EXPECT--
 unicode(5) "hello"
 array(2) {
   [u"nasty"]=>
@@ -62,4 +40,4 @@ array(2) {
   unicode(4) "test"
   [u"hello"]=>
   unicode(5) "nasty"
-}
\ No newline at end of file
+}
index ea6813cc96d6e4611a5f7485385c90481e26ee54..7fa99cde6b122f77db4da49d95d8377cff7f9358 100644 (file)
@@ -31,7 +31,7 @@ $t = new late();
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 early::early
 early::early
 early::__destruct
index 8ae2a5dec485ebd4de9a32551ceb4f6643a519bf..3cc0c039bd183ef9e871ba30d4b273893f958dec 100644 (file)
@@ -54,7 +54,7 @@ unset($t);
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Testing class base
 base::__construct
 base Object
index 1a1d6fa511d0dd9e4d4fee969730792bf8b2b64f..aab57de5fa88b02b2128ce3b8ddb562b3d7201aa 100644 (file)
@@ -17,6 +17,6 @@ class derived extends base {
 $obj = new derived();
 $obj->base();
 ?>
---EXPECTF--
+--EXPECT--
 base::base
 derived::base
index 8100c924656e3a2b87c7ae7c6a2f39c267d5d742..0da6e642af030bb1b4669731898e9a0eb9fb4b01 100755 (executable)
@@ -51,7 +51,7 @@ catch(FatalException $e)
 
 ?>
 ===DONE===
---EXPECTF--
+--EXPECT--
 FailClass::__destruct
 Caught: FailClass
 FatalException::__construct
index b9a46659b052f1e3978cba6a9c44fdae3c42471c..868c8960c8bbb5177c1a7c781431332f7c093c50 100755 (executable)
@@ -26,4 +26,4 @@ echo 'Done';
 --EXPECT--
 base::__construct
 base::__destruct
-Done
\ No newline at end of file
+Done
index 83e3efe22e4494a9253847462220d4b9d654516b..b1bb820bb85f4cadfe9a86c1f2de882f92df562e 100755 (executable)
@@ -23,6 +23,6 @@ unset($obj); // Derived::__destruct is being called not Base::__destruct
 
 ?>
 ===DONE===
---EXPECTF--
+--EXPECT--
 Derived::__destruct
 ===DONE===
index 81cf714888b8739c885fec90027037214f998bda..77bebf0ad54556b97f099ec11f20c145a5959e0e 100755 (executable)
@@ -17,4 +17,3 @@ echo "Done\n";
 ?>
 --EXPECTF--
 Fatal error: Call to private test::__destruct() from context '' in %sfactory_and_singleton_006.php on line %d
-
index b4e37a36f64647f2ed72a7a81138200ec4bef8b7..b3499c795d3e9a4f7d49b74d1542902e40097e9a 100644 (file)
@@ -25,7 +25,7 @@ $t2->show();
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Call to function first::show()
 Call to function second::show()
-Done
\ No newline at end of file
+Done
index 185a9132801630540e3dde8c124da1cf0011c52d..cbd62f05e56f7bbf2a2df72cfb14b8445c5d4387 100755 (executable)
@@ -58,19 +58,6 @@ $cm= new Child_mx2();
 ?>
 --EXPECT--
 ### PHP 4 style
-string(17) "Child constructor"
-string(16) "Base constructor"
-### PHP 5 style
-string(17) "Child constructor"
-string(16) "Base constructor"
-### Mixed style 1
-string(17) "Child constructor"
-string(16) "Base constructor"
-### Mixed style 2
-string(17) "Child constructor"
-string(16) "Base constructor"
---UEXPECT--
-### PHP 4 style
 unicode(17) "Child constructor"
 unicode(16) "Base constructor"
 ### PHP 5 style
index 8990264d9204e4a7e79f92d0a2e516af10ca6ca2..6e080f8db290f00b4167d3a66ffd0102b9baea47 100644 (file)
@@ -40,7 +40,7 @@ Check for inherited old-style constructor.
   echo "Is C::C() callable?\n";
   var_dump(is_callable(array($c, "C")));
 ?>
---EXPECTF--
+--EXPECT--
 About to construct new B: 
 In A::A
 Is B::B() callable?
index ae3e71e7abbee41c5b0881771ef8f2341968f9fb..cc76afa11fa270dccbb91303f24579ba570dc390 100644 (file)
@@ -14,4 +14,4 @@ echo "Done\n";
 ?>
 --EXPECTF--
 
-Fatal error: Cannot inherit previously-inherited constant FOO from interface I1 in %s on line 6
\ No newline at end of file
+Fatal error: Cannot inherit previously-inherited constant FOO from interface I1 in %s on line 6
index d5001baa3de14bae1b75722c61ad81ecfc560951..fa90dfdd52e27149e65ebfa71cc2e9ee409c46b0 100644 (file)
@@ -14,4 +14,4 @@ echo "Done\n";
 ?>
 --EXPECTF--
 
-Fatal error: Cannot inherit previously-inherited constant FOO from interface I in %s on line 6
\ No newline at end of file
+Fatal error: Cannot inherit previously-inherited constant FOO from interface I in %s on line 6
index f05592957847a677f0c1151ea10adef9d87d4ace..7f2d3e514fbcdd914d79545054689967cf6c5bf3 100644 (file)
@@ -14,5 +14,5 @@ class C implements IA, IB {
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Done
index e1dd31fd4d8dec741412ae4e7d8435d882edc57b..7c478b5ab7fe509df60891af3cbd224a294005f4 100644 (file)
@@ -155,7 +155,7 @@ echo $t->test('if_e');
 
 ?>
 ===DONE===
---EXPECTF--
+--EXPECT--
 class_a
 is_a(class_a, if_a) yes
 is_a(class_a, if_b) no
index e33a4da002d017eab2b42280c21422f7563e2cfd..3edc92494be4210cca4576b86004567128ce0783 100644 (file)
@@ -61,7 +61,7 @@ $t = new derived_d();
 $t->test();
 
 ?>
---EXPECTF--
+--EXPECT--
 is_a(base, base) = yes
 is_a(base, derived_a) = no
 is_a(base, derived_b) = no
index 05f2fc41dfa82e9745b88ef5d60384bbdea22aad..71514001abea70045fd2ed80a05ecef3d5da090a 100755 (executable)
@@ -24,4 +24,3 @@ $foo->bar();
 ?>
 --EXPECT--
 foo
-
index 92980f65b44aaee264b29487161a00e45b2db13e..9987e925e0ec164ef8b5fa4efe9124bbf879cca2 100644 (file)
@@ -21,4 +21,4 @@ $foo->bar();
 
 ?>
 --EXPECT--
-int(2)
\ No newline at end of file
+int(2)
index 41e1f6776d895b5c798f3333a0a980c326f2e571..dcf985c4e56db9906f3681ff1be02f245c96023c 100644 (file)
@@ -23,4 +23,3 @@ echo $foo->getMessage() . "\n";
 ?>
 --EXPECT--
 foo
-
index 3fe05276c3bf9774ba9913307b79f871b77e0d6e..63173fae9dac6c8f2f3354acbe86c26db251c302 100755 (executable)
@@ -53,7 +53,7 @@ foreach($obj as $v => $w) {
 
 print "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 1st try
 2nd try
 object:max=>3
index 47fa69087a2cd7b228c12459579aaa71fa0e59c7..e00a00afffb0dfce2132138e959285e6d3536cac 100644 (file)
@@ -84,4 +84,4 @@ foreach ($array as $property => $value) {
 0: foo
 1: bar
 2: baz
-===DONE===
\ No newline at end of file
+===DONE===
index dd43cfd1cb533a837ff50ff4cf9603d60aea86bb..6c1a0838b70b423b85f1174fcaba36bcef61783d 100644 (file)
@@ -30,7 +30,7 @@ In $a->$b[Y](), $b[Y] represents a method name on $a. But in $a->X[Y](), $a->X[Y
   $c->functions[0](5, 6);
   $c->functions[1][2][3][4](7, 8);
 ?>
---EXPECTF--
+--EXPECT--
 Called C::foo(1, 2)
 Called C::foo(3, 4)
 Called global foo(5, 6)
index 48f4f6bb0e78c1aba482b14be6e112a5fa1e7e39..49b3bc41722ba9a09e3c45debfdb20cbf11dd7df 100644 (file)
@@ -32,24 +32,6 @@ error_reporting=E_ALL | E_DEPRECATED
 Deprecated: Assigning the return value of new by reference is deprecated in %s on line 23
 Compile-time strict error message should precede this.
 $f initially points to the first object:
-object(Inc)#%d (1) {
-  ["id"]=>
-  int(1)
-}
-Assigning new object directly to $k affects $f:
-object(Inc)#%d (1) {
-  ["id"]=>
-  int(2)
-}
-Assigning new object by ref to $k removes it from $f's reference set, so $f is unchanged:
-object(Inc)#%d (1) {
-  ["id"]=>
-  int(2)
-}
---UEXPECTF--
-Deprecated: Assigning the return value of new by reference is deprecated in %s on line 23
-Compile-time strict error message should precede this.
-$f initially points to the first object:
 object(Inc)#%d (1) {
   [u"id"]=>
   int(1)
index ea3fe610d37e79a5cf44e4c71c8d8574cfeb44d1..2d1850b519c0dee40c8594d69fb9f079c95748fc 100644 (file)
@@ -32,4 +32,4 @@ echo "Done\n"; // shouldn't be displayed
 --EXPECTF--
 Call show()
 
-Fatal error: Call to private method pass::show() from context 'fail' in %s on line %d
\ No newline at end of file
+Fatal error: Call to private method pass::show() from context 'fail' in %s on line %d
index 0bb2b3fe4b1edd76f748ff5f1fb842729057104b..66c7aa2280f092e0de2255ac3b09349ba1e36b8b 100644 (file)
@@ -34,7 +34,7 @@ class fail extends third {
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Call show()
 Call show()
 Call show()
index 950f16a3c4d949273b9e479a6a69954e1e93fea6..e828e19711f164906aa04930d2b4c95f5af828c8 100644 (file)
@@ -35,7 +35,7 @@ $t3->do_show();
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Call show()
 Call show()
-Done
\ No newline at end of file
+Done
index 73a38c45627fba7ccde27e5c5c8a489da71d0f4b..298fa689c5140bcfb764e2ef76716a28e7bfb159 100644 (file)
@@ -24,7 +24,7 @@ Foo::priv();
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Bar::priv()
 Foo::priv()
 Done
index 02ddc25dece99160aa01ae459b4a740f03afe465..c127f28d62db7f36c04dc3300bb83e4df488b25c 100644 (file)
@@ -25,7 +25,7 @@ $obj->priv();
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Bar::priv()
 Foo::priv()
 Done
index a8ef9ab9202f3e966c242dc1821b583cd0eab52c..c2c2cd3b26b3b38a83d8eae17516e522d2513ee6 100755 (executable)
@@ -53,7 +53,7 @@ unset($t);
 echo "Done\n";
 
 ?>
---EXPECTF--
+--EXPECT--
 derived::__construct(begin)
 base::__construct(begin)
 base::test
index ddd2e5d1ac3f59174dcd1b9e923b2ef121842f7a..b2985add7db8e582ee06883e02f46c0a1e3ac197 100644 (file)
@@ -27,7 +27,7 @@ Redeclare inherited private static property as private.
   $b->showA();
   $b->showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p (static)
 A::p (static)
 B::p
index d7d645fd0ac65eaa6f0e6a776f2ac07fda89d437..f435516a3f30e72b25c448b774328b34f712da12 100644 (file)
@@ -26,7 +26,7 @@ Redeclare inherited private static property as private static.
   B::showA();
   B::showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p (static)
 A::p (static)
 B::p (static)
index d4732166c61501e4382f5eb7a037c44040aa13ef..fac66c32bb7cbfdaee70abaf9442383580945ae8 100644 (file)
@@ -27,7 +27,7 @@ Redeclare inherited private static property as protected.
   $b->showA();
   $b->showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p (static)
 A::p (static)
 B::p
index 169ff9a3774cc1fc16da022a487868db2e8c7a80..08c0b227045efd7b9f5bbd403c8ee673b74b9bc4 100644 (file)
@@ -26,7 +26,7 @@ Redeclare inherited private static property as protected static.
   B::showA();
   B::showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p (static)
 A::p (static)
 B::p (static)
index 033eb75231fbc1d2aceabedd7af9dbea7dc227d5..72423710031b8b69d433bbe69bc02b08fbe17f7a 100644 (file)
@@ -27,7 +27,7 @@ Redeclare inherited private static property as public.
   $b->showA();
   $b->showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p (static)
 A::p (static)
 B::p
index 5f2b6bf4a896e88a36fa9aa61edeea7ee1e5a56c..1fe43fb619db7cca33158f59b968bca42bd9d1dc 100644 (file)
@@ -26,7 +26,7 @@ Redeclare inherited private static property as public static.
   B::showA();
   B::showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p (static)
 A::p (static)
 B::p (static)
index 2b263eeb6734f0a5de7b3ec7021f3661544285a2..2d45f33430fccffca4e8a3bd7c2c7c689989ab01 100644 (file)
@@ -28,7 +28,7 @@ Redeclare inherited private property as private.
   $b->showA();
   $b->showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p
 A::p
 B::p
index 606ed21d087533991b11119814fdf3d270c60139..1bc3c9fe52a6bd24f16da835b1be9cbb59ad7abf 100644 (file)
@@ -28,7 +28,7 @@ Redeclare inherited private property as private static.
   $b->showA();
   B::showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p
 A::p
 B::p (static)
index b84ed6787e8d1569fbc2b1156baa6feb15a80835..d284272d02d548b2b7654c8bd6cf746ddd8b6a91 100644 (file)
@@ -28,7 +28,7 @@ Redeclare inherited private property as protected.
   $b->showA();
   $b->showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p
 A::p
 B::p
index 1bb303dab7943127809c87e95309b2175f0d20ea..c7c54eab95eeb12f3cd2bbf5f90cf046eace7b80 100644 (file)
@@ -28,7 +28,7 @@ Redeclare inherited private property as protected static.
   $b->showA();
   B::showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p
 A::p
 B::p (static)
index badbe91d5056da011e49f336ce3458edb3539542..6468432d18a20583739b6a932944d0182ba5499f 100644 (file)
@@ -28,7 +28,7 @@ Redeclare inherited private property as public.
   $b->showA();
   $b->showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p
 A::p
 B::p
index 9fc58ece4ac5bf819554e89f78cbf1eef8e1e989..4057f83390945c28a0d48f24b2f65d7967bc566a 100644 (file)
@@ -28,7 +28,7 @@ Redeclare inherited private property as public static.
   $b->showA();
   B::showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p
 A::p
 B::p (static)
index 18e9c78a132a4eedf784d0805e721961425e7481..0b12aef87a32908a8b84733eb509508980548a7e 100644 (file)
@@ -30,4 +30,3 @@ Redeclare inherited protected static property as private.
 --EXPECTF--
 
 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 18
-
index 688621077da5fb93019aa667fe06122421e2b19a..265adfa72e2fa17c108f7f608bb63f6bdbe0093f 100644 (file)
@@ -29,4 +29,3 @@ Redeclare inherited protected static property as private static.
 --EXPECTF--
 
 Fatal error: Access level to B::$p must be protected (as in class A) or weaker in %s on line 18
-
index 0e5fdd301c54c75dcb786ff503edbbc35f4a02fd..7b0daff859d59d17d0e5f59af1f9a2db4dc930d7 100644 (file)
@@ -30,4 +30,3 @@ Redeclare inherited protected static property as protected.
 --EXPECTF--
 
 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 18
-
index 16f1100947522b6157a6327654907431f0a19d3b..d2d1c0c379705e33944cb67bdd880cf0128d2d72 100644 (file)
@@ -26,7 +26,7 @@ Redeclare inherited protected static property as protected static.
   B::showA();
   B::showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p (static)
 A::p (static)
 B::p (static)
index 63033255901c63c5795b0f26fddec65d47c4391d..c96663d1c909f786b7d3b02013f5ce431aa4556b 100644 (file)
@@ -30,4 +30,3 @@ Redeclare inherited protected static property as public.
 --EXPECTF--
 
 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 18
-
index e437c5f30f3d93a50e74311f31e9cdc8af1230e8..1792e7eec2d96740a614f363d29f62e3c9649608 100644 (file)
@@ -26,8 +26,7 @@ Redeclare inherited protected static property as public static.
   B::showA();
   B::showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p (static)
 A::p (static)
 B::p (static)
-
index c4b0d438c0364483d241756eec02b587c2169f7c..096f53d515296d449189b4056b19dff69ae27216 100644 (file)
@@ -28,7 +28,7 @@ Redeclare inherited protected property as protected.
   $b->showA();
   $b->showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p
 B::p
 B::p
index 4702f9a0cfff5f30d28751f1a92967193604ea17..c2db91b14c8c74a4fa410ebcf70ae789a582e6e9 100644 (file)
@@ -28,7 +28,7 @@ Redeclare inherited protected property as public.
   $b->showA();
   $b->showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p
 B::p
 B::p
index 7abe92c9ffc6c39e13e815a8126950d8f600f689..422c8d2f6fe69a501608213a6cb303333e29993b 100644 (file)
@@ -30,4 +30,3 @@ Redeclare inherited public static property as private.
 --EXPECTF--
 
 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 18
-
index d41db6da38bb8d8f0093ce9eeaa49a2f2c43523e..bd9b08348338589309d970283052158ffb467fc1 100644 (file)
@@ -29,4 +29,3 @@ Redeclare inherited public static property as private static.
 --EXPECTF--
 
 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 18
-
index 884159f977139c5902a3b6d3eb9c90d569cb386a..3e72ca23d3a88ffa0eeaaed131be8886bb958cd2 100644 (file)
@@ -30,4 +30,3 @@ Redeclare inherited public static property as protected.
 --EXPECTF--
 
 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 18
-
index b022ef8049d9634af01fb8df357a70b136afad82..c36933cca6ad97a763a946b4740f3a1b7b6631d2 100644 (file)
@@ -29,4 +29,3 @@ Redeclare inherited public static property as protected static.
 --EXPECTF--
 
 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 18
-
index d099da04743fc24f76991baf7397cbbcd59cc7cc..a4f295da7febb601c18b69baf62e9ecab5a86228 100644 (file)
@@ -30,4 +30,3 @@ Redeclare inherited public static property as public.
 --EXPECTF--
 
 Fatal error: Cannot redeclare static A::$p as non static B::$p in %s on line 18
-
index 9a868670407a98bb7eec956357a131a7d20c1527..8d0f9ad079336a695768861672367e17a6fe3ee0 100644 (file)
@@ -26,7 +26,7 @@ Redeclare inherited public static property as public static.
   B::showA();
   B::showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p (static)
 A::p (static)
 B::p (static)
index c0f37ad95a111ada1dcbcebc5ac653b0ff5fa144..45687fbacc66ee687aaf303989ed2ea99d39cc0c 100644 (file)
@@ -31,4 +31,3 @@ Redeclare inherited public property as private.
 --EXPECTF--
 
 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 18
-
index 68fdf8286f2a3c2e665d10df368cba81510422a0..20795b58353ef859dd1d9291a98d10dde7b20fea 100644 (file)
@@ -31,4 +31,3 @@ Redeclare inherited public property as protected.
 --EXPECTF--
 
 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 18
-
index 893fe5d048f1544685da7494c049621c5797f0ea..3abfe24e292e215094b2737bf78d8010d860df2b 100644 (file)
@@ -28,7 +28,7 @@ Redeclare inherited public property as public.
   $b->showA();
   $b->showB();
 ?>
---EXPECTF--
+--EXPECT--
 A::p
 B::p
 B::p
index 44d7bafadb65ac216fc17fd83af3a4aaeba2591b..27d553e3defe4dc83dfdde8cece1d3bdb1630bf6 100755 (executable)
@@ -49,36 +49,6 @@ foreach($tests as $data)
 <?php exit(0); ?>
 --EXPECT--
 ==========
-string(6) "String"
-Test::__construct(String)
-Test::serialize(String)
-Test::unserialize(String)
-object(Test)#1 (1) {
-  ["data"]=>
-  string(6) "String"
-}
-object(Test)#1 (1) {
-  ["data"]=>
-  string(6) "String"
-}
-==========
-NULL
-Test::__construct()
-Test::serialize()
-NULL
-==========
-int(42)
-Test::__construct(42)
-Test::serialize(42)
-Exception: Test::serialize() must return a string or NULL
-==========
-bool(false)
-Test::__construct()
-Test::serialize()
-Exception: Test::serialize() must return a string or NULL
-===DONE===
---UEXPECT--
-==========
 unicode(6) "String"
 Test::__construct(String)
 Test::serialize(String)
index ecc9c01a2820d89174a4d20c9e410b36b1bf5d7b..a25df8204b511beb57f6e755b2333483bb6d368b 100644 (file)
@@ -21,6 +21,6 @@ pass::show();
 fail::show();
 
 echo "Done\n"; // shouldn't be displayed
-?>                                                            
+?>
 --EXPECTF--
-Fatal error: Cannot make static method pass::show() non static in class fail in %s on line %d
\ No newline at end of file
+Fatal error: Cannot make static method pass::show() non static in class fail in %s on line %d
index bbdaedf50ae1d056b48bace0a6fc9158e1c5ee7b..cecb37bdaf589496a99ebc522f74469e493352cc 100644 (file)
@@ -24,4 +24,4 @@ fail::show();
 echo "Done\n"; // shouldn't be displayed
 ?>
 --EXPECTF--
-Fatal error: Cannot make non static method pass::show() static in class fail in %s on line %d
\ No newline at end of file
+Fatal error: Cannot make non static method pass::show() static in class fail in %s on line %d
index 1c34f68fc55308bab6fea0103e675e45291c9d63..699f1895a9bf547045cbfaa663d2467585e0e59f 100755 (executable)
@@ -17,7 +17,7 @@ var_dump(test::$ar);
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 array(0) {
 }
 array(1) {
index d5ec4d9c2578bfcf7d01a000d85ef0f3905eacd8..4f8d482bac83d7481a48b1c3a4f9cbe5c5009108 100755 (executable)
@@ -81,60 +81,6 @@ echo $o;
 test1 Object
 (
 )
-string(54) "Object of class test1 could not be converted to string"
-string(0) ""
-object(test1)#%d (0) {
-}
-====test2====
-test2 Object
-(
-)
-test2::__toString()
-Converted
-object(test2)#%d (0) {
-}
-====test3====
-test2::__toString()
-Converted
-====test4====
-test2::__toString()
-string:Converted
-====test5====
-test2::__toString()
-1Converted
-1test2::__toString()
-Converted
-====test6====
-test2::__toString()
-test2::__toString()
-Converted
-Converted
-test2::__toString()
-Converted
-test2::__toString()
-Converted
-====test7====
-test2::__toString()
-string(19) "Illegal offset type"
-====test8====
-test2::__toString()
-string(9) "Converted"
-test2::__toString()
-string(9) "Converted"
-====test9====
-test2::__toString()
-Converted
-====test10====
-object(test3)#%d (0) {
-}
-test3::__toString()
-string(53) "Method test3::__toString() must return a string value"
-====DONE====
---UEXPECTF--
-====test1====
-test1 Object
-(
-)
 unicode(54) "Object of class test1 could not be converted to string"
 unicode(0) ""
 object(test1)#%d (0) {
index 8a4a7af33990860d84f2035926900080f62fe5a1..ecc9e25ffd83c3780490ba3f0ce5680d6bcd20c0 100755 (executable)
@@ -25,7 +25,7 @@ $o = new Test;
 
 ?>
 ====DONE====
---EXPECTF--
+--EXPECT--
 Hello
 ====DONE====
 Hello
index a323a5bfc51f18eda6558db122d883cd9bcff6de..dc078a35ce3bcfee079162c68742f38e997e5c7a 100644 (file)
@@ -34,26 +34,7 @@ echo "\nTry 2:\n";
 printf($obj . "\n");
 
 ?>
---EXPECTF--
-Object with no __toString():
-Try 1:
-Error: 4096 - Object of class stdClass could not be converted to string
-Error: 8 - Object of class stdClass to string conversion
-Object
-
-Try 2:
-Error: 4096 - Object of class stdClass could not be converted to string
-
-
-
-Object with bad __toString():
-Try 1:
-Error: 4096 - Method badToString::__toString() must return a string value
-
-
-Try 2:
-Error: 4096 - Method badToString::__toString() must return a string value
---UEXPECTF--
+--EXPECT--
 Object with no __toString():
 Try 1:
 Error: 4096 - Object of class stdClass could not be converted to Unicode string
index 064106e979645122a80ab6964f8db00350af902f..ffa9c52143393c035d382163d592168d2c8b1a47 100644 (file)
@@ -29,5 +29,5 @@ class fail extends same {
 
 echo "Done\n"; // shouldn't be displayed
 ?>
---EXPECTF--
+--EXPECT--
 Done
index bb1075aaed12c6778857c58e16c6368e1d41c2b5..0c470f374625f31483d8712c5b40cfd9d671ee0b 100644 (file)
@@ -29,5 +29,5 @@ class fail extends same {
 
 echo "Done\n"; // shouldn't be displayed
 ?>
---EXPECTF--
+--EXPECT--
 Done
index 5edae1d068dbfd7cf1c8be382a1863c28bf37185..c266f95d1694468cfce5796f5c93d02c5550b061 100644 (file)
@@ -29,5 +29,5 @@ class fail extends same {
 
 echo "Done\n"; // shouldn't be displayed
 ?>
---EXPECTF--
+--EXPECT--
 Done
index 1693386f814ad7e9d551e2b0a7ee9cd2c4f9fa6e..38f68d1f9501daef6c5dfc3c214d8bfa27c511fe 100644 (file)
@@ -29,5 +29,5 @@ class fail extends same {
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Done
index d94a9c116b0856019eb26a2d4b2d575f99aadc05..4e158451003213faa7673ce9a3b26a79cdbfbaf5 100644 (file)
@@ -29,5 +29,5 @@ class fail extends same {
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Done
index 6f16a09eddb5ba0941b6de4edd578a580a2efe38..9b70927045701841b5636a0473539cb056a40a4c 100644 (file)
@@ -29,5 +29,5 @@ class fail extends same {
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Done
index 74a83185ee211efb8e62e32f295ca98a71a8fdee..457446f7922a2a278d584970db7ae6b18f7245af 100644 (file)
@@ -29,5 +29,5 @@ class fail extends same {
 
 echo "Done\n"; // shouldn't be displayed
 ?>
---EXPECTF--
+--EXPECT--
 Done
index 92a770374e10b5c2765f65a9fef2c14fe414fdad..6f1ff355bcb8adaad8db4dd73d6778d6d8f9856d 100644 (file)
@@ -29,5 +29,5 @@ class fail extends same {
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 Done
index d6037840763e0650a31ef57c2491037e5924b7b3..d864c334f55a69cfdbd239eec6ffc30d9fd537f5 100644 (file)
@@ -288,4 +288,3 @@ factorial(4) = 24
 3
 4
 5
-
index c4215feb4988e1bfcc3113564bdef4de4136ebd3..3c8a6de9474f0e6799fd7f8d253c64941008d0d5 100644 (file)
@@ -16,4 +16,3 @@ print "foo() will be called on shutdown...\n";
 --EXPECT--
 foo() will be called on shutdown...
 foo
-
index f634906d5ac68ab03c3d311669d4c1fb8d61a835..077b6f873cb139afc4ceeb5a560c5f6430c5eeba 100644 (file)
@@ -24,6 +24,3 @@ var_dump( $a ); // 1A
 --EXPECT--
 string(2) "2B"
 string(2) "1A"
---UEXPECT--
-string(2) "2B"
-string(2) "1A"
index 6778ed2f11f1e3546c09def549d2e9c923ef2003..ffc64a1130163302ddda90b3d30385fe014bb186 100644 (file)
@@ -8,7 +8,7 @@ $boundary = 64*1024;
 $limit    = $boundary+42;
 
 
-function test($a,$b)
+function test($a, $b)
 {
        var_dump($a === $b);
        test2($a,$b);
index be8ebf415523397c93e254aed394081d29ab54c2..470c68f543b09c09fa1ebb0139b8eeabb976f799 100644 (file)
@@ -8,6 +8,6 @@ if($a==0) {
 } else {
        echo "good";
 }
-?>     
+?>
 --EXPECT--
 good
index 404a7cbbf6d055ce29edc384ef25e927368810eb..02c885104aeb6a1fb7d4589723b9afa3d7da6a3d 100644 (file)
@@ -11,6 +11,6 @@ if($a==0) {
 } else {
        echo "good";
 }
-?>     
+?>
 --EXPECT--
 good
index 2a2db013aba8d05d9e244668dc920cbe0eb2d68f..5056b8a4eef37e9572aa2251645a28e9cfc15e02 100644 (file)
@@ -18,6 +18,6 @@ if($a==0) {
                echo "bad";
        }
 }
-?>     
+?>
 --EXPECT--
 good
index 4576d4efa5323b366ce86af61d3294fbc52103cb..946ae9babb59ee6dd33040b793c7d0999257cf18 100644 (file)
@@ -17,9 +17,9 @@ function Test()
        echo "$a $c ";
 }
 
-Test();        
+Test();
 echo "$a $b $c ";
-Test();        
+Test();
 echo "$a $b $c ";
 Test();
 ?>
index 8d52e844c96cde727da3b6b107492205d20d5518..beec28b13a0799a7da89881a090cc2eefc9295da 100755 (executable)
@@ -9,7 +9,7 @@
  */
 ?>
 
-*** Testing assignments and variable aliasing: ***<br>
+*** Testing assignments and variable aliasing: ***<br />
 <?php 
   /* This test tests assignments to variables using other variables as variable-names */
   $a = "b"; 
   $$$a = "blah"; 
   ${$$$a}["associative arrays work too"] = "this is nifty";
 ?>
-This should read "blah": <?php echo "$test<br>\n"; ?>
-This should read "this is nifty": <?php echo $blah[$test="associative arrays work too"]."<br>\n"; ?>
-*************************************************<br>
+This should read "blah": <?php echo "$test<br />\n"; ?>
+This should read "this is nifty": <?php echo $blah[$test="associative arrays work too"]."<br />\n"; ?>
+*************************************************<br />
 
-*** Testing integer operators ***<br>
+*** Testing integer operators ***<br />
 <?php 
   /* test just about any operator possible on $i and $j (ints) */
   $i = 5;
   $j = 3;
 ?>
-Correct result - 8:  <?php echo $i+$j; ?><br>
-Correct result - 8:  <?php echo $i+$j; ?><br>
-Correct result - 2:  <?php echo $i-$j; ?><br>
-Correct result - -2:  <?php echo $j-$i; ?><br>
-Correct result - 15:  <?php echo $i*$j; ?><br>
-Correct result - 15:  <?php echo $j*$i; ?><br>
-Correct result - 2:  <?php echo $i%$j; ?><br>
-Correct result - 3:  <?php echo $j%$i; ?><br>
-*********************************<br>
+Correct result - 8:  <?php echo $i+$j; ?><br />
+Correct result - 8:  <?php echo $i+$j; ?><br />
+Correct result - 2:  <?php echo $i-$j; ?><br />
+Correct result - -2:  <?php echo $j-$i; ?><br />
+Correct result - 15:  <?php echo $i*$j; ?><br />
+Correct result - 15:  <?php echo $j*$i; ?><br />
+Correct result - 2:  <?php echo $i%$j; ?><br />
+Correct result - 3:  <?php echo $j%$i; ?><br />
+*********************************<br />
 
-*** Testing real operators ***<br>
+*** Testing real operators ***<br />
 <?php 
   /* test just about any operator possible on $i and $j (floats) */
   $i = 5.0;
   $j = 3.0;
 ?>
-Correct result - 8:  <?php echo $i+$j; ?><br>
-Correct result - 8:  <?php echo $i+$j; ?><br>
-Correct result - 2:  <?php echo $i-$j; ?><br>
-Correct result - -2:  <?php echo $j-$i; ?><br>
-Correct result - 15:  <?php echo $i*$j; ?><br>
-Correct result - 15:  <?php echo $j*$i; ?><br>
-Correct result - 2:  <?php echo $i%$j; ?><br>
-Correct result - 3:  <?php echo $j%$i; ?><br>
-*********************************<br>
+Correct result - 8:  <?php echo $i+$j; ?><br />
+Correct result - 8:  <?php echo $i+$j; ?><br />
+Correct result - 2:  <?php echo $i-$j; ?><br />
+Correct result - -2:  <?php echo $j-$i; ?><br />
+Correct result - 15:  <?php echo $i*$j; ?><br />
+Correct result - 15:  <?php echo $j*$i; ?><br />
+Correct result - 2:  <?php echo $i%$j; ?><br />
+Correct result - 3:  <?php echo $j%$i; ?><br />
+*********************************<br />
 
-*** Testing if/elseif/else control ***<br>
+*** Testing if/elseif/else control ***<br />
 
 <?php 
 /* sick if/elseif/else test by Andi :) */
 $a = 5;
 if ($a == "4") {
-       echo "This "." does "."  not "." work<br>\n";
+       echo "This "." does "."  not "." work<br />\n";
 } elseif ($a == "5") {
-       echo "This "." works<br>\n";
+       echo "This "." works<br />\n";
        $a = 6;
        if ("andi" == ($test = "andi")) {
-               echo "this_still_works<br>\n";
+               echo "this_still_works<br />\n";
        } elseif (1) {
-               echo "should_not_print<br>\n";
+               echo "should_not_print<br />\n";
        } else {
-               echo "should_not_print<br>\n";
+               echo "should_not_print<br />\n";
        }
         if (44 == 43) {
-               echo "should_not_print<br>\n";
+               echo "should_not_print<br />\n";
        } else {
-               echo "should_print<br>\n";
+               echo "should_print<br />\n";
        }
 } elseif ($a == 6) {
-       echo "this "."broken<br>\n";
+       echo "this "."broken<br />\n";
        if (0) {
-               echo "this_should_not_print<br>\n";
+               echo "this_should_not_print<br />\n";
        } else {
-               echo "TestingDanglingElse_This_Should_not_print<br>\n";
+               echo "TestingDanglingElse_This_Should_not_print<br />\n";
        }
 } else {
-       echo "This "."does "." not"." work<br>\n";
+       echo "This "."does "." not"." work<br />\n";
 }
 ?>
 
 
-*** Seriously nested if's test ***<br>
+*** Seriously nested if's test ***<br />
 ** spelling correction by kluzz **
 <?php 
 /* yet another sick if/elseif/else test by Zeev */
 $i=$j=0;
-echo "Only two lines of text should follow:<br>\n";
+echo "Only two lines of text should follow:<br />\n";
 if (0) { /* this code is not supposed to be executed */
-  echo "hmm, this shouldn't be displayed #1<br>\n";
+  echo "hmm, this shouldn't be displayed #1<br />\n";
   $j++;
   if (1) {
     $i 
@@ -105,118 +105,118 @@ if (0) { /* this code is not supposed to be executed */
       $j = ++$i;
       if (1) {
         $j *= $i;
-        echo "damn, this shouldn't be displayed<br>\n";
+        echo "damn, this shouldn't be displayed<br />\n";
       } else {
         $j /= $i;
         ++$j;
-        echo "this shouldn't be displayed either<br>\n";
+        echo "this shouldn't be displayed either<br />\n";
       }
     } elseif (1) {
       $i++; $j++;
-      echo "this isn't supposed to be displayed<br>\n";
+      echo "this isn't supposed to be displayed<br />\n";
     }
   } elseif (0) {
     $i++;
-    echo "this definitely shouldn't be displayed<br>\n";
+    echo "this definitely shouldn't be displayed<br />\n";
   } else {
     --$j;
-    echo "and this too shouldn't be displayed<br>\n";
+    echo "and this too shouldn't be displayed<br />\n";
     while ($j>0) {
       $j--;
     }
   }
 } elseif (2-2) {  /* as long as 2-2==0, this isn't supposed to be executed either */
   $i = ++$j;
-  echo "hmm, this shouldn't be displayed #2<br>\n";
+  echo "hmm, this shouldn't be displayed #2<br />\n";
   if (1) { 
     $j = ++$i;
     if (0) {
       $j = $i*2+$j*($i++);
       if (1) {
         $i++;
-        echo "damn, this shouldn't be displayed<br>\n";
+        echo "damn, this shouldn't be displayed<br />\n";
       } else {
         $j++;
-        echo "this shouldn't be displayed either<br>\n";
+        echo "this shouldn't be displayed either<br />\n";
       }
     } else if (1) {
       ++$j;
-      echo "this isn't supposed to be displayed<br>\n";
+      echo "this isn't supposed to be displayed<br />\n";
     }
   } elseif (0) {
     $j++;
-    echo "this definitely shouldn't be displayed<br>\n";
+    echo "this definitely shouldn't be displayed<br />\n";
   } else {
     $i++;
-    echo "and this too shouldn't be displayed<br>\n";
+    echo "and this too shouldn't be displayed<br />\n";
   }
 } else {
   $j=$i++;  /* this should set $i to 1, but shouldn't change $j (it's assigned $i's previous values, zero) */
-  echo "this should be displayed. should be:  \$i=1, \$j=0.  is:  \$i=$i, \$j=$j<br>\n";
+  echo "this should be displayed. should be:  \$i=1, \$j=0.  is:  \$i=$i, \$j=$j<br />\n";
   if (1) {
     $j += ++$i;  /* ++$i --> $i==2,  $j += 2 --> $j==2 */
     if (0) {
       $j += 40;
       if (1) {
         $i += 50;
-        echo "damn, this shouldn't be displayed<br>\n";
+        echo "damn, this shouldn't be displayed<br />\n";
       } else {
         $j += 20;
-        echo "this shouldn't be displayed either<br>\n";
+        echo "this shouldn't be displayed either<br />\n";
       }
     } else if (1) {
       $j *= $i;  /* $j *= 2  --> $j == 4 */
-      echo "this is supposed to be displayed. should be:  \$i=2, \$j=4.  is:  \$i=$i, \$j=$j<br>\n";
-      echo "3 loop iterations should follow:<br>\n";
+      echo "this is supposed to be displayed. should be:  \$i=2, \$j=4.  is:  \$i=$i, \$j=$j<br />\n";
+      echo "3 loop iterations should follow:<br />\n";
       while ($i<=$j) {
-        echo $i++." $j<br>\n";
+        echo $i++." $j<br />\n";
       }
     }
   } elseif (0) {
-    echo "this definitely shouldn't be displayed<br>\n";
+    echo "this definitely shouldn't be displayed<br />\n";
   } else {
-    echo "and this too shouldn't be displayed<br>\n";
+    echo "and this too shouldn't be displayed<br />\n";
   }
-  echo "**********************************<br>\n";
+  echo "**********************************<br />\n";
 }
 ?>
 
-*** C-style else-if's ***<br>
+*** C-style else-if's ***<br />
 <?php 
   /* looks like without we even tried, C-style else-if structure works fine! */
   if ($a=0) {
-    echo "This shouldn't be displayed<br>\n";
+    echo "This shouldn't be displayed<br />\n";
   } else if ($a++) {
-    echo "This shouldn't be displayed either<br>\n";
+    echo "This shouldn't be displayed either<br />\n";
   } else if (--$a) {
-    echo "No, this neither<br>\n";
+    echo "No, this neither<br />\n";
   } else if (++$a) {
-    echo "This should be displayed<br>\n";
+    echo "This should be displayed<br />\n";
   } else {
-    echo "This shouldn't be displayed at all<br>\n";
+    echo "This shouldn't be displayed at all<br />\n";
   }
 ?>
-*************************<br>
+*************************<br />
 
-*** WHILE tests ***<br>
+*** WHILE tests ***<br />
 <?php 
 $i=0;
 $j=20;
 while ($i<(2*$j)) {
   if ($i>$j) {
-    echo "$i is greater than $j<br>\n";
+    echo "$i is greater than $j<br />\n";
   } else if ($i==$j) {
-    echo "$i equals $j<br>\n";
+    echo "$i equals $j<br />\n";
   } else {
-    echo "$i is smaller than $j<br>\n";
+    echo "$i is smaller than $j<br />\n";
   }
   $i++;
 }
 ?>
-*******************<br>
+*******************<br />
 
 
-*** Nested WHILEs ***<br>
+*** Nested WHILEs ***<br />
 <?php 
 $arr_len=3;
 
@@ -234,7 +234,7 @@ while ($i<$arr_len) {
   $i++;
 }
 
-echo "Each array variable should be equal to the sum of its indices:<br>\n";
+echo "Each array variable should be equal to the sum of its indices:<br />\n";
 
 $i=0;
 while ($i<$arr_len) {
@@ -242,7 +242,7 @@ while ($i<$arr_len) {
   while ($j<$arr_len) {
     $k=0;
     while ($k<$arr_len) {
-      echo "\${test$i$j}[$k] = ".${"test$i$j"}[$k]."<br>\n";
+      echo "\${test$i$j}[$k] = ".${"test$i$j"}[$k]."<br />\n";
       $k++;
     }
     $j++;
@@ -250,9 +250,9 @@ while ($i<$arr_len) {
   $i++;
 }
 ?>
-*********************<br>
+*********************<br />
 
-*** hash test... ***<br>
+*** hash test... ***<br />
 <?php 
 /*
 $i=0;
@@ -264,21 +264,21 @@ while ($i<10000) {
 
 $i=0;
 while ($i<10000) {
-  echo $arr[$i++]."<br>\n";
+  echo $arr[$i++]."<br />\n";
 }
 */
 echo "commented out...";
 ?>
 
-**************************<br>
+**************************<br />
 
-*** Hash resizing test ***<br>
+*** Hash resizing test ***<br />
 <?php 
 $i = 10;
 $a = 'b';
 while ($i > 0) {
        $a = $a . 'a';
-       echo "$a<br>\n";
+       echo "$a<br />\n";
        $resize[$a] = $i;
        $i--;
 }
@@ -286,31 +286,31 @@ $i = 10;
 $a = 'b';
 while ($i > 0) {
        $a = $a . 'a';
-       echo "$a<br>\n";
-       echo $resize[$a]."<br>\n";
+       echo "$a<br />\n";
+       echo $resize[$a]."<br />\n";
        $i--;
 }
 ?>
-**************************<br>
+**************************<br />
 
 
-*** break/continue test ***<br>
+*** break/continue test ***<br />
 <?php 
 $i=0;
 
-echo "\$i should go from 0 to 2<br>\n";
+echo "\$i should go from 0 to 2<br />\n";
 while ($i<5) {
   if ($i>2) {
     break;
   }
   $j=0;
-  echo "\$j should go from 3 to 4, and \$q should go from 3 to 4<br>\n";
+  echo "\$j should go from 3 to 4, and \$q should go from 3 to 4<br />\n";
   while ($j<5) {
     if ($j<=2) {
       $j++;
       continue;
     }
-    echo "  \$j=$j<br>\n";
+    echo "  \$j=$j<br />\n";
     for ($q=0; $q<=10; $q++) {
       if ($q<3) {
         continue;
@@ -318,39 +318,39 @@ while ($i<5) {
       if ($q>4) {
         break;
       }
-      echo "    \$q=$q<br>\n";
+      echo "    \$q=$q<br />\n";
     }
     $j++;
   }
   $j=0;
-  echo "\$j should go from 0 to 2<br>\n";
+  echo "\$j should go from 0 to 2<br />\n";
   while ($j<5) {
     if ($j>2) {
       $k=0;
-      echo "\$k should go from 0 to 2<br>\n";
+      echo "\$k should go from 0 to 2<br />\n";
       while ($k<5) {
         if ($k>2) {
           break 2;
         }
-        echo "    \$k=$k<br>\n";
+        echo "    \$k=$k<br />\n";
         $k++;
       }
     }
-    echo "  \$j=$j<br>\n";
+    echo "  \$j=$j<br />\n";
     $j++;
   }
-  echo "\$i=$i<br>\n";
+  echo "\$i=$i<br />\n";
   $i++;
 }
 ?>
-***********************<br>
+***********************<br />
 
-*** Nested file include test ***<br>
+*** Nested file include test ***<br />
 <?php include("023-2.inc"); ?>
-********************************<br>
+********************************<br />
 
 <?php 
 {
-  echo "Tests completed.<br>\n";  # testing some PHP style comment...
+  echo "Tests completed.<br />\n";  # testing some PHP style comment...
 }
 ?>
index 331308d01dc4270cb15bc1adf2890cf591c5ebd9..87fd2b0b02a94b4b56987e7ad994383024664cf3 100644 (file)
@@ -30,227 +30,227 @@ PHP Regression Test
 <html>
 <head>
 
-*** Testing assignments and variable aliasing: ***<br>
-This should read "blah": blah<br>
-This should read "this is nifty": this is nifty<br>
-*************************************************<br>
+*** Testing assignments and variable aliasing: ***<br />
+This should read "blah": blah<br />
+This should read "this is nifty": this is nifty<br />
+*************************************************<br />
 
-*** Testing integer operators ***<br>
-Correct result - 8:  8<br>
-Correct result - 8:  8<br>
-Correct result - 2:  2<br>
-Correct result - -2:  -2<br>
-Correct result - 15:  15<br>
-Correct result - 15:  15<br>
-Correct result - 2:  2<br>
-Correct result - 3:  3<br>
-*********************************<br>
+*** Testing integer operators ***<br />
+Correct result - 8:  8<br />
+Correct result - 8:  8<br />
+Correct result - 2:  2<br />
+Correct result - -2:  -2<br />
+Correct result - 15:  15<br />
+Correct result - 15:  15<br />
+Correct result - 2:  2<br />
+Correct result - 3:  3<br />
+*********************************<br />
 
-*** Testing real operators ***<br>
-Correct result - 8:  8<br>
-Correct result - 8:  8<br>
-Correct result - 2:  2<br>
-Correct result - -2:  -2<br>
-Correct result - 15:  15<br>
-Correct result - 15:  15<br>
-Correct result - 2:  2<br>
-Correct result - 3:  3<br>
-*********************************<br>
+*** Testing real operators ***<br />
+Correct result - 8:  8<br />
+Correct result - 8:  8<br />
+Correct result - 2:  2<br />
+Correct result - -2:  -2<br />
+Correct result - 15:  15<br />
+Correct result - 15:  15<br />
+Correct result - 2:  2<br />
+Correct result - 3:  3<br />
+*********************************<br />
 
-*** Testing if/elseif/else control ***<br>
+*** Testing if/elseif/else control ***<br />
 
-This  works<br>
-this_still_works<br>
-should_print<br>
+This  works<br />
+this_still_works<br />
+should_print<br />
 
 
-*** Seriously nested if's test ***<br>
+*** Seriously nested if's test ***<br />
 ** spelling correction by kluzz **
-Only two lines of text should follow:<br>
-this should be displayed. should be:  $i=1, $j=0.  is:  $i=1, $j=0<br>
-this is supposed to be displayed. should be:  $i=2, $j=4.  is:  $i=2, $j=4<br>
-3 loop iterations should follow:<br>
-2 4<br>
-3 4<br>
-4 4<br>
-**********************************<br>
+Only two lines of text should follow:<br />
+this should be displayed. should be:  $i=1, $j=0.  is:  $i=1, $j=0<br />
+this is supposed to be displayed. should be:  $i=2, $j=4.  is:  $i=2, $j=4<br />
+3 loop iterations should follow:<br />
+2 4<br />
+3 4<br />
+4 4<br />
+**********************************<br />
 
-*** C-style else-if's ***<br>
-This should be displayed<br>
-*************************<br>
+*** C-style else-if's ***<br />
+This should be displayed<br />
+*************************<br />
 
-*** WHILE tests ***<br>
-0 is smaller than 20<br>
-1 is smaller than 20<br>
-2 is smaller than 20<br>
-3 is smaller than 20<br>
-4 is smaller than 20<br>
-5 is smaller than 20<br>
-6 is smaller than 20<br>
-7 is smaller than 20<br>
-8 is smaller than 20<br>
-9 is smaller than 20<br>
-10 is smaller than 20<br>
-11 is smaller than 20<br>
-12 is smaller than 20<br>
-13 is smaller than 20<br>
-14 is smaller than 20<br>
-15 is smaller than 20<br>
-16 is smaller than 20<br>
-17 is smaller than 20<br>
-18 is smaller than 20<br>
-19 is smaller than 20<br>
-20 equals 20<br>
-21 is greater than 20<br>
-22 is greater than 20<br>
-23 is greater than 20<br>
-24 is greater than 20<br>
-25 is greater than 20<br>
-26 is greater than 20<br>
-27 is greater than 20<br>
-28 is greater than 20<br>
-29 is greater than 20<br>
-30 is greater than 20<br>
-31 is greater than 20<br>
-32 is greater than 20<br>
-33 is greater than 20<br>
-34 is greater than 20<br>
-35 is greater than 20<br>
-36 is greater than 20<br>
-37 is greater than 20<br>
-38 is greater than 20<br>
-39 is greater than 20<br>
-*******************<br>
+*** WHILE tests ***<br />
+0 is smaller than 20<br />
+1 is smaller than 20<br />
+2 is smaller than 20<br />
+3 is smaller than 20<br />
+4 is smaller than 20<br />
+5 is smaller than 20<br />
+6 is smaller than 20<br />
+7 is smaller than 20<br />
+8 is smaller than 20<br />
+9 is smaller than 20<br />
+10 is smaller than 20<br />
+11 is smaller than 20<br />
+12 is smaller than 20<br />
+13 is smaller than 20<br />
+14 is smaller than 20<br />
+15 is smaller than 20<br />
+16 is smaller than 20<br />
+17 is smaller than 20<br />
+18 is smaller than 20<br />
+19 is smaller than 20<br />
+20 equals 20<br />
+21 is greater than 20<br />
+22 is greater than 20<br />
+23 is greater than 20<br />
+24 is greater than 20<br />
+25 is greater than 20<br />
+26 is greater than 20<br />
+27 is greater than 20<br />
+28 is greater than 20<br />
+29 is greater than 20<br />
+30 is greater than 20<br />
+31 is greater than 20<br />
+32 is greater than 20<br />
+33 is greater than 20<br />
+34 is greater than 20<br />
+35 is greater than 20<br />
+36 is greater than 20<br />
+37 is greater than 20<br />
+38 is greater than 20<br />
+39 is greater than 20<br />
+*******************<br />
 
 
-*** Nested WHILEs ***<br>
-Each array variable should be equal to the sum of its indices:<br>
-${test00}[0] = 0<br>
-${test00}[1] = 1<br>
-${test00}[2] = 2<br>
-${test01}[0] = 1<br>
-${test01}[1] = 2<br>
-${test01}[2] = 3<br>
-${test02}[0] = 2<br>
-${test02}[1] = 3<br>
-${test02}[2] = 4<br>
-${test10}[0] = 1<br>
-${test10}[1] = 2<br>
-${test10}[2] = 3<br>
-${test11}[0] = 2<br>
-${test11}[1] = 3<br>
-${test11}[2] = 4<br>
-${test12}[0] = 3<br>
-${test12}[1] = 4<br>
-${test12}[2] = 5<br>
-${test20}[0] = 2<br>
-${test20}[1] = 3<br>
-${test20}[2] = 4<br>
-${test21}[0] = 3<br>
-${test21}[1] = 4<br>
-${test21}[2] = 5<br>
-${test22}[0] = 4<br>
-${test22}[1] = 5<br>
-${test22}[2] = 6<br>
-*********************<br>
+*** Nested WHILEs ***<br />
+Each array variable should be equal to the sum of its indices:<br />
+${test00}[0] = 0<br />
+${test00}[1] = 1<br />
+${test00}[2] = 2<br />
+${test01}[0] = 1<br />
+${test01}[1] = 2<br />
+${test01}[2] = 3<br />
+${test02}[0] = 2<br />
+${test02}[1] = 3<br />
+${test02}[2] = 4<br />
+${test10}[0] = 1<br />
+${test10}[1] = 2<br />
+${test10}[2] = 3<br />
+${test11}[0] = 2<br />
+${test11}[1] = 3<br />
+${test11}[2] = 4<br />
+${test12}[0] = 3<br />
+${test12}[1] = 4<br />
+${test12}[2] = 5<br />
+${test20}[0] = 2<br />
+${test20}[1] = 3<br />
+${test20}[2] = 4<br />
+${test21}[0] = 3<br />
+${test21}[1] = 4<br />
+${test21}[2] = 5<br />
+${test22}[0] = 4<br />
+${test22}[1] = 5<br />
+${test22}[2] = 6<br />
+*********************<br />
 
-*** hash test... ***<br>
+*** hash test... ***<br />
 commented out...
-**************************<br>
+**************************<br />
 
-*** Hash resizing test ***<br>
-ba<br>
-baa<br>
-baaa<br>
-baaaa<br>
-baaaaa<br>
-baaaaaa<br>
-baaaaaaa<br>
-baaaaaaaa<br>
-baaaaaaaaa<br>
-baaaaaaaaaa<br>
-ba<br>
-10<br>
-baa<br>
-9<br>
-baaa<br>
-8<br>
-baaaa<br>
-7<br>
-baaaaa<br>
-6<br>
-baaaaaa<br>
-5<br>
-baaaaaaa<br>
-4<br>
-baaaaaaaa<br>
-3<br>
-baaaaaaaaa<br>
-2<br>
-baaaaaaaaaa<br>
-1<br>
-**************************<br>
+*** Hash resizing test ***<br />
+ba<br />
+baa<br />
+baaa<br />
+baaaa<br />
+baaaaa<br />
+baaaaaa<br />
+baaaaaaa<br />
+baaaaaaaa<br />
+baaaaaaaaa<br />
+baaaaaaaaaa<br />
+ba<br />
+10<br />
+baa<br />
+9<br />
+baaa<br />
+8<br />
+baaaa<br />
+7<br />
+baaaaa<br />
+6<br />
+baaaaaa<br />
+5<br />
+baaaaaaa<br />
+4<br />
+baaaaaaaa<br />
+3<br />
+baaaaaaaaa<br />
+2<br />
+baaaaaaaaaa<br />
+1<br />
+**************************<br />
 
 
-*** break/continue test ***<br>
-$i should go from 0 to 2<br>
-$j should go from 3 to 4, and $q should go from 3 to 4<br>
-  $j=3<br>
-    $q=3<br>
-    $q=4<br>
-  $j=4<br>
-    $q=3<br>
-    $q=4<br>
-$j should go from 0 to 2<br>
-  $j=0<br>
-  $j=1<br>
-  $j=2<br>
-$k should go from 0 to 2<br>
-    $k=0<br>
-    $k=1<br>
-    $k=2<br>
-$i=0<br>
-$j should go from 3 to 4, and $q should go from 3 to 4<br>
-  $j=3<br>
-    $q=3<br>
-    $q=4<br>
-  $j=4<br>
-    $q=3<br>
-    $q=4<br>
-$j should go from 0 to 2<br>
-  $j=0<br>
-  $j=1<br>
-  $j=2<br>
-$k should go from 0 to 2<br>
-    $k=0<br>
-    $k=1<br>
-    $k=2<br>
-$i=1<br>
-$j should go from 3 to 4, and $q should go from 3 to 4<br>
-  $j=3<br>
-    $q=3<br>
-    $q=4<br>
-  $j=4<br>
-    $q=3<br>
-    $q=4<br>
-$j should go from 0 to 2<br>
-  $j=0<br>
-  $j=1<br>
-  $j=2<br>
-$k should go from 0 to 2<br>
-    $k=0<br>
-    $k=1<br>
-    $k=2<br>
-$i=2<br>
-***********************<br>
+*** break/continue test ***<br />
+$i should go from 0 to 2<br />
+$j should go from 3 to 4, and $q should go from 3 to 4<br />
+  $j=3<br />
+    $q=3<br />
+    $q=4<br />
+  $j=4<br />
+    $q=3<br />
+    $q=4<br />
+$j should go from 0 to 2<br />
+  $j=0<br />
+  $j=1<br />
+  $j=2<br />
+$k should go from 0 to 2<br />
+    $k=0<br />
+    $k=1<br />
+    $k=2<br />
+$i=0<br />
+$j should go from 3 to 4, and $q should go from 3 to 4<br />
+  $j=3<br />
+    $q=3<br />
+    $q=4<br />
+  $j=4<br />
+    $q=3<br />
+    $q=4<br />
+$j should go from 0 to 2<br />
+  $j=0<br />
+  $j=1<br />
+  $j=2<br />
+$k should go from 0 to 2<br />
+    $k=0<br />
+    $k=1<br />
+    $k=2<br />
+$i=1<br />
+$j should go from 3 to 4, and $q should go from 3 to 4<br />
+  $j=3<br />
+    $q=3<br />
+    $q=4<br />
+  $j=4<br />
+    $q=3<br />
+    $q=4<br />
+$j should go from 0 to 2<br />
+  $j=0<br />
+  $j=1<br />
+  $j=2<br />
+$k should go from 0 to 2<br />
+    $k=0<br />
+    $k=1<br />
+    $k=2<br />
+$i=2<br />
+***********************<br />
 
-*** Nested file include test ***<br>
+*** Nested file include test ***<br />
 <html>
 This is Finish.phtml.  This file is supposed to be included 
 from regression_test.phtml.  This is normal HTML.
 and this is PHP code, 2+2=4
 </html>
-********************************<br>
+********************************<br />
 
-Tests completed.<br>
+Tests completed.<br />
 Limor Ullmann is now Limor Baruch :I
index bd4525ee60e5ce0bce653b10e2fd97d823e21cc1..a14e74cad868b89a3a2b75a963078b53e10b27d9 100644 (file)
@@ -1055,4 +1055,3 @@ I'm still alive
 Hey there!!
 199
 Dafna
-
index caa4c7e4302b03347f4fe270178ea4d8c7fef6d3..abc98f752d8c2bffe85d43e3825de00c0864b2e5 100644 (file)
@@ -33,4 +33,3 @@ echo "OK\n";
 ?>
 --EXPECT--
 OK
-
index aef3f8f3526101eb88bb3d91ce3312ebe05e9401..046ae33f33aef19a40bc8c26b6919785fcd80e87 100644 (file)
@@ -15,8 +15,6 @@ setlocale(LC_NUMERIC, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1");
 
 echo (float)"3.14", "\n";
 ?>
---EXPECT--
-3,14
---UEXPECTF--
-Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
+--EXPECTF--
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s034.php on line %d
 3,14
index 9472999f4716747b61b878f96e7061283a01917f..d2d49be988023e50e3a8d553226997b91555c2fe 100644 (file)
@@ -28,7 +28,7 @@ try {
 }
 
 try {
-       ThrowException();       
+       ThrowException();
 } catch (MyException $exception) {
        print "There was an exception: " . $exception->getException();
        print "\n";
index ef510d22374fa8a422551b4b70492d99f7564a2b..5ea0cd1eb9c057489026f9fd334fa08c8fd359a6 100755 (executable)
@@ -35,11 +35,7 @@ catch (Exception $e)
 ?>
 ===DONE===
 <?php exit(0); ?>
---EXPECTF--
-string(15) "Error2Exception"
-string(5) "fopen"
-===DONE===
---UEXPECTF--
+--EXPECT--
 unicode(15) "Error2Exception"
 unicode(5) "fopen"
 ===DONE===
index aa4b5916497d6bdc3dfb28c03a647424d5ab42a7..b353e0fa4b9938b12e324a7327070b563be7f5eb 100755 (executable)
@@ -40,6 +40,6 @@ catch (Exception $e)
 
 ?>
 ===DONE===
---EXPECTF--
+--EXPECT--
 Catchable
 ===DONE===
index 2e3dc22c5824a1c18f6a771177eef6d29dbdcca8..5e5333879d74525ac4e60418cb8a2a685cf1d3e8 100644 (file)
@@ -1,18 +1,18 @@
 --TEST--
 Bug #18872 (class constant used as default parameter)
 --FILE--
-<?php   
-class FooBar {   
-       const BIFF = 3;   
-}   
-   
-function foo($biff = FooBar::BIFF) {   
-       echo $biff . "\n";   
-}   
-   
-foo();   
-foo();   
-?>   
+<?php
+class FooBar {
+       const BIFF = 3;
+}
+
+function foo($biff = FooBar::BIFF) {
+       echo $biff . "\n";
+}
+
+foo();
+foo();
+?>
 --EXPECT--
 3
 3
index dae06c9c72977c3998fdd1665fb48b1bd38c3c5a..919c1926123b5e2dad4ca8ac0dd2b668ae68b3a2 100644 (file)
@@ -26,16 +26,4 @@ Bug #19943 (memleaks)
 7 -- 7
 8 -- 8
 9 -- 9
-string(10) "0123456780"
---UEXPECT--
-0 -- 0
-1 -- 1
-2 -- 2
-3 -- 3
-4 -- 4
-5 -- 5
-6 -- 6
-7 -- 7
-8 -- 8
-9 -- 9
 unicode(10) "0123456780"
index 266a1d6c8fab35c75bd99907ff0f482d666b9de6..88ae05127189d75220fe8550abb80a3b203680ec 100644 (file)
@@ -14,4 +14,3 @@ trigger_error("test");
 ?>
 --EXPECTF--
 [1024] errstr: test, errfile: %s, errline: %d
-
index 835daaf97a42315ec4b5157926e35ce557d367aa..9683408f69b09e8b9ac97d1df6c1c328cfd9fbb9 100644 (file)
@@ -27,18 +27,6 @@ function fubar($text){
 ?>
 --EXPECTF--
 Strict Standards: Only variables should be assigned by reference in %sbug21600.php on line 4
-array(1) {
-  ["foo"]=>
-  string(4) "test"
-}
-
-Strict Standards: Only variables should be assigned by reference in %sbug21600.php on line 11
-array(1) {
-  ["foo"]=>
-  string(4) "test"
-}
---UEXPECTF--
-Strict Standards: Only variables should be assigned by reference in %sbug21600.php on line 4
 array(1) {
   [u"foo"]=>
   unicode(4) "test"
index 75677c7473c73a71113402cfb9a6071a094d591f..546e9518e57105e6ba414498ac081ddedbb5f457 100644 (file)
@@ -55,6 +55,4 @@ $x->getdrunk('The old Tavern');
 var_dump($x->bars[0]->whosdrunk());
 ?>
 --EXPECT--
-string(14) "The old Tavern"
---UEXPECT--
 unicode(14) "The old Tavern"
index 2b20f9864417f2a781d875c7bec9b9701a33153b..c1ab698118fe7e7ead958362b600fb25747e89e9 100644 (file)
@@ -28,20 +28,6 @@ var_dump($foo->fubar);
 ?>
 --EXPECTF--
 Deprecated: Assigning the return value of new by reference is deprecated in %s on line %d
-object(foo)#%d (1) {
-  ["fubar"]=>
-  string(5) "fubar"
-}
-string(5) "fubar"
-string(5) "fubar"
-object(foo)#%d (1) {
-  ["fubar"]=>
-  string(5) "fubar"
-}
-string(5) "fubar"
-string(5) "fubar"
---UEXPECTF--
-Deprecated: Assigning the return value of new by reference is deprecated in %s on line %d
 object(foo)#%d (1) {
   [u"fubar"]=>
   unicode(5) "fubar"
index 7b3130bd834dde914d092f0e4e55f46c2c106d45..4b6e0df11ef6d21f26cdfaf6ad7db98ab82054e4 100644 (file)
@@ -35,23 +35,6 @@ var_dump($a, $b, $c, $d, $e);
 $result{-1} = 'a';
 ?>
 --EXPECT--
-string(5) "* *-*"
-string(7) "* *-* *"
-string(7) "*4*-* *"
-string(7) "*4*s* *"
-string(8) "*4*s* *0"
-string(8) "*-*-* *0"
-string(8) "*-*s*s*0"
-string(8) "4-4s4s*0"
-string(9) "4-4s4s505"
-string(9) "454s4s505"
-string(1) "-"
-string(1) "s"
-string(1) "4"
-string(1) "5"
-string(1) "5"
-[Illegal string offset:  -1]
---UEXPECT--
 unicode(5) "* *-*"
 unicode(7) "* *-* *"
 unicode(7) "*4*-* *"
index ae9abbd2a4707562ceb8fd2af817cd4ef96e35f2..3ffd86fdee90e9f0b119264d53317c8d876129e2 100644 (file)
@@ -8,8 +8,5 @@ Bug #23624 (foreach leaves current array key as null)
     var_dump(current($arr));
 ?>
 --EXPECT--
-string(3) "one"
-bool(false)
---UEXPECT--
 unicode(3) "one"
 bool(false)
index e087d1fb2cba3af3a3229e3baf58bd23accb788a..4a088c35e8a238900708f9642df87873d60c595b 100644 (file)
@@ -21,4 +21,4 @@ echo "OK\n";
 ?>
 --EXPECTF--
 
-Fatal error: Cannot re-assign $this in %s on line %d
\ No newline at end of file
+Fatal error: Cannot re-assign $this in %s on line %d
index 2f572df073e0f081fcc0b99061967df5d61aff99..98ca7def10a24e3a536594eeac2157c9a288d4fa 100755 (executable)
@@ -12,15 +12,6 @@ echo "Done\n";
 
 ?>
 --EXPECT--
-array(1) {
-  [123]=>
-  array(1) {
-    [0]=>
-    string(4) "SEGV"
-  }
-}
-Done
---UEXPECT--
 array(1) {
   [123]=>
   array(1) {
@@ -29,4 +20,3 @@ array(1) {
   }
 }
 Done
-
index f81ad7fec982a25be56e2aed94b30c912f5ac305..77301a6687029df99f1ec97166a2c6c98b897026 100644 (file)
@@ -14,4 +14,3 @@ Bug #28800 (Incorrect string to number conversion for strings starting with 'inf
 0
 0
 0
-
index 19df0123a0e3cc064888d2daef60205b7daa4386..72a6b8a2c755615f7a23b2d372c6f86edef24f21 100644 (file)
@@ -17,10 +17,7 @@ $lc = localeconv();
 printf("decimal_point: %s\n", $lc['decimal_point']);
 printf("thousands_sep: %s\n", $lc['thousands_sep']);
 ?>
---EXPECT--
-decimal_point: ,
-thousands_sep: .
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 
 Deprecated: localeconv(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
index ad59646f5007e062cfce97d0f5eb73d11ff4d6f3..f95ade3169cda91bf4e9f2cb544c8da1ff568130 100644 (file)
@@ -12,7 +12,7 @@ ob_start('output_handler');
 
 ob_end_clean();
 ?>
---EXPECTF--    
+--EXPECTF--
 Fatal error: Uncaught exception 'Exception' in %s:%d
 Stack trace:
 #0 [internal function]: output_handler('', %d)
index 69190d4c955b1c00f9b38efed679fa755ea74eca..c2295c3440f7808bb77abd66ec44b3ef0da9962e 100755 (executable)
@@ -5,5 +5,5 @@ Bug #35382 (Comment in end of file produces fatal error)
 eval("echo 'Hello'; // comment");
 echo " World";
 //last line comment
---EXPECTF--
+--EXPECT--
 Hello World
index f81eae5d6fbd293cfedc5f859da5875e4cc0bb6e..97a98395050842e0eaab42dc3d922e9d333cb823 100644 (file)
@@ -21,21 +21,6 @@ Catchable fatal error [2]
        echo "ALIVE!\n";
 ?>
 --EXPECTF--
-array(5) {
-  [0]=>
-  int(4096)
-  [1]=>
-  string(%d) "Argument 1 passed to blah() must be an instance of Foo, instance of stdClass given, called in %scatchable_error_002.php on line %d and defined"
-  [2]=>
-  string(%d) "%scatchable_error_002.php"
-  [3]=>
-  int(5)
-  [4]=>
-  array(0) {
-  }
-}
-ALIVE!
---UEXPECTF--
 array(5) {
   [0]=>
   int(4096)
index 1fa80c5ab99bf426f8fcbb1d0abacda6b6fd7af0..04709ab20e6be399c43dfa4bdbd5fb7d8ca81e32 100644 (file)
@@ -5,4 +5,4 @@ Including a file in the current script directory from eval'd code
 require_once 'include_files/eval.inc';
 ?>
 --EXPECT--
-Included!
\ No newline at end of file
+Included!
index b21240a7923a7d05e460363c5d38908656e9acbc..d9de9dd3b90932d445aed225d8a8767e44e2b38c 100644 (file)
@@ -25,4 +25,3 @@ NULL
 -
 NULL
 -
-
index 09b5c222af4a40f040866eeeb38c6e638567c92f..ecacf0208bf389c069258a097905a4e310a8de21 100644 (file)
@@ -4,5 +4,5 @@ output buffering - nothing
 <?php
 echo "foo\n";
 ?>
---EXPECTF--
+--EXPECT--
 foo
index 3adbca17b845f99d2ea7e6bec2eff57bf2f9d897..9f056b2f0cd81c82185439aa063cbb89f3a89926 100644 (file)
@@ -10,11 +10,8 @@ echo "-a
 $s = ob_get_clean();
 
 var_dump($s);
-var_dump(unicode_decode($s, unicode_semantics()?"utf8":"latin1"));
+var_dump(unicode_decode($s, "utf8"));
 ?>
 --EXPECTF--
-string(10) "%s"
-unicode(10) "%s"
---UEXPECTF--
 string(14) "%s"
 unicode(10) "%s"
index db6eca8b5d149342aaa08d338bec58f20feeff55..e69b58b6ec5366e27b68eb0a45a5d4e6d42c22d9 100644 (file)
Binary files a/tests/output/ob_018.phpt and b/tests/output/ob_018.phpt differ
index 370d09c9538c1db70ca255a4ef924fa927e0420e..d36e72faa064002d93fe78569e54931df23e8ec2 100644 (file)
@@ -3,4 +3,4 @@ EXPECT
 --FILE--
 abc
 --EXPECT--
-abc
\ No newline at end of file
+abc
index 7b91f35c8dfa135239f760f093b735abbb71ed48..316201e092af0c319eac58565f47935290edae0f 100644 (file)
@@ -15,4 +15,4 @@ x
 %f
 %s
 %x
-%c
\ No newline at end of file
+%c
index c1afad15f76880fe2d0854003a054bdc5303f7a9..6f9eb6a794fb1df159058f12fd9797f4d8bbebc1 100644 (file)
@@ -3,4 +3,4 @@ EXPECTREGEX
 --FILE--
 abcde12314235xyz34264768286abcde
 --EXPECTREGEX--
-[abcde]+[0-5]*xyz[2-8]+abcde
\ No newline at end of file
+[abcde]+[0-5]*xyz[2-8]+abcde
index 4742ea36fda41e707c542b98890903cb7573ca32..0397c9a8192794b3c2bb5a0b13ad8b79c0cdce94 100644 (file)
@@ -7,6 +7,4 @@ arg_separator.input="="
 var_dump(ini_get('arg_separator.input'));
 ?>
 --EXPECT--
-string(1) "="
---UEXPECT--
 unicode(1) "="
index 3276acc791c99d56c45ae85b016fcee6bb25e05f..6fed9e810854f7474fc0c4049f5eabca3cfc969b 100644 (file)
@@ -23,14 +23,6 @@ $error = 1 / 0;
 var_dump($php_errormsg);
 ?>
 --EXPECTF--
-string(1) "1"
-string(5) "16383"
-string(1) "0"
-string(1) "1"
-string(1) "0"
-NULL
-string(%d) "%sivision by zer%s"
---UEXPECTF--
 unicode(1) "1"
 unicode(5) "16383"
 unicode(1) "0"
index 3954eb5d89b3c7fbaf95f215df7a4c02e9b3dd36..1b1c2ca99eb884d9e0084f9e5cc445c93f8100b3 100644 (file)
@@ -24,15 +24,6 @@ var_dump($php_errormsg);
 ?>
 --EXPECTF--
 %s: %sivision by zero in %s on line %d
-string(1) "1"
-string(4) "4095"
-string(1) "0"
-string(1) "1"
-string(1) "0"
-string(%d) "%sivision by zer%s"
-string(%d) "%sivision by zer%s"
---UEXPECTF--
-%s: %sivision by zero in %s on line %d
 unicode(1) "1"
 unicode(4) "4095"
 unicode(1) "0"
index e2d59c0b8bc7ae64b8a14b294be7d5b810a6b897..ae79b6e593d013eb0ccbb3878f675c92749a1a4d 100644 (file)
@@ -23,14 +23,6 @@ $error = 1 / 0;
 var_dump($php_errormsg);
 ?>
 --EXPECTF--
-string(1) "1"
-string(5) "16383"
-string(1) "0"
-string(1) "1"
-string(1) "0"
-NULL
-string(%d) "%sivision by zer%s"
---UEXPECTF--
 unicode(1) "1"
 unicode(5) "16383"
 unicode(1) "0"
index 32ed4eb1ec9b37400d6e40c58dd4b46747955e7f..9b3debf189a0df5efb47dd8562a08237567f8d12 100644 (file)
@@ -48,4 +48,3 @@ bool(false)
 Warning: chdir(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 *** Finished testing open_basedir configuration [chdir] ***
-
index 02fdce5a1b879ba09764adff5b43cca4cdad4942..78a44f88a227cfff21dfc1edb016367fd905bd5d 100644 (file)
@@ -68,4 +68,3 @@ bool(true)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [chmod] ***
-
index 8f0f7a91fd1fac3f4784ecbee6b387b728c55ccb..7a1bb4aed9141869c4a9d8b6d9587dce810f9f6f 100644 (file)
@@ -76,4 +76,3 @@ bool(false)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [copy] ***
-
index de532e12cb0dcfdf56d53d413df21d6dafe42bb7..d49f368ccbd925e079371fda2fe2a5a0e8aa3911 100644 (file)
@@ -32,4 +32,3 @@ bool(false)
 Warning: unlink(copy.txt): No such file or directory in %s on line %d
 bool(false)
 *** Finished testing open_basedir configuration [copy] ***
-
index 5e3cc7aa161dffea08a2283d3a5f53a1a2ed4a01..026c5fdecebed84e938337c90fbe7b512418f704 100644 (file)
@@ -64,72 +64,6 @@ bool(false)
 
 Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 
-Warning: dir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation not permitted in %s on line %d
-bool(false)
-object(Directory)#%d (2) {
-  ["path"]=>
-  string(%d) "%s/test/ok/"
-  ["handle"]=>
-  resource(%d) of type (stream)
-}
-object(Directory)#%d (2) {
-  ["path"]=>
-  string(%d) "%s/test/ok"
-  ["handle"]=>
-  resource(%d) of type (stream)
-}
-object(Directory)#%d (2) {
-  ["path"]=>
-  string(%d) "%s/test/ok/../ok"
-  ["handle"]=>
-  resource(%d) of type (stream)
-}
-*** Finished testing open_basedir configuration [dir] ***
---UEXPECTF--
-*** Testing open_basedir configuration [dir] ***
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-
-Warning: dir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: dir(../bad): failed to open dir: Operation not permitted in %s on line %d
-bool(false)
-
-Warning: dir(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: dir(../bad/bad.txt): failed to open dir: Operation not permitted in %s on line %d
-bool(false)
-
-Warning: dir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: dir(..): failed to open dir: Operation not permitted in %s on line %d
-bool(false)
-
-Warning: dir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: dir(../): failed to open dir: Operation not permitted in %s on line %d
-bool(false)
-
-Warning: dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: dir(/): failed to open dir: Operation not permitted in %s on line %d
-bool(false)
-
-Warning: dir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: dir(../bad/.): failed to open dir: Operation not permitted in %s on line %d
-bool(false)
-
-Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: dir(%s/test/bad/bad.txt): failed to open dir: Operation not permitted in %s on line %d
-bool(false)
-
-Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-
 Warning: dir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation not permitted in %s on line %d
 bool(false)
 object(Directory)#%d (2) {
@@ -151,4 +85,3 @@ object(Directory)#%d (2) {
   resource(%d) of type (stream)
 }
 *** Finished testing open_basedir configuration [dir] ***
-
index bb899c8adb64756be159080d13d9d96ef1b242fc..97253a1053791d2ce0c1860103151eda5f02f835 100644 (file)
@@ -35,28 +35,8 @@ bool(false)
 Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 
-Warning: ini_set(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-string(0) ""
-string(%d) "%s/test/ok/ok.txt"
-*** Finished testing open_basedir configuration [error_log] ***
---UEXPECTF--
-*** Testing open_basedir configuration [error_log] ***
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-
-Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
 Warning: ini_set(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 unicode(0) ""
 unicode(%d) "%s/test/ok/ok.txt"
 *** Finished testing open_basedir configuration [error_log] ***
-
index c0295f65067ebe180239d4b56d2fad7d50bbe4e5..08a6525d0c722cca98804242fea430ce328f7946 100644 (file)
@@ -45,4 +45,3 @@ Warning: error_log(%s/bad.txt): failed to open stream: Operation not permitted i
 bool(false)
 bool(true)
 *** Finished testing open_basedir configuration [error_log] ***
-
index fbc841e3fe11d1fab0871f4dbf9f5fda69f5ce1a..ef413889665c7053b6ca16265eca1c06d784c824 100644 (file)
@@ -85,4 +85,3 @@ array(1) {
   string(12) "Hello World!"
 }
 *** Finished testing open_basedir configuration [file] ***
-
index c249fc1165433b9ae66eea7795aecce1aba5cccb..2c90fd550bb6503897883dde620e94781fb0bac6 100644 (file)
@@ -52,4 +52,3 @@ bool(true)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [file_exists] ***
-
index d4bd417b591612bfc8014c8c36579369ad549f47..3be241b9ef8cd9531abf4357e8cb1712d6c38af1 100644 (file)
@@ -54,4 +54,3 @@ Warning: file_put_contents(): open_basedir restriction in effect. File%s/test/ba
 Warning: file_put_contents%s/test/bad/bad.txt): failed to open stream: Operation not permitted in %s on line %d
 bool(false)
 *** Finished testing open_basedir configuration [file_put_contents] ***
-
index 02cc94f83f2a704128a2e554b055fefea4e2f182..4cb7aefc3943434da419167917088cc45c281a7c 100644 (file)
@@ -52,4 +52,3 @@ int(%d)
 int(%d)
 int(%d)
 *** Finished testing open_basedir configuration [fileatime] ***
-
index 542c8423edb5ef99b91bcf776e24dfbaba1e1ddb..08c7ecd5f2fb3914e5ecb9c0aeca493640a1177f 100644 (file)
@@ -52,4 +52,3 @@ int(%d)
 int(%d)
 int(%d)
 *** Finished testing open_basedir configuration [filectime] ***
-
index 5f6279aa8f575c5fd8c95744d44d9373f484bf4e..f85f81bb7b2651a11968ec4ab59e3fea341e41db 100644 (file)
@@ -52,4 +52,3 @@ int(%d)
 int(%d)
 int(%d)
 *** Finished testing open_basedir configuration [filegroup] ***
-
index 070c2c806c3f950395a1063662b121f979cb967e..08e378bb6f6e889f0ad03d8e989de68cf7dd8b16 100644 (file)
@@ -52,4 +52,3 @@ int(%d)
 int(%d)
 int(%d)
 *** Finished testing open_basedir configuration [fileinode] ***
-
index 7213ddb5b9fdfab907628e4f5c46da7b7c01bc79..36e2de9ce8d6231884379544d4bd4c3c267b89b3 100644 (file)
@@ -52,4 +52,3 @@ int(%d)
 int(%d)
 int(%d)
 *** Finished testing open_basedir configuration [filemtime] ***
-
index b363b7e0e85fc5e6defebd8c1c109ae98966aa62..7ce6cb30f89d5670e50b3f0d37d111dcaed138dd 100644 (file)
@@ -52,4 +52,3 @@ int(%d)
 int(%d)
 int(%d)
 *** Finished testing open_basedir configuration [fileowner] ***
-
index a1e6511b082b961a4afcbcb10ede32d9841d1393..944f1cd5ed934843d07e351e8adf200dcc5bdff8 100644 (file)
@@ -52,4 +52,3 @@ int(%d)
 int(%d)
 int(%d)
 *** Finished testing open_basedir configuration [fileperms] ***
-
index a335dfd17cf2619b59f8cf50132fb847ddf99926..e682c2fac4091c43c5db9d5e2344a381d4d6d683 100644 (file)
@@ -52,4 +52,3 @@ int(%d)
 int(%d)
 int(%d)
 *** Finished testing open_basedir configuration [filesize] ***
-
index fa104a3679d7493a15403d9744c5e1a8d42050bc..749aca0742285f2616577a56570974b590546821 100644 (file)
@@ -44,46 +44,6 @@ bool(false)
 Warning: filetype(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 
-Warning: filetype(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-string(3) "dir"
-string(4) "file"
-string(4) "file"
-string(4) "file"
-string(4) "file"
-*** Finished testing open_basedir configuration [filetype] ***
---UEXPECTF--
-*** Testing open_basedir configuration [filetype] ***
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-
-Warning: filetype(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: filetype(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: filetype(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: filetype(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: filetype(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: filetype(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: filetype(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: filetype(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
 Warning: filetype(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 unicode(3) "dir"
@@ -92,4 +52,3 @@ unicode(4) "file"
 unicode(4) "file"
 unicode(4) "file"
 *** Finished testing open_basedir configuration [filetype] ***
-
index c6c9a253f2f2d63d5514ca74ce2480108e1fd326..0f3bc065a9cad849cb5d17be784a0f8778ddb0f4 100644 (file)
@@ -83,4 +83,3 @@ resource(%d) of type (stream)
 resource(%d) of type (stream)
 resource(%d) of type (stream)
 *** Finished testing open_basedir configuration [fopen] ***
-
index bdc8d93fbd70b2f224dfadc533fa77a7c79dd826..d1f8df551ebc7a55a255856ae3932bf3ceeba77d 100644 (file)
@@ -35,44 +35,6 @@ bool(false)
 bool(false)
 bool(false)
 bool(false)
-array(1) {
-  [0]=>
-  string(5) "../ok"
-}
-array(1) {
-  [0]=>
-  string(6) "ok.txt"
-}
-array(1) {
-  [0]=>
-  string(12) "../ok/ok.txt"
-}
-array(1) {
-  [0]=>
-  string(%d) "%s/test/ok/ok.txt"
-}
-array(1) {
-  [0]=>
-  string(%d) "%s/test/ok/../ok/ok.txt"
-}
-*** Finished testing open_basedir configuration [glob] ***
---UEXPECTF--
-*** Testing open_basedir configuration [glob] ***
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(false)
-bool(false)
-bool(false)
-array(0) {
-}
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
 array(1) {
   [0]=>
   unicode(5) "../ok"
@@ -94,4 +56,3 @@ array(1) {
   unicode(%d) "%s/test/ok/../ok/ok.txt"
 }
 *** Finished testing open_basedir configuration [glob] ***
-
index 14bac1474e7e9ff16c551b32528c6b2317281e22..20834d8a2c82d857b215845d12fd0ef64f1a03fc 100644 (file)
@@ -34,43 +34,6 @@ bool(false)
 bool(false)
 bool(false)
 bool(false)
-array(1) {
-  [0]=>
-  string(5) "../ok"
-}
-array(1) {
-  [0]=>
-  string(6) "ok.txt"
-}
-array(1) {
-  [0]=>
-  string(12) "../ok/ok.txt"
-}
-array(1) {
-  [0]=>
-  string(%d) "%s/test/ok/ok.txt"
-}
-array(1) {
-  [0]=>
-  string(%d) "%s/test/ok/../ok/ok.txt"
-}
-*** Finished testing open_basedir configuration [glob] ***
---UEXPECTF--
-*** Testing open_basedir configuration [glob] ***
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
 array(1) {
   [0]=>
   unicode(5) "../ok"
@@ -92,4 +55,3 @@ array(1) {
   unicode(%d) "%s/test/ok/../ok/ok.txt"
 }
 *** Finished testing open_basedir configuration [glob] ***
-
index e4ad620d740617b383ad58d9abf3e391e066b638..5c8967a9f4558ef50b5da8f2b4b3f2ade6734e49 100644 (file)
@@ -52,4 +52,3 @@ bool(false)
 bool(false)
 bool(false)
 *** Finished testing open_basedir configuration [is_dir] ***
-
index 51ef0a2d1f3bb0c0beab72f3b5c4b30c3bbb611d..a3303599b55a1d397490a6d9e1c786dd25d049c3 100644 (file)
@@ -52,4 +52,3 @@ bool(true)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [is_file] ***
-
index 5d12148d852546b5afd3f249e641b13ed6c8154f..61485029f42f63ce7bee87e24fe6304fb3896a2b 100644 (file)
@@ -52,4 +52,3 @@ bool(false)
 bool(false)
 bool(false)
 *** Finished testing open_basedir configuration [is_link] ***
-
index 951a19ac76a585f690bcea8e703900c5f83605fc..9a269b5c0b06db836b4c91a2cc8784c8d5c583ac 100644 (file)
@@ -52,4 +52,3 @@ bool(true)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [is_readable] ***
-
index 25ce1c63a4bdb272d2da82b56eed7d8d382f6120..d2b70614cd1334b625bd2e49ec1c534fb164bd27 100644 (file)
@@ -52,4 +52,3 @@ bool(true)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [is_writable] ***
-
index a54c22f4b69e62dd3f85fffc8caa1a8c54d86d8f..695824d3b19c20ad30ab5ee2c10c1ed715c755ea 100644 (file)
@@ -75,4 +75,3 @@ bool(false)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [link] ***
-
index ab12a5149d3304f16b4e00dd7c9816ab5bdeb81e..ed6df19ffa185fb723e23b1d0c4b4f447db4f30f 100644 (file)
@@ -61,4 +61,3 @@ int(%d)
 Warning: unlink(): open_basedir restriction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 *** Finished testing open_basedir configuration [linkinfo] ***
-
index 35e5a220197333acd6455650b2c3edfe5889e461..8cd037dbd3d0361117ff7af7c40a9ce9facd7798 100644 (file)
@@ -52,4 +52,3 @@ bool(true)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [lstat] ***
-
index 077a5116b45d6800aa702474169b345702872be1..b580f15dd2e0d5a9c34c99039ebabb37dec717ff 100644 (file)
@@ -70,4 +70,3 @@ resource(%d) of type (stream)
 resource(%d) of type (stream)
 resource(%d) of type (stream)
 *** Finished testing open_basedir configuration [opendir] ***
-
index ac740f073b47acbd6c96ef999c42fc9cdd4bff14..cba16cea9c90e5bb4f0ff1ec869702f2dad81da2 100644 (file)
@@ -79,4 +79,3 @@ Warning: parse_ini_file(%s\test): failed to open stream: Operation not permitted
 array(0) {
 }
 *** Finished testing open_basedir configuration [parse_ini_file] ***
-
index cbba4307e5e5e38daac448c0bb6d023a9155eb28..51334102909123aa29060b2b39864d3b6160f18e 100644 (file)
@@ -73,4 +73,3 @@ bool(false)
 Warning: unlink(): open_basedir restriction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 *** Finished testing open_basedir configuration [readlink] ***
-
index a107be8ffc897c3b64b31e03b6682dffc2409d6a..bec1c12b047e6341832a0d70b64987fc46ad906a 100644 (file)
@@ -25,28 +25,6 @@ bool(true)
 bool(true)
 bool(true)
 bool(true)
-string(%d) "%s\test\bad"
-string(%d) "%s\test\bad\bad.txt"
-string(%d) "%s\test"
-string(%d) "%s\test"
-string(%d) "%s"
-string(%d) "%s\test\bad"
-string(%d) "%s\test\bad\bad.txt"
-string(%d) "%s\test\bad\bad.txt"
-string(%d) "%s\test"
-string(%d) "%s\test\ok"
-string(%d) "%s\test\ok\ok.txt"
-string(%d) "%s\test\ok\ok.txt"
-string(%d) "%s\test\ok\ok.txt"
-string(%d) "%s\test\ok\ok.txt"
-*** Finished testing open_basedir configuration [realpath] ***
---UEXPECTF--
-*** Testing open_basedir configuration [realpath] ***
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
 unicode(%d) "%s\test\bad"
 unicode(%d) "%s\test\bad\bad.txt"
 unicode(%d) "%s\test"
@@ -62,4 +40,3 @@ unicode(%d) "%s\test\ok\ok.txt"
 unicode(%d) "%s\test\ok\ok.txt"
 unicode(%d) "%s\test\ok\ok.txt"
 *** Finished testing open_basedir configuration [realpath] ***
-
index 428e7a070a76a40543413de445e4132ed99f9963..e512e58d461f5f53228186d5655776753c4d5fcf 100644 (file)
@@ -44,4 +44,3 @@ bool(false)
 Warning: rename(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 *** Finished testing open_basedir configuration [rename] ***
-
index b4d61f8b76657c04115bed16defc499b484e0c38..8cc4f818c82d763b5b4bd7e1c4c577955b5cec5c 100644 (file)
@@ -44,4 +44,3 @@ bool(false)
 Warning: rmdir(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 *** Finished testing open_basedir configuration [rmdir] ***
-
index 1c5072046d1666cc9a755ba5ccbb7ffe9a598d2d..28e9741cb8fcfac946d174677421c1cab10da303 100644 (file)
@@ -80,94 +80,6 @@ Warning: scandir(): open_basedir restriction in effect. File(%s/test/bad/../bad/
 
 Warning: scandir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation not permitted in %s on line %d
 
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
-bool(false)
-array(3) {
-  [0]=>
-  string(1) "."
-  [1]=>
-  string(2) ".."
-  [2]=>
-  string(6) "ok.txt"
-}
-array(3) {
-  [0]=>
-  string(1) "."
-  [1]=>
-  string(2) ".."
-  [2]=>
-  string(6) "ok.txt"
-}
-array(3) {
-  [0]=>
-  string(1) "."
-  [1]=>
-  string(2) ".."
-  [2]=>
-  string(6) "ok.txt"
-}
-*** Finished testing open_basedir configuration [scandir] ***
---UEXPECTF--
-*** Testing open_basedir configuration [scandir] ***
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-
-Warning: scandir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: scandir(../bad): failed to open dir: Operation not permitted in %s on line %d
-
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
-bool(false)
-
-Warning: scandir(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: scandir(../bad/bad.txt): failed to open dir: Operation not permitted in %s on line %d
-
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
-bool(false)
-
-Warning: scandir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: scandir(..): failed to open dir: Operation not permitted in %s on line %d
-
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
-bool(false)
-
-Warning: scandir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line 80
-
-Warning: scandir(../): failed to open dir: Operation not permitted in %s on line %d
-
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
-bool(false)
-
-Warning: scandir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: scandir(/): failed to open dir: Operation not permitted in %s on line %d
-
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
-bool(false)
-
-Warning: scandir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: scandir(../bad/.): failed to open dir: Operation not permitted in %s on line %d
-
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
-bool(false)
-
-Warning: scandir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: scandir(%s/test/bad/bad.txt): failed to open dir: Operation not permitted in %s on line %d
-
-Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
-bool(false)
-
-Warning: scandir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-
-Warning: scandir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation not permitted in %s on line %d
-
 Warning: scandir(): (errno 1): Operation not permitted in %s on line %d
 bool(false)
 array(3) {
@@ -195,4 +107,3 @@ array(3) {
   unicode(6) "ok.txt"
 }
 *** Finished testing open_basedir configuration [scandir] ***
-
index b80b854d6c0235fdb3227ef083ba280ad5337512..2ad67d67d57c7d325484d5b4309da12bdf9e7b1c 100644 (file)
@@ -52,4 +52,3 @@ bool(true)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [stat] ***
-
index 3b3f1d571ff4b595314591400fcfd1219c1198c0..ab87e87b0473da41e9415a253f744ea69b4a7734 100644 (file)
@@ -75,4 +75,3 @@ bool(false)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [symlink] ***
-
index 4a6db0ae7d50b27dcc74c0c32508b581e34e4968..691cae03ada071ae8fcf0299f1c259d5217d3bf2 100644 (file)
@@ -49,37 +49,8 @@ bool(false)
 Warning: tempnam(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 
-Warning: tempnam(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-string(%d) "%s"
-bool(true)
-*** Finished testing open_basedir configuration [tempnam] ***
---UEXPECTF--
-*** Testing open_basedir configuration [tempnam] ***
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-
-Warning: tempnam(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: tempnam(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: tempnam(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: tempnam(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
-Warning: tempnam(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-bool(false)
-
 Warning: tempnam(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 unicode(%d) "%s"
 bool(true)
 *** Finished testing open_basedir configuration [tempnam] ***
-
index b0a5aee61259f5c9c741b1eb7072ee3ff23c6674..03c7b9e05f0f65b0c2baf7c89ec8fe76b77dd465 100644 (file)
@@ -67,4 +67,3 @@ bool(true)
 bool(true)
 bool(true)
 *** Finished testing open_basedir configuration [touch] ***
-
index 75b0f3f4a94a36c8e05bf86885bd50ebcf13f5a9..e2d025c18a71c9d9a053f6d2eaf2b84c73215f6e 100644 (file)
@@ -44,4 +44,3 @@ bool(false)
 Warning: unlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
 bool(false)
 *** Finished testing open_basedir configuration [unlink] ***
-
index 2af793ab59866e37a3a5768b1afa4fa3137a8e3e..36dbac1cd206f929e606ccf047a023290cc4b3f6 100755 (executable)
@@ -21,11 +21,6 @@ var_dump($wrong);
 
 ?>
 --EXPECT--
-string(6) "abcdef"
-string(6) "abcdef"
-string(6) "a*c*e*"
-string(6) "a*c*e*"
---UEXPECT--
 unicode(6) "abcdef"
 unicode(6) "abcdef"
 unicode(6) "a*c*e*"
index 64d6601924efb4f4215eb407ce12c551f457513b..0409e2e25408d0f10d92735d20a839989dd0bd84 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding autodetection (SCSU)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index 678b2332caace9f9f1eafb1fa8026509a68734d6..767bcf441adca9a3ca0f14cc8822670756a5debc 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding autodetection (UTF-16BE)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index 9c219f911968eed1eb6d4d21e69a58b401a3ee2c..39b4777d97b0185c491fd0bea5fd73e93552eb23 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding autodetection (UTF-16LE)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index 2b0c5b52732e50e19abfe8def3fc673ea2c324db..2ea735476128444cf3271388375fc409004a8ad5 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding autodetection (UTF-32BE)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index f1041c8dce06655316cd63d677eed1cafe42daa8..61b6f90148e7c81ebf62981ff593bbf937a836dd 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding autodetection (UTF-32LE)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index d9a33a47d7a29cfebdd55ec75dacc55323309c0f..6d29e38c4c660a28d335075f04b98bc27ce837b9 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding autodetection (UTF7)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index 2f91be3497a2ae75e845b5b3c722da9e513ba4da..618656b5ad9b4f6b6b9be18d88e84301d1e4ed31 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding autodetection (UTF8)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index a5aabad0c9fd03d91d13cf5e30d01f0402330626..21c104ae71ef2296c255e305b2a7739023756a3e 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding (HZ)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index 23fe3b903a6b960fcc177dbef0c831fdd6f45444..53bd4f7ee7b17fff1b54bc360648cd625c80fcd8 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding (ISO-2022-KR)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index 5088a1c54fdc18d26d830b512a357ebeffcf5cb6..b466cd7e3353b8a2eacf08419b710b8b36e28355 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding (JIS)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index b3661b87277e9a63439afa510aaedfbc6d5160f6..eb7b195ab6198fc0f7fc2c92962b47e649e8aa39 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Script encoding (SJIS)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index e87fb606a1eab068f6ca93e1a7a494b3beae945b..8c08a257402d58bb0ae87674e07e1f71d48c19da 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 declare script encoding (HZ)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index 8ef2c46a74ef4dc36ff903406c306deb73971f4a..3b00bfe0783dab72b6073bd76372a9968a976cd9 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 declare script encoding (ISO-2022-KR)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index 4da9d884c92db5c54335efea7cb765015f0ff1c3..42303e6cd2e7c42b34f83518de3d0ad68bd0c856 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 declare script encoding (JIS)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index 73cd4a185e8e28d217293bbede742692e484f168..cd58ebb9cc08852105f49f5db25c219a468f52c0 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 declare script encoding (SJIS)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --INI--
 unicode.output_encoding=CP866
 --FILE--
index a231bec77050e9a9e5704bb1e491b510362ccf45..0233e0df697def7b5343cc8ed163751dba579c4c 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Unicode: strpos() function test
---INI--
-unicode.semantics=on
 --FILE--
 <?php
 $a = "a™ᄒ\U020021z";
index 42495bc1c61945dd1dad3fda0655cd487b5ca6c0..39806f46a2f07dc9592936e06674cd685ad58013 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Unicode: strpos() function test
---INI--
-unicode.semantics=on
 --FILE--
 <?php
 $a = "a™ᄒ\U020021z";
index ae6ced7c973f064ac0476f7e5bc24a7b91189a89..c6a5d96b168e8a85f157c95cd7c1aab1a8e69da4 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Unicode identifiers normalization (${})
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --FILE--
 <?php
 ${"\u212B"} = "ok\n";
index cf8976f41355ef6a2232bba5a7ef2ccf84a4697e..adea8a6f5e298a4880fdfc950785d47a1d5aef18 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Unicode identifiers normalization ($$)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --FILE--
 <?php
 $a = "\u212B";
index 6bbfdecaa028db4e65e25ed4bbb74d1fbf503c8b..ef022fea147d393a68b270a443218e76a38ffb76 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Unicode identifiers normalization (indirect function call)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --FILE--
 <?php
 declare(encoding = "ISO-8859-1");
index 9df79953e9f33ef1c188f59b687f14d4471ad42f..c9a25d31a86ca79eead33d627665be6e41ced65f 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Unicode identifiers normalization ($GLOBALS[])
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --FILE--
 <?php
 $GLOBALS["\u212B"] = "ok\n";