Commit:    505c6ca486aa8edbc3a42ae0f4ba7eb01d02721c
Author:    Xinchen Hui <larue...@php.net>         Sun, 3 Mar 2013 10:59:15 +0800
Parents:   f2246f352fc01295c370728d68a9bcd2bb546652
Branches:  PHP-5.5

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=505c6ca486aa8edbc3a42ae0f4ba7eb01d02721c

Log:
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.

Bugs:
https://bugs.php.net/64290

Changed paths:
  M  ext/ereg/tests/split_variation_004.phpt
  M  ext/ereg/tests/spliti_variation_004.phpt


Diff:
diff --git a/ext/ereg/tests/split_variation_004.phpt 
b/ext/ereg/tests/split_variation_004.phpt
index 1fa71ed..d3d2de8 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 b6bf227..d9afa13 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


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to