Alpha ZealPHP is early-stage and under active development. APIs may change between minor versions until v1.0. Feedback and bug reports welcome on GitHub.
API Index — Namespaces, Packages, Reports, Indices

ApacheContext
in package

Per-request scratch tables for Apache mod_php shims (apache_setenv, apache_getenv, apache_note). These exist solely so legacy code lifted onto ZealPHP via the CGI bridge keeps working — modern coroutine handlers do not need this class.

Stored as a nullable property on G; lazy-instantiated by the shim functions in src/utils.php on first write. Lifetime matches the containing G instance (per-coroutine in coroutine mode, per-process in superglobals mode).

Table of Contents

Properties

$env  : array<string, string>
$notes  : array<string, string>

Properties

On this page