Re: PHP True Async RFC

From: Date: Sat, 08 Mar 2025 08:23:26 +0000
Subject: Re: PHP True Async RFC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
>
> wrap it in a specific form (async\run or async\async, in this RFC), which
> ironically colors the function.
>

It doesn't color the function.
The function is unchanged.

Any existing function in userland do not have to be changed in any way.
It's calls do not have to be rewritten into await, and all that stuff.

This same statement comes as well to all built-in functions like
file_get_contents, that already return needed data, rather than an promise
object whereof we could possibly fetch the data from.


Thread (110 messages)

« previous php.internals (#126635) next »