Skip to content

Commit 264a589

Browse files
committed
splits tests into 32-bit and 64-bit variants, UINT_MAX > PHP_INT_MAX on 32-bit systems
1 parent 9d97524 commit 264a589

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/sockets/tests/socket_setoption_tcpusertimeout_32bit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sockets
55
--SKIPIF--
66
<?php
77
if (!defined('TCP_USER_TIMEOUT')) { die('skip TCP_USER_TIMEOUT is not defined'); }
8-
if (PHP_INT_SIZE != 4) { die("skip 32-bit only") };
8+
if (PHP_INT_SIZE != 4) { die("skip 32-bit only"); }
99
?>
1010
--FILE--
1111
<?php

ext/sockets/tests/socket_setoption_tcpusertimeout_64bit.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sockets
55
--SKIPIF--
66
<?php
77
if (!defined('TCP_USER_TIMEOUT')) { die('skip TCP_USER_TIMEOUT is not defined'); }
8-
if (PHP_INT_SIZE != 8) { die("skip 64-bit only") };
8+
if (PHP_INT_SIZE != 8) { die("skip 64-bit only"); }
99
?>
1010
--FILE--
1111
<?php

0 commit comments

Comments
 (0)