RE: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard/tests/array array_diff_key.phpt array_intersect_key.phpt
| From: | Dmitry Stogov | Date: | Wed, 08 Nov 2006 08:17:22 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard/tests/array array_diff_key.phpt array_intersect_key.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-41397@lists.php.net to get a copy of this message | ||
Seems this fix is not completely right.
The tests still failed.
Thanks. Dmitry.
> -----Original Message-----
> From: Ilia Alshanetsky [mailto:iliaa@php.net]
> Sent: Tuesday, November 07, 2006 11:25 PM
> To: php-cvs@lists.php.net
> Subject: [PHP-CVS] cvs: php-src(PHP_5_2)
> /ext/standard/tests/array array_diff_key.phpt
> array_intersect_key.phpt
>
>
> iliaa Tue Nov 7 20:24:38 2006 UTC
>
> Modified files: (Branch: PHP_5_2)
> /php-src/ext/standard/tests/array array_diff_key.phpt
> array_intersect_key.phpt
> Log:
> Fixed tests
>
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array
> /array_diff_key.phpt?r1=1.1&r2=1.1.4.1&diff_format=u
> Index: php-src/ext/standard/tests/array/array_diff_key.phpt
> diff -u
> php-src/ext/standard/tests/array/array_diff_key.phpt:1.1
> php-src/ext/standard/tests/array/array_diff_key.phpt:1.1.4.1
> --- php-src/ext/standard/tests/array/array_diff_key.phpt:1.1
> Wed Jul 21 21:17:56 2004
> +++ php-src/ext/standard/tests/array/array_diff_key.phpt
> Tue Nov 7 20:24:38 2006
> @@ -66,13 +66,13 @@
> ------ Test 1 --------
> array(4) {
> [1]=>
> - &int(2)
> + int(2)
> [6]=>
> - &int(12)
> + int(12)
> [15]=>
> - &int(30)
> + int(30)
> [1200]=>
> - &int(2400)
> + int(2400)
> }
> array(4) {
> [1]=>
> @@ -114,7 +114,7 @@
> [1200]=>
> int(2400)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(6) {
> [1]=>
> @@ -128,7 +128,7 @@
> [1200]=>
> int(2400)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> ------ Test 4 --------
> array(3) {
> @@ -188,11 +188,11 @@
> ------ Test 7 --------
> array(3) {
> [7]=>
> - &int(14)
> + int(14)
> [11]=>
> - &int(22)
> + int(22)
> [1100]=>
> - &int(2200)
> + int(2200)
> }
> array(3) {
> [7]=>
> @@ -215,7 +215,7 @@
> [1100]=>
> int(2200)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(6) {
> [0]=>
> @@ -229,7 +229,7 @@
> [1100]=>
> int(2200)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> ------ Test 9 --------
> array(3) {
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array
> /array_intersect_key.phpt?r1=1.1&r2=1.1.4.1&diff_format=u
> Index: php-src/ext/standard/tests/array/array_intersect_key.phpt
> diff -u
> php-src/ext/standard/tests/array/array_intersect_key.phpt:1.1
> php-src/ext/standard/tests/array/array_intersect_key.phpt:1.1.4.1
> ---
> php-src/ext/standard/tests/array/array_intersect_key.phpt:1.1
> Wed Jul 21 21:17:56 2004
> +++ php-src/ext/standard/tests/array/array_intersect_key.phpt
> Tue Nov 7 20:24:38 2006
> @@ -62,11 +62,11 @@
> --EXPECTF--
> array(3) {
> [2]=>
> - &int(4)
> + int(4)
> [-20]=>
> - &int(-40)
> + int(-40)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(3) {
> [2]=>
> @@ -74,7 +74,7 @@
> [-20]=>
> int(-40)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(4) {
> [6]=>
> @@ -84,7 +84,7 @@
> [-20]=>
> int(-40)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(4) {
> [6]=>
> @@ -94,7 +94,7 @@
> [-20]=>
> int(-40)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(1) {
> [-20]=>
> @@ -110,7 +110,7 @@
> [-20]=>
> int(-40)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(3) {
> [2]=>
> @@ -118,7 +118,7 @@
> [-20]=>
> int(-40)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(1) {
> [-20]=>
> @@ -138,13 +138,13 @@
> }
> array(4) {
> [0]=>
> - &int(0)
> + int(0)
> [2]=>
> - &int(4)
> + int(4)
> [-20]=>
> - &int(-40)
> + int(-40)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(4) {
> [0]=>
> @@ -154,7 +154,7 @@
> [-20]=>
> int(-40)
> [-2500]=>
> - &int(-5000)
> + int(-5000)
> }
> array(1) {
> [-20]=>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>