File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed
Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 6363 * @cvalue PHP_POLL_BACKEND_EVENTPORT
6464 */
6565const STREAM_POLL_BACKEND_EVENTPORT = UNKNOWN ;
66- /**
67- * @var int
68- * @cvalue PHP_POLL_BACKEND_SELECT
69- */
70- const STREAM_POLL_BACKEND_SELECT = UNKNOWN ;
7166/**
7267 * @var int
7368 * @cvalue PHP_POLL_BACKEND_IOCP
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ Stream polling - backend name
44<?php
55require_once __DIR__ . '/stream_poll.inc ' ;
66// select is always available
7- $ poll_ctx = stream_poll_create (STREAM_POLL_BACKEND_SELECT );
7+ $ poll_ctx = stream_poll_create (STREAM_POLL_BACKEND_POLL );
88var_dump (stream_poll_backend_name ($ poll_ctx ));
99// test with string
10- $ poll_ctx = stream_poll_create ('select ' );
10+ $ poll_ctx = stream_poll_create ('poll ' );
1111var_dump (stream_poll_backend_name ($ poll_ctx ));
1212
1313?>
1414--EXPECT--
15- string(6 ) "select "
16- string(6 ) "select "
15+ string(4 ) "poll "
16+ string(4 ) "poll "
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ typedef enum {
3535 PHP_POLL_BACKEND_EPOLL ,
3636 PHP_POLL_BACKEND_KQUEUE ,
3737 PHP_POLL_BACKEND_EVENTPORT ,
38- PHP_POLL_BACKEND_SELECT ,
3938 PHP_POLL_BACKEND_IOCP
4039} php_poll_backend_type ;
4140
You can’t perform that action at this time.
0 commit comments