We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a018214 commit 13c150eCopy full SHA for 13c150e
ext/standard/io_poll.c
@@ -662,8 +662,7 @@ PHP_METHOD(Io_Poll_Context, __construct)
662
intern->ctx = php_poll_create(backend_type, 0);
663
664
if (!intern->ctx) {
665
- php_io_poll_throw_failed_operation(php_io_poll_failed_context_init_class_entry,
666
- "Failed to create polling context", PHP_POLL_ERR_NOMEM);
+ zend_argument_value_error(1, "must be available backend");
667
RETURN_THROWS();
668
}
669
0 commit comments