Esc
API Index — Namespaces, Packages, Reports, Indices
ZealPHP_IPC_Sender
in package
FinalYes
Destructor-based metadata frame sender. PHP runs destructors even after
exit() is called from inside a shutdown function — phpMyAdmin's
ResponseRenderer->response() does exactly that. The shutdown chain
gets preempted, but a destructor on a static instance still fires,
so the parent receives status/headers/cookies regardless of how the
request ended.
Body bytes are written directly to STDOUT during the request (no IPC framing on STDOUT), so this sender only carries metadata.
Table of Contents
Properties
- $instance : self|null
Methods
- __destruct() : mixed
- init() : self
Properties
$instance
private
static self|null
$instance
= \null
Methods
__destruct()
public
__destruct() : mixed
init()
public
static init() : self