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/ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php