Skip to content

Commit b9da6cb

Browse files
authored
ext/standard: disable one ipv2long test. (#15200)
atypical leading zeros are accepted on this platform.
1 parent 0c3b767 commit b9da6cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/standard/tests/network/ip2long_variation2_x64.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Test ip2long() function : usage variation 2, 64 bit
88
otherwise, the number is interpreted as decimal).
99
*/
1010
if(PHP_OS == 'Darwin') die("skip - inet_pton behaves differently on Darwin");
11+
if(PHP_OS == 'OpenBSD') die("skip - inet_pton accepts leading zeros on OpenBSD");
1112
if(PHP_INT_SIZE != 8) {die('skip 64 bit only');}
1213
?>
1314
--FILE--

0 commit comments

Comments
 (0)