]> granicus.if.org Git - php/commitdiff
added regression test for bug #55472, which has already been fixed as of PHP
authorChristoph M. Becker <cmb@php.net>
Thu, 23 Jul 2015 23:23:33 +0000 (01:23 +0200)
committerChristoph M. Becker <cmb@php.net>
Thu, 23 Jul 2015 23:23:33 +0000 (01:23 +0200)
5.5.0

ext/standard/tests/network/bug55472.phpt [new file with mode: 0644]

diff --git a/ext/standard/tests/network/bug55472.phpt b/ext/standard/tests/network/bug55472.phpt
new file mode 100644 (file)
index 0000000..3e0c127
--- /dev/null
@@ -0,0 +1,8 @@
+--TEST--
+Bug #55472 (ip2long(integer) returns integer)
+--FILE--
+<?php
+var_dump(ip2long(26));
+?>
+--EXPECT--
+bool(false)