diff options
Diffstat (limited to 'ext/sockets/tests/socket_sentto_recvfrom_unix.phpt')
-rw-r--r-- | ext/sockets/tests/socket_sentto_recvfrom_unix.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt b/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt index ab111898b..4cfdebbcb 100644 --- a/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt +++ b/ext/sockets/tests/socket_sentto_recvfrom_unix.phpt @@ -2,6 +2,9 @@ Test if socket_recvfrom() receives data sent by socket_sendto() through a Unix domain socket --SKIPIF-- <?php +if (substr(PHP_OS, 0, 3) == 'WIN') { + die('skip.. Not valid for Windows'); +} if (!extension_loaded('sockets')) { die('SKIP The sockets extension is not loaded.'); } |