summaryrefslogtreecommitdiff
path: root/ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt')
-rw-r--r--ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt b/ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt
index ff4dd5de06..399563fde1 100644
--- a/ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt
+++ b/ext/sockets/tests/socket_create_pair-wrongparams-win32.phpt
@@ -11,10 +11,10 @@ if (!extension_loaded('sockets')) {
--FILE--
<?php
-var_dump(socket_create_pair(AF_INET, null, null, $sockets));
+var_dump(socket_create_pair(AF_INET, 0, 0, $sockets));
try {
- var_dump(socket_create_pair(31337, null, null, $sockets));
+ var_dump(socket_create_pair(31337, 0, 0, $sockets));
} catch (\ValueError $e) {
echo $e->getMessage() . \PHP_EOL;
}