mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/standard: disable one ipv2long test. (#15200)
atypical leading zeros are accepted on this platform.
This commit is contained in:
@@ -8,6 +8,7 @@ Test ip2long() function : usage variation 2, 64 bit
|
||||
otherwise, the number is interpreted as decimal).
|
||||
*/
|
||||
if(PHP_OS == 'Darwin') die("skip - inet_pton behaves differently on Darwin");
|
||||
if(PHP_OS == 'OpenBSD') die("skip - inet_pton accepts leading zeros on OpenBSD");
|
||||
if(PHP_INT_SIZE != 8) {die('skip 64 bit only');}
|
||||
?>
|
||||
--FILE--
|
||||
|
||||
Reference in New Issue
Block a user