On Mon, Jan 5, 2015 at 5:26 PM, Rowan Collins <rowan.coll...@gmail.com>
wrote:

> Julien Pauli wrote on 05/01/2015 16:19:
>
>> Hello.
>>
>> Can't this be already done somehow ? In RINIT stage obviously.
>> I don't understand why to change our API to add a feature we already can
>> use ?
>>
>> Julien.P
>>
>
> The RFC explains the motivation reasonably clearly. In particular:
>
> > Using RINIT is error prone and a little bit dangerous, because is a bit
> too early for some data to be cleanly created (globals).
>

This is a problem that can already be dealt with.
Globals are created before RINIT.



> Basically, it's a standardised implementation, and allows the code to run
> at a more appropriate phase of execution.


Yes, I understand the RFC as a standardisation of a concept that is very
uncommonly used, and that could lead to problems against OPcode caches.
Having extensions declaring php files to load, knowing we can dl() them at
runtime, we have static vs dynamic extensions... That smells problems to me
(at least its not as easy as the RFC actually states) , however, nothing is
impossible.


Julien.P

Reply via email to