Hi,

On Tue, Mar 31, 2026 at 11:41 AM Valentin Udaltsov <
[email protected]> wrote:

> вс, 29 мар. 2026 г., 23:54 Jakub Zelenka <[email protected]>:
>
>> Hi,
>>
>> On Thu, Oct 30, 2025 at 10:06 PM Jakub Zelenka <[email protected]> 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

Reply via email to