summaryrefslogtreecommitdiff
path: root/ext/sockets/tests/socket_set_nonblock-wrongparams.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sockets/tests/socket_set_nonblock-wrongparams.phpt')
-rw-r--r--ext/sockets/tests/socket_set_nonblock-wrongparams.phpt13
1 files changed, 0 insertions, 13 deletions
diff --git a/ext/sockets/tests/socket_set_nonblock-wrongparams.phpt b/ext/sockets/tests/socket_set_nonblock-wrongparams.phpt
deleted file mode 100644
index 4b7e5beb18..0000000000
--- a/ext/sockets/tests/socket_set_nonblock-wrongparams.phpt
+++ /dev/null
@@ -1,13 +0,0 @@
---TEST--
-Test if socket_set_nonblock throws E_WARNING with wrong parameters.
---SKIPIF--
-<?php
-if (!extension_loaded('sockets')) {
- die('SKIP The sockets extension is not loaded.');
-}
---FILE--
-<?php
-$socket = socket_set_nonblock(array());
-?>
---EXPECTF--
-Warning: socket_set_nonblock() expects parameter 1 to be resource, array given in %s on line %d