diff options
Diffstat (limited to 'ext/sockets/tests/socket_create_pair-wrongparams.phpt')
| -rw-r--r-- | ext/sockets/tests/socket_create_pair-wrongparams.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/tests/socket_create_pair-wrongparams.phpt b/ext/sockets/tests/socket_create_pair-wrongparams.phpt index 57111c83f1..d6a4d4562d 100644 --- a/ext/sockets/tests/socket_create_pair-wrongparams.phpt +++ b/ext/sockets/tests/socket_create_pair-wrongparams.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; } |
