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 63
63
* @cvalue PHP_POLL_BACKEND_EVENTPORT
64
64
*/
65
65
const STREAM_POLL_BACKEND_EVENTPORT = UNKNOWN ;
66
- /**
67
- * @var int
68
- * @cvalue PHP_POLL_BACKEND_SELECT
69
- */
70
- const STREAM_POLL_BACKEND_SELECT = UNKNOWN ;
71
66
/**
72
67
* @var int
73
68
* @cvalue PHP_POLL_BACKEND_IOCP
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ Stream polling - backend name
4
4
<?php
5
5
require_once __DIR__ . '/stream_poll.inc ' ;
6
6
// select is always available
7
- $ poll_ctx = stream_poll_create (STREAM_POLL_BACKEND_SELECT );
7
+ $ poll_ctx = stream_poll_create (STREAM_POLL_BACKEND_POLL );
8
8
var_dump (stream_poll_backend_name ($ poll_ctx ));
9
9
// test with string
10
- $ poll_ctx = stream_poll_create ('select ' );
10
+ $ poll_ctx = stream_poll_create ('poll ' );
11
11
var_dump (stream_poll_backend_name ($ poll_ctx ));
12
12
13
13
?>
14
14
--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 {
35
35
PHP_POLL_BACKEND_EPOLL ,
36
36
PHP_POLL_BACKEND_KQUEUE ,
37
37
PHP_POLL_BACKEND_EVENTPORT ,
38
- PHP_POLL_BACKEND_SELECT ,
39
38
PHP_POLL_BACKEND_IOCP
40
39
} php_poll_backend_type ;
41
40
You can’t perform that action at this time.
0 commit comments