summaryrefslogtreecommitdiff
path: root/ext/sockets/tests/socket_set_nonblock.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sockets/tests/socket_set_nonblock.phpt')
-rw-r--r--ext/sockets/tests/socket_set_nonblock.phpt5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/sockets/tests/socket_set_nonblock.phpt b/ext/sockets/tests/socket_set_nonblock.phpt
index 29c9372ef8..88f29d928e 100644
--- a/ext/sockets/tests/socket_set_nonblock.phpt
+++ b/ext/sockets/tests/socket_set_nonblock.phpt
@@ -11,11 +11,10 @@ fa@php.net
?>
--FILE--
<?php
- $rand = rand(1,999);
- $s_c_l = socket_create_listen(31330+$rand);
+ $s_c_l = socket_create_listen(0);
socket_set_nonblock($s_c_l);
var_dump($s_c_l);
- #socket_accept($s_c_l);
+ //socket_accept($s_c_l);
socket_close($s_c_l);
?>
--EXPECTF--