Re: [PHP-DEV] Don't add simple objects to GC's roots

2017-07-27 Thread
Hi, > On 26 Jul 2017, at 22:57, Nicolas Grekas wrote: > > There is a way to work around: just call gc_disable(). But this means > dealing with side effects of the engine in userland. Moreover, this also > means leaking memory, since meanwhile roots are not populated. Maybe we could make gc_disab

Re: [PHP-DEV] [RFC] Fiber support (again)

2018-02-10 Thread
> 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 main() automatical