]> granicus.if.org Git - php/commitdiff
- Fixed tests
authorFelipe Pena <felipe@php.net>
Sat, 29 Nov 2008 22:45:48 +0000 (22:45 +0000)
committerFelipe Pena <felipe@php.net>
Sat, 29 Nov 2008 22:45:48 +0000 (22:45 +0000)
ext/ereg/tests/ereg_replace_variation_002.phpt
ext/ereg/tests/eregi_replace_variation_002.phpt
ext/ereg/tests/split_variation_003.phpt
ext/ereg/tests/spliti_variation_003.phpt

index 1032060f71e62a121dcc756b2ca54e1e350eb575..19f91c6b9449e4f4e1a05ce13183ade51de4ac9f 100644 (file)
@@ -85,79 +85,104 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
 Error: 8 - Undefined variable: unset_var, %s(67)
 
 Arg value 0 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value 1 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value 12345 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(6) "h9o%21"
 
 Arg value -2345 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%D7o%21"
 
 Arg value 10.5 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%0Ao%21"
 
 Arg value -10.5 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%F6o%21"
 
 Arg value 101234567000 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(%d) "h%so%21"
 
 Arg value 1.07654321E-9 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value 0.5 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value Array 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value Array 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value Array 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value Array 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value Array 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value  
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value  
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value 1 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value  
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value 1 
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value  
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value  
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value  
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
 Arg value  
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 Error: 8 - Object of class stdClass could not be converted to int, %s(74)
 string(8) "h%01o%21"
 
 Arg value  
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value  
+Error: 8192 - Function ereg_replace() is deprecated, %s(74)
 string(5) "ho%21"
 Done
\ No newline at end of file
index 4186d0fd3d26e1dbfc240b944ceb22cf99cc880b..e14c5a185ba47abede25d0403eb296fa52edc978 100644 (file)
@@ -85,79 +85,104 @@ Error: 8 - Undefined variable: undefined_var, %s(64)
 Error: 8 - Undefined variable: unset_var, %s(67)
 
 Arg value 0 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value 1 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value 12345 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(6) "h9o%21"
 
 Arg value -2345 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%D7o%21"
 
 Arg value 10.5 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%0Ao%21"
 
 Arg value -10.5 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%F6o%21"
 
 Arg value 101234567000 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(%d) "h%so%21"
 
 Arg value 1.07654321E-9 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value 0.5 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value Array 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value Array 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value Array 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value Array 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value Array 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value  
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value  
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value 1 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value  
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value 1 
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(8) "h%01o%21"
 
 Arg value  
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value  
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value  
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
 Arg value  
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 Error: 8 - Object of class stdClass could not be converted to int, %s(74)
 string(8) "h%01o%21"
 
 Arg value  
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 
 Arg value  
+Error: 8192 - Function eregi_replace() is deprecated, %s(74)
 string(5) "ho%21"
 Done
\ No newline at end of file
index 9f13c66fd6d323ae20f1a65df8157c795576a7c7..480db35bc9a93c05c5302597741c478fec0f1743 100644 (file)
@@ -82,6 +82,7 @@ echo "Done";
 *** Testing split() : usage variations ***
 
 Arg value 10.5 
+Error: 8192 - Function split() is deprecated, %s(73)
 array(5) {
   [0]=>
   string(1) "1"
@@ -96,128 +97,128 @@ array(5) {
 }
 
 Arg value -10.5 
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value 1.07654321E-9 
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value 0.5 
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value  
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value 1 
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value 1 
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, string given, %s(73)
+NULL
 
 Arg value  
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, string given, %s(73)
+NULL
 
 Arg value string 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, string given, %s(73)
+NULL
 
 Arg value string 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, string given, %s(73)
+NULL
 Error: 4096 - Object of class stdClass could not be converted to string, %s(72)
 
 Arg value  
-Error: 8 - Object of class stdClass could not be converted to int, %s(73)
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function split() is deprecated, %s(73)
+Error: 2 - split() expects parameter 3 to be long, object given, %s(73)
+NULL
 
 Arg value  
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
+Error: 8192 - Function split() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
index 3566a92be060ebd7a65d321d8641208795da8944..beee4c643ebf3d03ae75b5cf3dacf5727338a5ee 100644 (file)
@@ -82,6 +82,7 @@ echo "Done";
 *** Testing spliti() : usage variations ***
 
 Arg value 10.5 
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(5) {
   [0]=>
   string(1) "1"
@@ -96,128 +97,128 @@ array(5) {
 }
 
 Arg value -10.5 
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value 1.07654321E-9 
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value 0.5 
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value Array 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73)
+NULL
 
 Arg value  
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value 1 
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value 1 
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73)
+NULL
 
 Arg value  
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73)
+NULL
 
 Arg value string 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73)
+NULL
 
 Arg value string 
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73)
+NULL
 Error: 4096 - Object of class stdClass could not be converted to string, %s(72)
 
 Arg value  
-Error: 8 - Object of class stdClass could not be converted to int, %s(73)
-array(1) {
-  [0]=>
-  string(9) "1 2 3 4 5"
-}
+Error: 8192 - Function spliti() is deprecated, %s(73)
+Error: 2 - spliti() expects parameter 3 to be long, object given, %s(73)
+NULL
 
 Arg value  
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"
 }
 
 Arg value  
+Error: 8192 - Function spliti() is deprecated, %s(73)
 array(1) {
   [0]=>
   string(9) "1 2 3 4 5"