Hi Florian,

I updated the RFC (now 0.2) to include the lifecycle sequence.

I also addressed a relevant question asked on LinkedIn
(https://www.linkedin.com/feed/update/urn:li:activity:7525919414685384704/?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7525919414685384704%2C7525924489574899712%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287525924489574899712%2Curn%3Ali%3Aactivity%3A7525919414685384704%29&skipRedirect=true)
about failing hooks: php_request_begin() and php_request_end() now
return FAILURE when a hook fails, and the SAPI should then end the
script, as a failing RINIT ends the process.

The RFC now also clarifies what happens when request-dependent
functions are called between two logical requests: the state they set
is released before the next request starts, and session_start() and
session_id() refuse to run there.

Both patches now match the RFC.

Best

Reply via email to