Re: Re: [RFC] Polling API
| From: | Jakub Zelenka | Date: | Tue, 31 Mar 2026 13:23:04 +0000 |
| Subject: | Re: Re: [RFC] Polling API | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-130517@lists.php.net to get a copy of this message | ||
Hi,
On Tue, Mar 31, 2026 at 11:41 AM Valentin Udaltsov <
udaltsov.valentin@gmail.com> wrote:
> вс, 29 мар. 2026 г., 23:54 Jakub Zelenka <bukka@php.net>:
>
>> Hi,
>>
>> On Thu, Oct 30, 2025 at 10:06 PM Jakub Zelenka <bukka@php.net> wrote:
>>
>>> Hello,
>>>
>>> I would like to introduce a new polling API RFC that is part of my
>>> stream evolution work:
>>>
>>> https://wiki.php.net/rfc/poll_api
>>>
>>>
>> Just a heads up that I plan to open voting on Tuesday 31st March around
>> the same time like now.
>>
>> Kind regards,
>>
>> Jakub
>>
>
> Hi, Jakub!
>
> Why do you use get and is methods if we have powerful prioritize with get
> hooks nowadays? I think that PHP should promote its modern features in its
> own API.
>
There is actually no internal API for hooks so it would require using
object handlers (which is from the user space point of view just __get). It
means no stubs declaration either. We also don't have an internal policy
where to use hooks and where methods. So there are still lots of blockers
to start using it in core.
Kind regards,
Jakub