Re: cvs: php-src(PHP_5_3) /ext/standard/tests/network ip_x86_64.phpt
| From: | Jani Taskinen | Date: | Tue, 02 Oct 2007 11:29:49 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/standard/tests/network ip_x86_64.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-46424@lists.php.net to get a copy of this message | ||
Oh..there was one for 64bit too..of course I missed that one since I
tested on 32bit only. Yet another reason to not separate tests.. ;)
(EXPECT64 :)
--Jani
On Tue, 2007-10-02 at 11:21 +0000, Antony Dovgal wrote:
> tony2001 Tue Oct 2 11:21:40 2007 UTC
>
> Modified files: (Branch: PHP_5_3)
> /php-src/ext/standard/tests/network ip_x86_64.phpt
> Log:
> fix test
>
>
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/network/ip_x86_64.phpt?r1=1.1.2.2&r2=1.1.2.2.2.1&diff_format=u
> Index: php-src/ext/standard/tests/network/ip_x86_64.phpt
> diff -u php-src/ext/standard/tests/network/ip_x86_64.phpt:1.1.2.2
> php-src/ext/standard/tests/network/ip_x86_64.phpt:1.1.2.2.2.1
> --- php-src/ext/standard/tests/network/ip_x86_64.phpt:1.1.2.2 Sat Sep 1 18:38:39 2007
> +++ php-src/ext/standard/tests/network/ip_x86_64.phpt Tue Oct 2 11:21:40 2007
> @@ -48,20 +48,20 @@
> int(1118019956)
> string(14) "66.163.161.116"
>
> -Warning: Wrong parameter count for ip2long() in %s on line %d
> +Warning: ip2long() expects exactly 1 parameter, 0 given in %s on line %d
> NULL
> bool(false)
> bool(false)
> int(1869573999)
>
> -Notice: Array to string conversion in %s on line %d
> -bool(false)
> +Warning: ip2long() expects parameter 1 to be string, array given in %s on line %d
> +NULL
>
> -Warning: Wrong parameter count for long2ip() in %s on line %d
> +Warning: long2ip() expects exactly 1 parameter, 0 given in %s on line %d
> NULL
> string(13) "255.254.82.80"
> string(7) "0.0.0.0"
>
> -Notice: Array to string conversion in %s on line %d
> -string(7) "0.0.0.0"
> +Warning: long2ip() expects parameter 1 to be string, array given in %s on line %d
> +NULL
> Done
>
--
Patches/Donations: http://pecl.php.net/~jani/