diff --git a/ext/sockets/tests/socket_clear_error.phpt b/ext/sockets/tests/socket_clear_error.phpt index 9ea770954d5..c29e4c47eee 100644 --- a/ext/sockets/tests/socket_clear_error.phpt +++ b/ext/sockets/tests/socket_clear_error.phpt @@ -7,25 +7,19 @@ marcosptf - - #phparty7 - @phpsp - novatec/2015 - sao p if (!extension_loaded('sockets')) { die('SKIP sockets extension not available.'); } -if(substr(PHP_OS, 0, 3) == 'WIN' ) { - die('skip windows only test'); +if (substr(PHP_OS, 0, 3) == 'WIN' ) { + die('skip non-windows only test'); } ?> --FILE-- ---CLEAN-- - --EXPECTF-- -Warning: socket_connect(): unable to connect [%d]: Connection refused in %s on line %d -int(%d) +Warning: socket_set_option(): Unable to set socket option [%s]: %s in %s on line %d int(%d) +int(0)