>> There would also need to be something that stops the script execution
>> as soon as there's no non-suspended Fiber anymore.
>
> As you pointed out, the main process cannot be a Fiber because it need to
> schedule other fibers.
The conclusion is wrong. There just needs to be a way to access
> On Feb 10, 2018, at 22:49, Niklas Keller wrote:
>
>> Hi, all,
>>
>> I have updated the RFC https://wiki.php.net/rfc/fiber
>>
>> changes list:
>>
>> - introduce the `throw(Exception $exceptin)` API
>> - record issues discussed
>
> What about my suggestion of making PHP's
> Hi, all,
>
> I have updated the RFC https://wiki.php.net/rfc/fiber
>
> changes list:
>
> - introduce the `throw(Exception $exceptin)` API
> - record issues discussed
What about my suggestion of making PHP's main() automatically a Fiber,
which avoids Fiber::yield() being used outside of a Fiber,
Hi, all,
I have updated the RFC https://wiki.php.net/rfc/fiber
changes list:
- introduce the `throw(Exception $exceptin)` API
- record issues discussed
> On Feb 9, 2018, at 08:12, Haitao Lv wrote:
>
>>
>> On Feb 9, 2018, at 06:22, Niklas Keller wrote:
>>