Skip to content

Commit d4740ed

Browse files
committed
poll: add initial obj migration
1 parent c1ddfc0 commit d4740ed

File tree

9 files changed

+414
-322
lines changed

9 files changed

+414
-322
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3362,21 +3362,6 @@ function soundex(string $string): string {}
33623362

33633363
/* streamsfuncs.c */
33643364

3365-
function stream_poll_create(int|string $backend = STREAM_POLL_BACKEND_AUTO, bool $raw_events = false): StreamPollContext {}
3366-
3367-
/** @param resource $stream */
3368-
function stream_poll_add(StreamPollContext $poll_ctx, $stream, int $events, mixed $data = null): void {}
3369-
3370-
/** @param resource $stream */
3371-
function stream_poll_modify(StreamPollContext $poll_ctx, $stream, int $events, mixed $data = null): void {}
3372-
3373-
/** @param resource $stream */
3374-
function stream_poll_remove(StreamPollContext $poll_ctx, $stream): void {}
3375-
3376-
function stream_poll_wait(StreamPollContext $poll_ctx, int $timeout = -1, int $max_events = -1): array {}
3377-
3378-
function stream_poll_backend_name(StreamPollContext $poll_ctx): string {}
3379-
33803365
function stream_select(?array &$read, ?array &$write, ?array &$except, ?int $seconds, ?int $microseconds = null): int|false {}
33813366

33823367
/**

ext/standard/basic_functions_arginfo.h

Lines changed: 1 addition & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/standard/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,12 +432,12 @@ PHP_NEW_EXTENSION([standard], m4_normalize([
432432
pageinfo.c
433433
password.c
434434
php_fopen_wrapper.c
435+
poll.c
435436
proc_open.c
436437
quot_print.c
437438
scanf.c
438439
sha1.c
439440
soundex.c
440-
stream_poll.c
441441
streamsfuncs.c
442442
string.c
443443
strnatcmp.c

ext/standard/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ EXTENSION("standard", "array.c base64.c basic_functions.c browscap.c \
3535
url_scanner_ex.c ftp_fopen_wrapper.c http_fopen_wrapper.c \
3636
php_fopen_wrapper.c credits.c css.c var_unserializer.c ftok.c sha1.c \
3737
user_filters.c uuencode.c filters.c proc_open.c password.c \
38-
stream_poll.c streamsfuncs.c http.c flock_compat.c hrtime.c",
38+
poll.c streamsfuncs.c http.c flock_compat.c hrtime.c",
3939
false /* never shared */,
4040
'/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
4141
ADD_SOURCES("ext/standard/libavifinfo", "avifinfo.c", "standard");

0 commit comments

Comments
 (0)