mattwil         Thu Jun  4 18:24:09 2009 UTC

  Removed files:               
    /php-src/ext/standard/tests/url     parse_url_variation_002.phpt 

  Modified files:              
    /ZendEngine2/tests  bug39018.phpt int_overflow_64bit.phpt 
                        int_underflow_32bit.phpt 
    /php-src/ext/date/tests     date_sunrise_variation9.phpt 
                                date_sunset_variation9.phpt 
                                getdate_variation7.phpt 
                                gmdate_variation14.phpt 
                                gmstrftime_variation2.phpt 
                                idate_variation3.phpt 
                                localtime_variation3.phpt 
                                strftime_variation23.phpt 
    /php-src/ext/ereg/tests     split_variation_004.phpt 
                                spliti_variation_004.phpt 
    /php-src/ext/standard/tests/array   array_fill_variation1.phpt 
                                        array_slice_variation2.phpt 
                                        array_slice_variation3.phpt 
    /php-src/ext/standard/tests/general_functions       
                                                        
gettype_settype_variation2.phpt 
    /php-src/ext/standard/tests/math    decbin_variation1.phpt 
                                        decbin_variation1_64bit.phpt 
                                        dechex_variation1.phpt 
                                        dechex_variation1_64bit.phpt 
                                        decoct_variation1.phpt 
                                        decoct_variation1_64bit.phpt 
    /php-src/ext/standard/tests/strings chunk_split_variation2.phpt 
                                        htmlspecialchars_decode_variation2.phpt 
                                        pack.phpt 
                                        sprintf_variation35.phpt 
                                        sprintf_variation4.phpt 
                                        sprintf_variation41.phpt 
                                        vfprintf_variation15.phpt 
                                        vfprintf_variation16.phpt 
                                        vfprintf_variation4.phpt 
                                        vprintf_variation15.phpt 
                                        vprintf_variation15_64bit.phpt 
                                        vprintf_variation16.phpt 
                                        vprintf_variation4.phpt 
                                        vsprintf_variation15.phpt 
                                        vsprintf_variation15_64bit.phpt 
                                        vsprintf_variation16.phpt 
                                        vsprintf_variation4.phpt 
    /php-src/ext/standard/tests/url     parse_url_variation_002_32bit.phpt 
                                        parse_url_variation_002_64bit.phpt 
  Log:
  Updated tests after double->long conversion change (basically to match 5.2)
  
  # Let me know about other failing tests I missed
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/bug39018.phpt?r1=1.3&r2=1.4&diff_format=u
Index: ZendEngine2/tests/bug39018.phpt
diff -u ZendEngine2/tests/bug39018.phpt:1.3 ZendEngine2/tests/bug39018.phpt:1.4
--- ZendEngine2/tests/bug39018.phpt:1.3 Tue Mar 11 11:06:10 2008
+++ ZendEngine2/tests/bug39018.phpt     Thu Jun  4 18:24:08 2009
@@ -65,7 +65,7 @@
 
 Notice: Uninitialized string offset: 0 in %s on line 12
 
-Notice: Uninitialized string offset: -%d in %s on line 16
+Notice: Uninitialized string offset: %i in %s on line 16
 
 Notice: Uninitialized string offset: 4 in %s on line 28
 
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/int_overflow_64bit.phpt?r1=1.4&r2=1.5&diff_format=u
Index: ZendEngine2/tests/int_overflow_64bit.phpt
diff -u ZendEngine2/tests/int_overflow_64bit.phpt:1.4 
ZendEngine2/tests/int_overflow_64bit.phpt:1.5
--- ZendEngine2/tests/int_overflow_64bit.phpt:1.4       Mon May 26 14:33:43 2008
+++ ZendEngine2/tests/int_overflow_64bit.phpt   Thu Jun  4 18:24:08 2009
@@ -24,9 +24,9 @@
 ?>
 --EXPECT--
 int(9223372036854775807)
-int(9223372036854775807)
-int(9223372036854775807)
-int(9223372036854775807)
+int(-9223372036854775808)
+int(-9223372036854775808)
+int(0)
 int(-9223372036854775808)
 int(-9223372036854775808)
 int(-9223372036854775808)
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/int_underflow_32bit.phpt?r1=1.3&r2=1.4&diff_format=u
Index: ZendEngine2/tests/int_underflow_32bit.phpt
diff -u ZendEngine2/tests/int_underflow_32bit.phpt:1.3 
ZendEngine2/tests/int_underflow_32bit.phpt:1.4
--- ZendEngine2/tests/int_underflow_32bit.phpt:1.3      Mon May 26 14:33:43 2008
+++ ZendEngine2/tests/int_underflow_32bit.phpt  Thu Jun  4 18:24:08 2009
@@ -22,8 +22,8 @@
 ?>
 --EXPECT--
 int(-2147483648)
-int(-2147483648)
-int(-2147483648)
-int(-2147483648)
-int(-2147483648)
+int(2147483647)
+int(2147483638)
+int(2147483548)
+int(2147482648)
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/date_sunrise_variation9.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/date/tests/date_sunrise_variation9.phpt
diff -u php-src/ext/date/tests/date_sunrise_variation9.phpt:1.1 
php-src/ext/date/tests/date_sunrise_variation9.phpt:1.2
--- php-src/ext/date/tests/date_sunrise_variation9.phpt:1.1     Mon Nov 10 
05:49:54 2008
+++ php-src/ext/date/tests/date_sunrise_variation9.phpt Thu Jun  4 18:24:08 2009
@@ -36,12 +36,12 @@
 \*\*\* Testing date_sunrise\(\) : usage variation \*\*\*
 
 -- Testing date_sunrise\(\) function by passing float 12.3456789000e10 value 
to time --
-unicode\(5\) "(08:53|07:49)"
-float\((8.883[0-9]*|8.883[0-9]*|7.821[0-9]*)\)
-int\((-2147466915|123456811756)\)
+unicode\(5\) "(07:34|07:49)"
+float\((7.566[0-9]*|7.821[0-9]*)\)
+int\((-1097256359|123456811756)\)
 
 -- Testing date_sunrise\(\) function by passing float -12.3456789000e10 value 
to time --
-unicode\(5\) "(08:48|08:04)"
-float\((8.810[0-9]*|8.074[0-9]*)\)
-int\((-2147443882|-123456761731)\)
+unicode\(5\) "(07:42|08:48|08:04)"
+float\((7.713[0-9]*|8.810[0-9]*|8.074[0-9]*)\)
+int\((1097304168|-2147443882|-123456761731)\)
 ===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/date_sunset_variation9.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/date/tests/date_sunset_variation9.phpt
diff -u php-src/ext/date/tests/date_sunset_variation9.phpt:1.1 
php-src/ext/date/tests/date_sunset_variation9.phpt:1.2
--- php-src/ext/date/tests/date_sunset_variation9.phpt:1.1      Mon Nov 10 
07:10:00 2008
+++ php-src/ext/date/tests/date_sunset_variation9.phpt  Thu Jun  4 18:24:08 2009
@@ -36,12 +36,12 @@
 \*\*\* Testing date_sunset\(\) : usage variation \*\*\*
 
 -- Testing date_sunset\(\) function by passing float 12.3456789000e10 value to 
time --
-unicode\(5\) "(18:40|19:28)"
-float\((18.676[0-9]*|18.6762[0-9]*|19.480[0-9]*)\)
-int\((-2147431662|123456853728)\)
+unicode\(5\) "(19:49|19:28)"
+float\((19.830[0-9]*|19.830[0-9]*|19.480[0-9]*)\)
+int\((-1097212211|123456853728)\)
 
 -- Testing date_sunset\(\) function by passing float -12.3456789000e10 value 
to time --
-unicode\(5\) "(18:12|18:48)"
-float\((18.213[0-9]*|18.808[0-9]*)\)
-int\((-2147410031|-123456723090)\)
+unicode\(5\) "(19:03|18:12|18:48)"
+float\((19.056[0-9]*|18.213[0-9]*|18.808[0-9]*)\)
+int\((1097345002|-2147410031|-123456723090)\)
 ===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/getdate_variation7.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/date/tests/getdate_variation7.phpt
diff -u php-src/ext/date/tests/getdate_variation7.phpt:1.2 
php-src/ext/date/tests/getdate_variation7.phpt:1.3
--- php-src/ext/date/tests/getdate_variation7.phpt:1.2  Thu Jan 22 18:47:25 2009
+++ php-src/ext/date/tests/getdate_variation7.phpt      Thu Jun  4 18:24:08 2009
@@ -27,52 +27,52 @@
 -- Testing getdate\(\) function by passing float 12.3456789000e10 value to 
timestamp --
 array\(11\) {
   \[u"seconds"\]=>
-  int\((7|0)\)
+  int\((36|0)\)
   \[u"minutes"\]=>
-  int\((44|0)\)
+  int\((43|0)\)
   \[u"hours"\]=>
-  int\((8|6)\)
+  int\((10|6)\)
   \[u"mday"\]=>
-  int\((19|11)\)
+  int\((26|11)\)
   \[u"wday"\]=>
   int\((2|6)\)
   \[u"mon"\]=>
-  int\((1|3)\)
+  int\(3\)
   \[u"year"\]=>
-  int\((2038|5882)\)
+  int\((1935|5882)\)
   \[u"yday"\]=>
-  int\((18|69)\)
+  int\((84|69)\)
   \[u"weekday"\]=>
   unicode\((7|8)\) "(Tuesday|Saturday)"
   \[u"month"\]=>
-  unicode\((7|5)\) "(January|March)"
+  unicode\(5\) "March"
   \[0\]=>
-  int\((2147483647|123456789000)\)
+  int\((-1097262584|123456789000)\)
 }
 
 -- Testing getdate\(\) function by passing float -12.3456789000e10 value to 
timestamp --
 array\(11\) {
   \[u"seconds"\]=>
-  int\((12|20)\)
+  int\((44|12|20)\)
   \[u"minutes"\]=>
   int\((39|23)\)
   \[u"hours"\]=>
-  int\((2|5)\)
+  int\((0|2|5)\)
   \[u"mday"\]=>
-  int\((14|23)\)
+  int\((9|14|23)\)
   \[u"wday"\]=>
   int\((6|-4)\)
   \[u"mon"\]=>
-  int\((12|10)\)
+  int\((10|12)\)
   \[u"year"\]=>
-  int\((1901|-1943)\)
+  int\((2004|1901|-1943)\)
   \[u"yday"\]=>
-  int\((347|295)\)
+  int\((282|347|295)\)
   \[u"weekday"\]=>
   unicode\((8|7)\) "(Saturday|Unknown)"
   \[u"month"\]=>
-  unicode\((8|7)\) "(December|October)"
+  unicode\((7|8)\) "(October|December)"
   \[0\]=>
-  int\((-2147483648|-123456789000)\)
+  int\((1097262584|-2147483648|-123456789000)\)
 }
 ===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/gmdate_variation14.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/date/tests/gmdate_variation14.phpt
diff -u php-src/ext/date/tests/gmdate_variation14.phpt:1.1 
php-src/ext/date/tests/gmdate_variation14.phpt:1.2
--- php-src/ext/date/tests/gmdate_variation14.phpt:1.1  Fri Nov 14 09:14:30 2008
+++ php-src/ext/date/tests/gmdate_variation14.phpt      Thu Jun  4 18:24:08 2009
@@ -27,8 +27,8 @@
 \*\*\* Testing gmdate\(\) : usage variation \*\*\*
 
 -- Testing gmdate\(\) function with float 12.3456789000e10 to timestamp --
-unicode\((24|25)\) "(2038-01-19T03:14:07\+0000|5882-03-11T00:30:00\+0000)"
+unicode\((24|25)\) "(1935-03-26T04:50:16\+0000|5882-03-11T00:30:00\+0000)"
 
 -- Testing gmdate\(\) function with float -12.3456789000e10 to timestamp --
-unicode\((24|25)\) "(1901-12-13T20:45:52\+0000|-1943-10-22T23:30:00\+0000)"
+unicode\((24|25)\) 
"(2004-10-08T19:09:44\+0000|1901-12-13T20:45:52\+0000|-1943-10-22T23:30:00\+0000)"
 ===DONE===
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/gmstrftime_variation2.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/date/tests/gmstrftime_variation2.phpt
diff -u php-src/ext/date/tests/gmstrftime_variation2.phpt:1.2 
php-src/ext/date/tests/gmstrftime_variation2.phpt:1.3
--- php-src/ext/date/tests/gmstrftime_variation2.phpt:1.2       Thu Jan 22 
18:47:25 2009
+++ php-src/ext/date/tests/gmstrftime_variation2.phpt   Thu Jun  4 18:24:08 2009
@@ -112,10 +112,10 @@
 unicode(20) "Dec 31 1969 23:59:50"
 
 --float 12.3456789000e10--
-unicode(20) "Jan 19 2038 03:14:07"
+unicode(20) "Mar 26 1935 04:50:16"
 
 --float -12.3456789000e10--
-unicode(20) "Dec 13 1901 20:45:52"
+unicode(20) "Oct 08 2004 19:09:44"
 
 --float .5--
 unicode(20) "Jan 01 1970 00:00:00"
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/idate_variation3.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/date/tests/idate_variation3.phpt
diff -u php-src/ext/date/tests/idate_variation3.phpt:1.1 
php-src/ext/date/tests/idate_variation3.phpt:1.2
--- php-src/ext/date/tests/idate_variation3.phpt:1.1    Mon Dec  8 10:41:47 2008
+++ php-src/ext/date/tests/idate_variation3.phpt        Thu Jun  4 18:24:08 2009
@@ -28,8 +28,8 @@
 \*\*\* Testing idate\(\) : usage variation \*\*\*
 
 -- Testing idate\(\) function with float 12.3456789000e10 to timestamp --
-int\((2038|5882)\)
+int\((1935|5882)\)
 
 -- Testing idate\(\) function with float -12.3456789000e10 to timestamp --
-int\((1901|-1943)\)
+int\((2004|1901|-1943)\)
 ===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/localtime_variation3.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/date/tests/localtime_variation3.phpt
diff -u php-src/ext/date/tests/localtime_variation3.phpt:1.2 
php-src/ext/date/tests/localtime_variation3.phpt:1.3
--- php-src/ext/date/tests/localtime_variation3.phpt:1.2        Fri Jan  9 
05:10:33 2009
+++ php-src/ext/date/tests/localtime_variation3.phpt    Thu Jun  4 18:24:08 2009
@@ -33,41 +33,41 @@
 -- Testing localtime\(\) function with 'float 12.3456789000e10' to timestamp --
 array\(9\) {
   \[0\]=>
-  int\((7|0)\)
+  int\((16|0)\)
   \[1\]=>
-  int\((14|30)\)
+  int\((50|30)\)
   \[2\]=>
-  int\((3|0)\)
+  int\((4|0)\)
   \[3\]=>
-  int\((19|11)\)
+  int\((26|11)\)
   \[4\]=>
-  int\((0|2)\)
+  int\(2\)
   \[5\]=>
-  int\((138|3982)\)
+  int\((35|3982)\)
   \[6\]=>
   int\((2|6)\)
   \[7\]=>
-  int\((18|69)\)
+  int\((84|69)\)
   \[8\]=>
   int\(0\)
 }
 array\(9\) {
   \[u"tm_sec"\]=>
-  int\((7|0)\)
+  int\((16|0)\)
   \[u"tm_min"\]=>
-  int\((14|30)\)
+  int\((50|30)\)
   \[u"tm_hour"\]=>
-  int\((3|0)\)
+  int\((4|0)\)
   \[u"tm_mday"\]=>
-  int\((19|11)\)
+  int\((26|11)\)
   \[u"tm_mon"\]=>
-  int\((0|2)\)
+  int\(2\)
   \[u"tm_year"\]=>
-  int\((138|3982)\)
+  int\((35|3982)\)
   \[u"tm_wday"\]=>
   int\((2|6)\)
   \[u"tm_yday"\]=>
-  int\((18|69)\)
+  int\((84|69)\)
   \[u"tm_isdst"\]=>
   int\(0\)
 }
@@ -75,41 +75,41 @@
 -- Testing localtime\(\) function with 'float -12.3456789000e10' to timestamp 
--
 array\(9\) {
   \[0\]=>
-  int\((52|0)\)
+  int\((44|52|0)\)
   \[1\]=>
-  int\((45|30)\)
+  int\((9|45|30)\)
   \[2\]=>
-  int\((20|23)\)
+  int\((19|20|23)\)
   \[3\]=>
-  int\((13|22)\)
+  int\((8|13|22)\)
   \[4\]=>
-  int\((11|9)\)
+  int\((9|11)\)
   \[5\]=>
-  int\((1|-3843)\)
+  int\((104|1|-3843)\)
   \[6\]=>
   int\((5|-5)\)
   \[7\]=>
-  int\((346|294)\)
+  int\((281|346|294)\)
   \[8\]=>
   int\(0\)
 }
 array\(9\) {
   \[u"tm_sec"\]=>
-  int\((52|0)\)
+  int\((44|52|0)\)
   \[u"tm_min"\]=>
-  int\((45|30)\)
+  int\((9|45|30)\)
   \[u"tm_hour"\]=>
-  int\((20|23)\)
+  int\((19|20|23)\)
   \[u"tm_mday"\]=>
-  int\((13|22)\)
+  int\((8|13|22)\)
   \[u"tm_mon"\]=>
-  int\((11|9)\)
+  int\((9|11)\)
   \[u"tm_year"\]=>
-  int\((1|-3843)\)
+  int\((104|1|-3843)\)
   \[u"tm_wday"\]=>
   int\((5|-5)\)
   \[u"tm_yday"\]=>
-  int\((346|294)\)
+  int\((281|346|294)\)
   \[u"tm_isdst"\]=>
   int\(0\)
 }
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/strftime_variation23.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/date/tests/strftime_variation23.phpt
diff -u php-src/ext/date/tests/strftime_variation23.phpt:1.1 
php-src/ext/date/tests/strftime_variation23.phpt:1.2
--- php-src/ext/date/tests/strftime_variation23.phpt:1.1        Wed Jan 21 
10:49:40 2009
+++ php-src/ext/date/tests/strftime_variation23.phpt    Thu Jun  4 18:24:08 2009
@@ -29,8 +29,8 @@
 \*\*\* Testing strftime\(\) : usage variation \*\*\*
 
 -- Testing strftime\(\) function with float 12.3456789000e10 to timestamp --
-unicode\(\d*\)\s"(Jan|Mar)\s(19|11)\s(2038|5882)\s(03|00):(14|30):(07|00)"
+unicode\(\d*\)\s"Mar\s(26|11)\s(1935|5882)\s(04|00):(50|30):(16|00)"
 
 -- Testing strftime\(\) function with float -12.3456789000e10 to timestamp --
-unicode\(\d*\)\s"(Dec|Oct)\s(13|22)\s(1901|-1943)\s(20|23):(45|30):(52|00)"
+unicode\(\d*\)\s"(Oct|Dec)\s(08|13|22)\s(2004|1901|-1943)\s(19|20|23):(09|45|30):(44|52|00)"
 ===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/ereg/tests/split_variation_004.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/ereg/tests/split_variation_004.phpt
diff -u php-src/ext/ereg/tests/split_variation_004.phpt:1.1 
php-src/ext/ereg/tests/split_variation_004.phpt:1.2
--- php-src/ext/ereg/tests/split_variation_004.phpt:1.1 Fri Apr 11 08:57:06 2008
+++ php-src/ext/ereg/tests/split_variation_004.phpt     Thu Jun  4 18:24:09 2009
@@ -33,16 +33,8 @@
   [0]=>
   string(9) "1 2 3 4 5"
 }
-array(5) {
+array(1) {
   [0]=>
-  string(1) "1"
-  [1]=>
-  string(1) "2"
-  [2]=>
-  string(1) "3"
-  [3]=>
-  string(1) "4"
-  [4]=>
-  string(1) "5"
+  string(9) "1 2 3 4 5"
 }
 Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/ereg/tests/spliti_variation_004.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/ereg/tests/spliti_variation_004.phpt
diff -u php-src/ext/ereg/tests/spliti_variation_004.phpt:1.1 
php-src/ext/ereg/tests/spliti_variation_004.phpt:1.2
--- php-src/ext/ereg/tests/spliti_variation_004.phpt:1.1        Fri Apr 11 
08:57:06 2008
+++ php-src/ext/ereg/tests/spliti_variation_004.phpt    Thu Jun  4 18:24:09 2009
@@ -33,16 +33,8 @@
   [0]=>
   string(9) "1 2 3 4 5"
 }
-array(5) {
+array(1) {
   [0]=>
-  string(1) "1"
-  [1]=>
-  string(1) "2"
-  [2]=>
-  string(1) "3"
-  [3]=>
-  string(1) "4"
-  [4]=>
-  string(1) "5"
+  string(9) "1 2 3 4 5"
 }
 Done
\ No newline at end of file
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_fill_variation1.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/array/array_fill_variation1.phpt
diff -u php-src/ext/standard/tests/array/array_fill_variation1.phpt:1.5 
php-src/ext/standard/tests/array/array_fill_variation1.phpt:1.6
--- php-src/ext/standard/tests/array/array_fill_variation1.phpt:1.5     Mon May 
26 23:35:47 2008
+++ php-src/ext/standard/tests/array/array_fill_variation1.phpt Thu Jun  4 
18:24:09 2009
@@ -125,9 +125,9 @@
 }
 -- Iteration 3 --
 array(2) {
-  [2147483647]=>
+  [-1097262584]=>
   int(100)
-  [-2147483648]=>
+  [0]=>
   int(100)
 }
 -- Iteration 4 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_slice_variation2.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_slice_variation2.phpt
diff -u php-src/ext/standard/tests/array/array_slice_variation2.phpt:1.2 
php-src/ext/standard/tests/array/array_slice_variation2.phpt:1.3
--- php-src/ext/standard/tests/array/array_slice_variation2.phpt:1.2    Mon May 
26 23:35:47 2008
+++ php-src/ext/standard/tests/array/array_slice_variation2.phpt        Thu Jun 
 4 18:24:09 2009
@@ -150,7 +150,15 @@
 }
 
 -- Iteration 7 --
-array(0) {
+array(4) {
+  [u"one"]=>
+  int(1)
+  [0]=>
+  int(2)
+  [u"three"]=>
+  int(3)
+  [1]=>
+  int(4)
 }
 
 -- Iteration 8 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_slice_variation3.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_slice_variation3.phpt
diff -u php-src/ext/standard/tests/array/array_slice_variation3.phpt:1.2 
php-src/ext/standard/tests/array/array_slice_variation3.phpt:1.3
--- php-src/ext/standard/tests/array/array_slice_variation3.phpt:1.2    Mon May 
26 23:35:47 2008
+++ php-src/ext/standard/tests/array/array_slice_variation3.phpt        Thu Jun 
 4 18:24:09 2009
@@ -118,11 +118,7 @@
 }
 
 -- Iteration 7 --
-array(2) {
-  [u"three"]=>
-  int(3)
-  [0]=>
-  int(4)
+array(0) {
 }
 
 -- Iteration 8 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt?r1=1.6&r2=1.7&diff_format=u
Index: 
php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt
diff -u 
php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt:1.6
 
php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt:1.7
--- 
php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt:1.6
    Tue May 27 00:04:31 2008
+++ 
php-src/ext/standard/tests/general_functions/gettype_settype_variation2.phpt    
    Thu Jun  4 18:24:09 2009
@@ -460,7 +460,7 @@
 -- Iteration 51 --
 unicode(6) "double"
 bool(true)
-int(2147483647)
+int(-508130303)
 unicode(7) "integer"
 -- Iteration 52 --
 unicode(7) "integer"
@@ -470,7 +470,7 @@
 -- Iteration 53 --
 unicode(6) "double"
 bool(true)
-int(2147483647)
+int(1952002105)
 unicode(7) "integer"
 -- Iteration 54 --
 unicode(7) "integer"
@@ -490,7 +490,7 @@
 -- Iteration 57 --
 unicode(6) "double"
 bool(true)
-int(2147483647)
+int(343000682)
 unicode(7) "integer"
 -- Iteration 58 --
 unicode(6) "double"
@@ -920,7 +920,7 @@
 -- Iteration 51 --
 unicode(6) "double"
 bool(true)
-int(2147483647)
+int(-508130303)
 unicode(7) "integer"
 -- Iteration 52 --
 unicode(7) "integer"
@@ -930,7 +930,7 @@
 -- Iteration 53 --
 unicode(6) "double"
 bool(true)
-int(2147483647)
+int(1952002105)
 unicode(7) "integer"
 -- Iteration 54 --
 unicode(7) "integer"
@@ -950,7 +950,7 @@
 -- Iteration 57 --
 unicode(6) "double"
 bool(true)
-int(2147483647)
+int(343000682)
 unicode(7) "integer"
 -- Iteration 58 --
 unicode(6) "double"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/decbin_variation1.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/math/decbin_variation1.phpt
diff -u php-src/ext/standard/tests/math/decbin_variation1.phpt:1.1 
php-src/ext/standard/tests/math/decbin_variation1.phpt:1.2
--- php-src/ext/standard/tests/math/decbin_variation1.phpt:1.1  Thu Jan  8 
21:18:37 2009
+++ php-src/ext/standard/tests/math/decbin_variation1.phpt      Thu Jun  4 
18:24:09 2009
@@ -110,7 +110,7 @@
 unicode(32) "11111111111111111111111111111111"
 
 -- Iteration 6 --
-unicode(31) "1111111111111111111111111111111"
+unicode(1) "0"
 
 -- Iteration 7 --
 unicode(4) "1010"
@@ -119,7 +119,7 @@
 unicode(32) "11111111111111111111111111110110"
 
 -- Iteration 9 --
-unicode(31) "1111111111111111111111111111111"
+unicode(32) "10111110100110010001101000001000"
 
 -- Iteration 10 --
 unicode(1) "0"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt
diff -u php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt:1.1 
php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt:1.2
--- php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt:1.1    Thu Jan 
 8 21:18:37 2009
+++ php-src/ext/standard/tests/math/decbin_variation1_64bit.phpt        Thu Jun 
 4 18:24:09 2009
@@ -110,7 +110,7 @@
 unicode(63) "111111111111111111111111111111111111111111111111111111111111111"
 
 -- Iteration 6 --
-unicode(63) "111111111111111111111111111111111111111111111111111111111111111"
+unicode(1) "0"
 
 -- Iteration 7 --
 unicode(4) "1010"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/dechex_variation1.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/math/dechex_variation1.phpt
diff -u php-src/ext/standard/tests/math/dechex_variation1.phpt:1.1 
php-src/ext/standard/tests/math/dechex_variation1.phpt:1.2
--- php-src/ext/standard/tests/math/dechex_variation1.phpt:1.1  Thu Jan  8 
21:18:37 2009
+++ php-src/ext/standard/tests/math/dechex_variation1.phpt      Thu Jun  4 
18:24:09 2009
@@ -110,7 +110,7 @@
 unicode(8) "ffffffff"
 
 -- Iteration 6 --
-unicode(8) "7fffffff"
+unicode(1) "0"
 
 -- Iteration 7 --
 unicode(1) "a"
@@ -119,7 +119,7 @@
 unicode(8) "fffffff6"
 
 -- Iteration 9 --
-unicode(8) "7fffffff"
+unicode(8) "be991a08"
 
 -- Iteration 10 --
 unicode(1) "0"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt
diff -u php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt:1.1 
php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt:1.2
--- php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt:1.1    Thu Jan 
 8 21:18:37 2009
+++ php-src/ext/standard/tests/math/dechex_variation1_64bit.phpt        Thu Jun 
 4 18:24:09 2009
@@ -110,7 +110,7 @@
 unicode(16) "7fffffffffffffff"
 
 -- Iteration 6 --
-unicode(16) "7fffffffffffffff"
+unicode(1) "0"
 
 -- Iteration 7 --
 unicode(1) "a"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/decoct_variation1.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/math/decoct_variation1.phpt
diff -u php-src/ext/standard/tests/math/decoct_variation1.phpt:1.1 
php-src/ext/standard/tests/math/decoct_variation1.phpt:1.2
--- php-src/ext/standard/tests/math/decoct_variation1.phpt:1.1  Thu Jan  8 
21:18:37 2009
+++ php-src/ext/standard/tests/math/decoct_variation1.phpt      Thu Jun  4 
18:24:09 2009
@@ -111,7 +111,7 @@
 unicode(11) "37777777777"
 
 -- Iteration 6 --
-unicode(11) "17777777777"
+unicode(1) "0"
 
 -- Iteration 7 --
 unicode(2) "12"
@@ -120,7 +120,7 @@
 unicode(11) "37777777766"
 
 -- Iteration 9 --
-unicode(11) "17777777777"
+unicode(11) "27646215010"
 
 -- Iteration 10 --
 unicode(1) "0"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt
diff -u php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt:1.1 
php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt:1.2
--- php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt:1.1    Thu Jan 
 8 21:18:37 2009
+++ php-src/ext/standard/tests/math/decoct_variation1_64bit.phpt        Thu Jun 
 4 18:24:09 2009
@@ -111,7 +111,7 @@
 unicode(21) "777777777777777777777"
 
 -- Iteration 6 --
-unicode(21) "777777777777777777777"
+unicode(1) "0"
 
 -- Iteration 7 --
 unicode(2) "12"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/chunk_split_variation2.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/strings/chunk_split_variation2.phpt
diff -u php-src/ext/standard/tests/strings/chunk_split_variation2.phpt:1.5 
php-src/ext/standard/tests/strings/chunk_split_variation2.phpt:1.6
--- php-src/ext/standard/tests/strings/chunk_split_variation2.phpt:1.5  Tue May 
27 10:50:45 2008
+++ php-src/ext/standard/tests/strings/chunk_split_variation2.phpt      Thu Jun 
 4 18:24:09 2009
@@ -98,7 +98,9 @@
 Warning: chunk_split(): Chunk length should be greater than zero in 
%schunk_split_variation2.php on line %d
 bool(false)
 -- Iteration 3 --
-unicode(26) "This is chuklen variation*"
+
+Warning: chunk_split(): Chunk length should be greater than zero in 
%schunk_split_variation2.php on line %d
+bool(false)
 -- Iteration 4 --
 
 Warning: chunk_split(): Chunk length should be greater than zero in 
%schunk_split_variation2.php on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt?r1=1.5&r2=1.6&diff_format=u
Index: 
php-src/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt
diff -u 
php-src/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt:1.5 
php-src/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt:1.6
--- 
php-src/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt:1.5  
    Tue May 27 10:50:45 2008
+++ php-src/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt  
Thu Jun  4 18:24:09 2009
@@ -102,7 +102,7 @@
 unicode(104) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 
0000 = 0000. " double quote string "</html>"
 
 -- Iteration 3 --
-unicode(94) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " 
double quote string "</html>"
+unicode(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 
0000 = 0000. &quot; double quote string &quot;</html>"
 
 -- Iteration 4 --
 unicode(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 
0000 = 0000. &quot; double quote string &quot;</html>"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/pack.phpt?r1=1.6&r2=1.7&diff_format=u
Index: php-src/ext/standard/tests/strings/pack.phpt
diff -u php-src/ext/standard/tests/strings/pack.phpt:1.6 
php-src/ext/standard/tests/strings/pack.phpt:1.7
--- php-src/ext/standard/tests/strings/pack.phpt:1.6    Mon Dec 17 11:06:43 2007
+++ php-src/ext/standard/tests/strings/pack.phpt        Thu Jun  4 18:24:09 2009
@@ -145,11 +145,11 @@
 )
 Array
 (
-    [1] => 2147483647
+    [1] => 0
 )
 Array
 (
-    [1] => -2147483648
+    [1] => 0
 )
 Array
 (
@@ -185,7 +185,7 @@
 )
 Array
 (
-    [1] => 2147483647
+    [1] => 0
 )
 Array
 (
@@ -233,7 +233,7 @@
 )
 Array
 (
-    [1] => 2147483647
+    [1] => 0
 )
 Array
 (
@@ -305,7 +305,7 @@
 )
 Array
 (
-    [1] => 2147483647
+    [1] => 0
 )
 Array
 (
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation35.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/strings/sprintf_variation35.phpt
diff -u php-src/ext/standard/tests/strings/sprintf_variation35.phpt:1.5 
php-src/ext/standard/tests/strings/sprintf_variation35.phpt:1.6
--- php-src/ext/standard/tests/strings/sprintf_variation35.phpt:1.5     Tue May 
27 10:50:46 2008
+++ php-src/ext/standard/tests/strings/sprintf_variation35.phpt Thu Jun  4 
18:24:09 2009
@@ -67,17 +67,17 @@
 unicode(1) "x"
 
 -- Iteration 2 --
-unicode(8) "7fffffff"
-unicode(9) "7fffffffx"
-unicode(8) "7fffffff"
-unicode(1) "x"
-unicode(9) " 7fffffff"
-unicode(9) "7fffffff "
-unicode(9) "   7fffffff"
-unicode(9) "
-7fffffff"
-unicode(8) "7fffffff"
-unicode(30) "                      7fffffff"
+unicode(1) "1"
+unicode(2) "1x"
+unicode(1) "1"
+unicode(1) "x"
+unicode(2) " 1"
+unicode(2) "1 "
+unicode(2) "   1"
+unicode(2) "
+1"
+unicode(4) "   1"
+unicode(30) "                             1"
 unicode(10) "0-9A-Fa-f]"
 unicode(1) "x"
 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation4.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/strings/sprintf_variation4.phpt
diff -u php-src/ext/standard/tests/strings/sprintf_variation4.phpt:1.5 
php-src/ext/standard/tests/strings/sprintf_variation4.phpt:1.6
--- php-src/ext/standard/tests/strings/sprintf_variation4.phpt:1.5      Tue May 
27 10:50:46 2008
+++ php-src/ext/standard/tests/strings/sprintf_variation4.phpt  Thu Jun  4 
18:24:09 2009
@@ -67,17 +67,17 @@
 unicode(1) "d"
 
 -- Iteration 2 --
-unicode(10) "2147483647"
+unicode(1) "1"
 unicode(1) "d"
-unicode(10) "2147483647"
+unicode(1) "1"
 unicode(1) "d"
-unicode(11) " 2147483647"
-unicode(11) "2147483647 "
-unicode(11) "  2147483647"
-unicode(11) "
-2147483647"
-unicode(10) "2147483647"
-unicode(30) "                    2147483647"
+unicode(2) " 1"
+unicode(2) "1 "
+unicode(2) "   1"
+unicode(2) "
+1"
+unicode(4) "   1"
+unicode(30) "                             1"
 unicode(4) "0-9]"
 unicode(1) "d"
 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/sprintf_variation41.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/strings/sprintf_variation41.phpt
diff -u php-src/ext/standard/tests/strings/sprintf_variation41.phpt:1.5 
php-src/ext/standard/tests/strings/sprintf_variation41.phpt:1.6
--- php-src/ext/standard/tests/strings/sprintf_variation41.phpt:1.5     Tue May 
27 10:50:46 2008
+++ php-src/ext/standard/tests/strings/sprintf_variation41.phpt Thu Jun  4 
18:24:09 2009
@@ -71,17 +71,17 @@
 unicode(1) "u"
 
 -- Iteration 2 --
-unicode(10) "2147483647"
+unicode(1) "1"
 unicode(1) "u"
-unicode(10) "2147483647"
+unicode(1) "1"
 unicode(1) "u"
-unicode(11) " 2147483647"
-unicode(11) "2147483647 "
-unicode(11) "  2147483647"
-unicode(11) "
-2147483647"
-unicode(10) "2147483647"
-unicode(30) "                    2147483647"
+unicode(2) " 1"
+unicode(2) "1 "
+unicode(2) "   1"
+unicode(2) "
+1"
+unicode(4) "   1"
+unicode(30) "                             1"
 unicode(4) "0-9]"
 unicode(1) "u"
 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vfprintf_variation15.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/vfprintf_variation15.phpt
diff -u php-src/ext/standard/tests/strings/vfprintf_variation15.phpt:1.2 
php-src/ext/standard/tests/strings/vfprintf_variation15.phpt:1.3
--- php-src/ext/standard/tests/strings/vfprintf_variation15.phpt:1.2    Tue Jan 
20 14:19:39 2009
+++ php-src/ext/standard/tests/strings/vfprintf_variation15.phpt        Thu Jun 
 4 18:24:09 2009
@@ -65,9 +65,9 @@
 -- Iteration 1 --
 1234567 342391 0
 -- Iteration 2 --
-2147483647 u 1234 12345
+3755744308 u 1234 12345
 -- Iteration 3 --
-   1234000 2147483647 120
+   1234000 2450319192 120
 -- Iteration 4 --
 #1 0 $0 10
 -- Iteration 5 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vfprintf_variation16.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/vfprintf_variation16.phpt
diff -u php-src/ext/standard/tests/strings/vfprintf_variation16.phpt:1.2 
php-src/ext/standard/tests/strings/vfprintf_variation16.phpt:1.3
--- php-src/ext/standard/tests/strings/vfprintf_variation16.phpt:1.2    Tue Jan 
20 14:19:38 2009
+++ php-src/ext/standard/tests/strings/vfprintf_variation16.phpt        Thu Jun 
 4 18:24:09 2009
@@ -87,8 +87,8 @@
 
 -- Iteration 1 --
 2 0 10 
-   123456 u 1234 2147483647
-   2147483647 2147483647 12345 
+   123456 u 1234 2820130816
+   2840207360 1177509888 12345 
    12 4294967284 4294843840 _3
    10 123456 2 0
 -- Iteration 2 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vfprintf_variation4.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/vfprintf_variation4.phpt
diff -u php-src/ext/standard/tests/strings/vfprintf_variation4.phpt:1.2 
php-src/ext/standard/tests/strings/vfprintf_variation4.phpt:1.3
--- php-src/ext/standard/tests/strings/vfprintf_variation4.phpt:1.2     Tue Jan 
20 14:19:38 2009
+++ php-src/ext/standard/tests/strings/vfprintf_variation4.phpt Thu Jun  4 
18:24:09 2009
@@ -89,7 +89,7 @@
 -- Iteration 1 --
 2 +0 10 
    123456 d -1234 1234
-   2147483647 200000     4000 22000000
+   -1474836480 200000     4000 22000000
    12345 12 -12 -123456
    10 123456 2 0
 -- Iteration 2 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vprintf_variation15.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/vprintf_variation15.phpt
diff -u php-src/ext/standard/tests/strings/vprintf_variation15.phpt:1.2 
php-src/ext/standard/tests/strings/vprintf_variation15.phpt:1.3
--- php-src/ext/standard/tests/strings/vprintf_variation15.phpt:1.2     Mon Jan 
19 16:03:40 2009
+++ php-src/ext/standard/tests/strings/vprintf_variation15.phpt Thu Jun  4 
18:24:09 2009
@@ -58,11 +58,11 @@
 int(16)
 
 -- Iteration 2 --
-2147483647 u 1234 12345
+3755744308 u 1234 12345
 int(23)
 
 -- Iteration 3 --
-   1234000 2147483647 120
+   1234000 2450319192 120
 int(25)
 
 -- Iteration 4 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vprintf_variation15_64bit.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/vprintf_variation15_64bit.phpt
diff -u php-src/ext/standard/tests/strings/vprintf_variation15_64bit.phpt:1.2 
php-src/ext/standard/tests/strings/vprintf_variation15_64bit.phpt:1.3
--- php-src/ext/standard/tests/strings/vprintf_variation15_64bit.phpt:1.2       
Mon Jan 19 16:03:39 2009
+++ php-src/ext/standard/tests/strings/vprintf_variation15_64bit.phpt   Thu Jun 
 4 18:24:09 2009
@@ -62,8 +62,8 @@
 int(24)
 
 -- Iteration 3 --
-   1234000 9223372036854775807 120
-int(34)
+   1234000 0          120
+int(25)
 
 -- Iteration 4 --
 #1 0 $0 10
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vprintf_variation16.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/vprintf_variation16.phpt
diff -u php-src/ext/standard/tests/strings/vprintf_variation16.phpt:1.2 
php-src/ext/standard/tests/strings/vprintf_variation16.phpt:1.3
--- php-src/ext/standard/tests/strings/vprintf_variation16.phpt:1.2     Mon Jan 
19 16:03:39 2009
+++ php-src/ext/standard/tests/strings/vprintf_variation16.phpt Thu Jun  4 
18:24:09 2009
@@ -77,8 +77,8 @@
 
 -- Iteration 1 --
 2 0 10 
-   123456 u 1234 2147483647
-   2147483647 2147483647 12345 
+   123456 u 1234 2820130816
+   2840207360 1177509888 12345 
    12 4294967284 4294843840 _3
    10 123456 2 0
 int(115)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vprintf_variation4.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/vprintf_variation4.phpt
diff -u php-src/ext/standard/tests/strings/vprintf_variation4.phpt:1.2 
php-src/ext/standard/tests/strings/vprintf_variation4.phpt:1.3
--- php-src/ext/standard/tests/strings/vprintf_variation4.phpt:1.2      Mon Jan 
19 16:03:39 2009
+++ php-src/ext/standard/tests/strings/vprintf_variation4.phpt  Thu Jun  4 
18:24:09 2009
@@ -79,10 +79,10 @@
 -- Iteration 1 --
 2 +0 10 
    123456 d -1234 1234
-   2147483647 200000     4000 22000000
+   -1474836480 200000     4000 22000000
    12345 12 -12 -123456
    10 123456 2 0
-int(111)
+int(112)
 
 -- Iteration 2 --
 0 +0 0 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vsprintf_variation15.phpt?r1=1.6&r2=1.7&diff_format=u
Index: php-src/ext/standard/tests/strings/vsprintf_variation15.phpt
diff -u php-src/ext/standard/tests/strings/vsprintf_variation15.phpt:1.6 
php-src/ext/standard/tests/strings/vsprintf_variation15.phpt:1.7
--- php-src/ext/standard/tests/strings/vsprintf_variation15.phpt:1.6    Tue Jan 
20 14:19:38 2009
+++ php-src/ext/standard/tests/strings/vsprintf_variation15.phpt        Thu Jun 
 4 18:24:09 2009
@@ -55,7 +55,7 @@
 unicode(16) "1234567 342391 0"
 
 -- Iteration 2 --
-unicode(23) "2147483647 u 1234 12345"
+unicode(23) "3755744308 u 1234 12345"
 
 -- Iteration 3 --
 unicode(25) "   1234000 1012345    120"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vsprintf_variation15_64bit.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/vsprintf_variation15_64bit.phpt
diff -u php-src/ext/standard/tests/strings/vsprintf_variation15_64bit.phpt:1.3 
php-src/ext/standard/tests/strings/vsprintf_variation15_64bit.phpt:1.4
--- php-src/ext/standard/tests/strings/vsprintf_variation15_64bit.phpt:1.3      
Tue May 27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/vsprintf_variation15_64bit.phpt  Thu Jun 
 4 18:24:09 2009
@@ -58,7 +58,7 @@
 unicode(24) "12345678900 u 1234 12345"
 
 -- Iteration 3 --
-unicode(34) "   1234000 9223372036854775807 120"
+unicode(25) "   1234000 0          120"
 
 -- Iteration 4 --
 unicode(10) "#1 0 $0 10"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vsprintf_variation16.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/strings/vsprintf_variation16.phpt
diff -u php-src/ext/standard/tests/strings/vsprintf_variation16.phpt:1.5 
php-src/ext/standard/tests/strings/vsprintf_variation16.phpt:1.6
--- php-src/ext/standard/tests/strings/vsprintf_variation16.phpt:1.5    Tue May 
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/vsprintf_variation16.phpt        Thu Jun 
 4 18:24:09 2009
@@ -76,8 +76,8 @@
 
 -- Iteration 1 --
 unicode(115) "2 0 10 
-   123456 u 1234 2147483647
-   2147483647 2147483647 12345 
+   123456 u 1234 2820130816
+   2840207360 1177509888 12345 
    12 4294967284 4294843840 _3
    10 123456 2 0"
 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/vsprintf_variation4.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/standard/tests/strings/vsprintf_variation4.phpt
diff -u php-src/ext/standard/tests/strings/vsprintf_variation4.phpt:1.5 
php-src/ext/standard/tests/strings/vsprintf_variation4.phpt:1.6
--- php-src/ext/standard/tests/strings/vsprintf_variation4.phpt:1.5     Tue May 
27 10:50:47 2008
+++ php-src/ext/standard/tests/strings/vsprintf_variation4.phpt Thu Jun  4 
18:24:09 2009
@@ -75,9 +75,9 @@
 *** Testing vsprintf() : int formats and non-integer values ***
 
 -- Iteration 1 --
-unicode(111) "2 +0 10 
+unicode(112) "2 +0 10 
    123456 d -1234 1234
-   2147483647 200000     4000 22000000
+   -1474836480 200000     4000 22000000
    12345 12 -12 -123456
    10 123456 2 0"
 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/url/parse_url_variation_002_32bit.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/url/parse_url_variation_002_32bit.phpt
diff -u /dev/null 
php-src/ext/standard/tests/url/parse_url_variation_002_32bit.phpt:1.2
--- /dev/null   Thu Jun  4 18:24:09 2009
+++ php-src/ext/standard/tests/url/parse_url_variation_002_32bit.phpt   Thu Jun 
 4 18:24:09 2009
@@ -0,0 +1,205 @@
+--TEST--
+Test parse_url() function : usage variations  - unexpected type for arg 2
+--SKIPIF--
+<?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platforms 
only"); ?>
+--FILE--
+<?php
+/* Prototype  : proto mixed parse_url(string url, [int url_component])
+ * Description: Parse a URL and return its components 
+ * Source code: ext/standard/url.c
+ * Alias to functions: 
+ */
+
+function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
+       echo "Error: $err_no - $err_msg, $filename($linenum)\n";
+}
+set_error_handler('test_error_handler');
+
+echo "*** Testing parse_url() : usage variations ***\n";
+
+// Initialise function arguments not being substituted (if any)
+$url = 
'http://secret:hide...@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123';
+
+//get an unset variable
+$unset_var = 10;
+unset ($unset_var);
+
+//array of values to iterate over
+$values = array(
+
+      // float data
+      10.5,
+      -10.5,
+      10.1234567e10,
+      10.7654321E-10,
+      .5,
+
+      // array data
+      array(),
+      array(0),
+      array(1),
+      array(1, 2),
+      array('color' => 'red', 'item' => 'pen'),
+
+      // null data
+      NULL,
+      null,
+
+      // boolean data
+      true,
+      false,
+      TRUE,
+      FALSE,
+
+      // empty data
+      "",
+      '',
+
+      // string data
+      "string",
+      'string',
+
+      // object data
+      new stdclass(),
+
+      // undefined data
+      $undefined_var,
+
+      // unset data
+      $unset_var,
+);
+
+// loop through each element of the array for url_component
+
+foreach($values as $value) {
+      echo "\nArg value $value \n";
+      var_dump( parse_url($url, $value) );
+};
+
+echo "Done";
+?>
+--EXPECTF--
+*** Testing parse_url() : usage variations ***
+Error: 8 - Undefined variable: undefined_var, %s(61)
+Error: 8 - Undefined variable: unset_var, %s(64)
+
+Arg value 10.5 
+Error: 2 - parse_url(): Invalid URL component identifier 10, %s(71)
+bool(false)
+
+Arg value -10.5 
+array(8) {
+  [u"scheme"]=>
+  unicode(4) "http"
+  [u"host"]=>
+  unicode(11) "www.php.net"
+  [u"port"]=>
+  int(80)
+  [u"user"]=>
+  unicode(6) "secret"
+  [u"pass"]=>
+  unicode(7) "hideout"
+  [u"path"]=>
+  unicode(10) "/index.php"
+  [u"query"]=>
+  unicode(31) "test=1&test2=char&test3=mixesCI"
+  [u"fragment"]=>
+  unicode(16) "some_page_ref123"
+}
+
+Arg value 101234567000 
+array(8) {
+  [u"scheme"]=>
+  unicode(4) "http"
+  [u"host"]=>
+  unicode(11) "www.php.net"
+  [u"port"]=>
+  int(80)
+  [u"user"]=>
+  unicode(6) "secret"
+  [u"pass"]=>
+  unicode(7) "hideout"
+  [u"path"]=>
+  unicode(10) "/index.php"
+  [u"query"]=>
+  unicode(31) "test=1&test2=char&test3=mixesCI"
+  [u"fragment"]=>
+  unicode(16) "some_page_ref123"
+}
+
+Arg value 1.07654321E-9 
+unicode(4) "http"
+
+Arg value 0.5 
+unicode(4) "http"
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+
+Arg value  
+unicode(4) "http"
+
+Arg value  
+unicode(4) "http"
+
+Arg value 1 
+unicode(11) "www.php.net"
+
+Arg value  
+unicode(4) "http"
+
+Arg value 1 
+unicode(11) "www.php.net"
+
+Arg value  
+unicode(4) "http"
+
+Arg value  
+Error: 2 - parse_url() expects parameter 2 to be long, Unicode string given, 
%s(71)
+NULL
+
+Arg value  
+Error: 2 - parse_url() expects parameter 2 to be long, Unicode string given, 
%s(71)
+NULL
+
+Arg value string 
+Error: 2 - parse_url() expects parameter 2 to be long, Unicode string given, 
%s(71)
+NULL
+
+Arg value string 
+Error: 2 - parse_url() expects parameter 2 to be long, Unicode string given, 
%s(71)
+NULL
+Error: 4096 - Object of class stdClass could not be converted to string, %s(70)
+
+Arg value  
+Error: 2 - parse_url() expects parameter 2 to be long, object given, %s(71)
+NULL
+
+Arg value  
+unicode(4) "http"
+
+Arg value  
+unicode(4) "http"
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/url/parse_url_variation_002_64bit.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/url/parse_url_variation_002_64bit.phpt
diff -u /dev/null 
php-src/ext/standard/tests/url/parse_url_variation_002_64bit.phpt:1.2
--- /dev/null   Thu Jun  4 18:24:09 2009
+++ php-src/ext/standard/tests/url/parse_url_variation_002_64bit.phpt   Thu Jun 
 4 18:24:09 2009
@@ -0,0 +1,189 @@
+--TEST--
+Test parse_url() function : usage variations  - unexpected type for arg 2
+--SKIPIF--
+<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms 
only"); ?>
+--FILE--
+<?php
+/* Prototype  : proto mixed parse_url(string url, [int url_component])
+ * Description: Parse a URL and return its components 
+ * Source code: ext/standard/url.c
+ * Alias to functions: 
+ */
+
+function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
+       echo "Error: $err_no - $err_msg, $filename($linenum)\n";
+}
+set_error_handler('test_error_handler');
+
+echo "*** Testing parse_url() : usage variations ***\n";
+
+// Initialise function arguments not being substituted (if any)
+$url = 
'http://secret:hide...@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123';
+
+//get an unset variable
+$unset_var = 10;
+unset ($unset_var);
+
+//array of values to iterate over
+$values = array(
+
+      // float data
+      10.5,
+      -10.5,
+      10.1234567e10,
+      10.7654321E-10,
+      .5,
+
+      // array data
+      array(),
+      array(0),
+      array(1),
+      array(1, 2),
+      array('color' => 'red', 'item' => 'pen'),
+
+      // null data
+      NULL,
+      null,
+
+      // boolean data
+      true,
+      false,
+      TRUE,
+      FALSE,
+
+      // empty data
+      "",
+      '',
+
+      // string data
+      "string",
+      'string',
+
+      // object data
+      new stdclass(),
+
+      // undefined data
+      $undefined_var,
+
+      // unset data
+      $unset_var,
+);
+
+// loop through each element of the array for url_component
+
+foreach($values as $value) {
+      echo "\nArg value $value \n";
+      var_dump( parse_url($url, $value) );
+};
+
+echo "Done";
+?>
+--EXPECTF--
+*** Testing parse_url() : usage variations ***
+Error: 8 - Undefined variable: undefined_var, %s(61)
+Error: 8 - Undefined variable: unset_var, %s(64)
+
+Arg value 10.5 
+Error: 2 - parse_url(): Invalid URL component identifier 10, %s(71)
+bool(false)
+
+Arg value -10.5 
+array(8) {
+  [u"scheme"]=>
+  unicode(4) "http"
+  [u"host"]=>
+  unicode(11) "www.php.net"
+  [u"port"]=>
+  int(80)
+  [u"user"]=>
+  unicode(6) "secret"
+  [u"pass"]=>
+  unicode(7) "hideout"
+  [u"path"]=>
+  unicode(10) "/index.php"
+  [u"query"]=>
+  unicode(31) "test=1&test2=char&test3=mixesCI"
+  [u"fragment"]=>
+  unicode(16) "some_page_ref123"
+}
+
+Arg value 101234567000 
+Error: 2 - parse_url(): Invalid URL component identifier %d, %s(71)
+bool(false)
+
+Arg value 1.07654321E-9 
+unicode(4) "http"
+
+Arg value 0.5 
+unicode(4) "http"
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+Error: 8 - Array to string conversion, %s(70)
+
+Arg value Array 
+Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
+NULL
+
+Arg value  
+unicode(4) "http"
+
+Arg value  
+unicode(4) "http"
+
+Arg value 1 
+unicode(11) "www.php.net"
+
+Arg value  
+unicode(4) "http"
+
+Arg value 1 
+unicode(11) "www.php.net"
+
+Arg value  
+unicode(4) "http"
+
+Arg value  
+Error: 2 - parse_url() expects parameter 2 to be long, Unicode string given, 
%s(71)
+NULL
+
+Arg value  
+Error: 2 - parse_url() expects parameter 2 to be long, Unicode string given, 
%s(71)
+NULL
+
+Arg value string 
+Error: 2 - parse_url() expects parameter 2 to be long, Unicode string given, 
%s(71)
+NULL
+
+Arg value string 
+Error: 2 - parse_url() expects parameter 2 to be long, Unicode string given, 
%s(71)
+NULL
+Error: 4096 - Object of class stdClass could not be converted to string, %s(70)
+
+Arg value  
+Error: 2 - parse_url() expects parameter 2 to be long, object given, %s(71)
+NULL
+
+Arg value  
+unicode(4) "http"
+
+Arg value  
+unicode(4) "http"
+Done

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

Reply via email to