From: Ant Phillips Date: Thu, 27 Nov 2008 14:39:33 +0000 (+0000) Subject: Latest and greatest versions of these session tests - checked on 5.2.X snap on Window... X-Git-Tag: php-5.3.0alpha2~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=587363da3cd3b38ecabed47f7849772509fd4c89;p=php Latest and greatest versions of these session tests - checked on 5.2.X snap on Windows, Linux and Linux 64 bit. --- diff --git a/ext/ereg/tests/ereg_replace_variation_002.phpt b/ext/ereg/tests/ereg_replace_variation_002.phpt index 084378135b..1032060f71 100644 --- a/ext/ereg/tests/ereg_replace_variation_002.phpt +++ b/ext/ereg/tests/ereg_replace_variation_002.phpt @@ -85,104 +85,79 @@ 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 +Done \ No newline at end of file diff --git a/ext/ereg/tests/eregi_replace_variation_002.phpt b/ext/ereg/tests/eregi_replace_variation_002.phpt index 4bac48b7c1..4186d0fd3d 100644 --- a/ext/ereg/tests/eregi_replace_variation_002.phpt +++ b/ext/ereg/tests/eregi_replace_variation_002.phpt @@ -85,104 +85,79 @@ 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 +Done \ No newline at end of file diff --git a/ext/ereg/tests/split_variation_003.phpt b/ext/ereg/tests/split_variation_003.phpt index 90b86c28ef..9f13c66fd6 100644 --- a/ext/ereg/tests/split_variation_003.phpt +++ b/ext/ereg/tests/split_variation_003.phpt @@ -82,7 +82,6 @@ echo "Done"; *** Testing split() : usage variations *** Arg value 10.5 -Error: 8192 - Function split() is deprecated, %s(73) array(5) { [0]=> string(1) "1" @@ -97,130 +96,130 @@ 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 -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, array given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value Array -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, array given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value Array -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, array given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value Array -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, array given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value Array -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, array given, %s(73) -NULL +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 -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 -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, string given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, string given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value string -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, string given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value string -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, string given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Error: 4096 - Object of class stdClass could not be converted to string, %s(72) Arg value -Error: 8192 - Function split() is deprecated, %s(73) -Error: 2 - split() expects parameter 3 to be long, object given, %s(73) -NULL +Error: 8 - Object of class stdClass could not be converted to int, %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 -Error: 8192 - Function split() is deprecated, %s(73) array(1) { [0]=> string(9) "1 2 3 4 5" } -Done +Done \ No newline at end of file diff --git a/ext/ereg/tests/spliti_variation_003.phpt b/ext/ereg/tests/spliti_variation_003.phpt index 906af40804..3566a92be0 100644 --- a/ext/ereg/tests/spliti_variation_003.phpt +++ b/ext/ereg/tests/spliti_variation_003.phpt @@ -82,7 +82,6 @@ echo "Done"; *** Testing spliti() : usage variations *** Arg value 10.5 -Error: 8192 - Function spliti() is deprecated, %s(73) array(5) { [0]=> string(1) "1" @@ -97,130 +96,130 @@ 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 -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value Array -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value Array -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value Array -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value Array -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, array given, %s(73) -NULL +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 -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 -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value string -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Arg value string -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, string given, %s(73) -NULL +array(1) { + [0]=> + string(9) "1 2 3 4 5" +} Error: 4096 - Object of class stdClass could not be converted to string, %s(72) Arg value -Error: 8192 - Function spliti() is deprecated, %s(73) -Error: 2 - spliti() expects parameter 3 to be long, object given, %s(73) -NULL +Error: 8 - Object of class stdClass could not be converted to int, %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 -Error: 8192 - Function spliti() is deprecated, %s(73) array(1) { [0]=> string(9) "1 2 3 4 5" } -Done +Done \ No newline at end of file