cvs: php-src(PHP_5_3) /ext/standard/tests/network ip_x86_64.phpt
| From: | Antony Dovgal | Date: | Tue, 02 Oct 2007 11:21:40 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/standard/tests/network ip_x86_64.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-46423@lists.php.net to get a copy of this message | ||
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