summaryrefslogtreecommitdiff
path: root/ext/ereg/tests
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2013-03-03 10:59:15 +0800
committerXinchen Hui <laruence@php.net>2013-03-03 10:59:15 +0800
commit505c6ca486aa8edbc3a42ae0f4ba7eb01d02721c (patch)
tree13e1fd4bcdbb5fbc4095556a42ceb15a22c79788 /ext/ereg/tests
parentf2246f352fc01295c370728d68a9bcd2bb546652 (diff)
downloadphp-git-505c6ca486aa8edbc3a42ae0f4ba7eb01d02721c.tar.gz
Fixed bug #64290 (behavior change of converting to long)
convert_to_long behavior has been improved As Cataphrace said in IRC, the test should be fixed.
Diffstat (limited to 'ext/ereg/tests')
-rw-r--r--ext/ereg/tests/split_variation_004.phpt6
-rw-r--r--ext/ereg/tests/spliti_variation_004.phpt6
2 files changed, 0 insertions, 12 deletions
diff --git a/ext/ereg/tests/split_variation_004.phpt b/ext/ereg/tests/split_variation_004.phpt
index 1fa71edd38..d3d2de84a3 100644
--- a/ext/ereg/tests/split_variation_004.phpt
+++ b/ext/ereg/tests/split_variation_004.phpt
@@ -18,7 +18,6 @@ $pattern = '[[:space:]]';
$string = '1 2 3 4 5';
var_dump(split($pattern, $string, 0));
var_dump(split($pattern, $string, -10));
-var_dump(split($pattern, $string, 10E20));
echo "Done";
@@ -35,9 +34,4 @@ array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Error: 8192 - Function split() is deprecated, %s(18)
-array(1) {
- [0]=>
- string(9) "1 2 3 4 5"
-}
Done
diff --git a/ext/ereg/tests/spliti_variation_004.phpt b/ext/ereg/tests/spliti_variation_004.phpt
index b6bf227ba0..d9afa13892 100644
--- a/ext/ereg/tests/spliti_variation_004.phpt
+++ b/ext/ereg/tests/spliti_variation_004.phpt
@@ -18,7 +18,6 @@ $pattern = '[[:space:]]';
$string = '1 2 3 4 5';
var_dump(spliti($pattern, $string, 0));
var_dump(spliti($pattern, $string, -10));
-var_dump(spliti($pattern, $string, 10E20));
echo "Done";
@@ -35,9 +34,4 @@ array(1) {
[0]=>
string(9) "1 2 3 4 5"
}
-Error: 8192 - Function spliti() is deprecated, %s(18)
-array(1) {
- [0]=>
- string(9) "1 2 3 4 5"
-}
Done