Problem
lib/JIT/SuperglobalInit.php bakes $_GET/$_POST at compile time from -q / QUERY_STRING. A deployed AOT binary cannot serve multiple users without recompiling.
This is the AOT-specific slice of #49.
Goal
Native binary reads CGI env or FastCGI params each request and rebuilds superglobal hashtables before user code runs.
Tasks
Acceptance criteria
php bin/compile.php -o app examples/001-SimpleWeb/example.php
QUERY_STRING='name=A' ./app
QUERY_STRING='name=B' ./app
# prints different names
Dependencies
Files
lib/JIT/SuperglobalInit.php, lib/AOT/, bin/compile.php
Problem
lib/JIT/SuperglobalInit.phpbakes$_GET/$_POSTat compile time from-q/QUERY_STRING. A deployed AOT binary cannot serve multiple users without recompiling.This is the AOT-specific slice of #49.
Goal
Native binary reads CGI env or FastCGI params each request and rebuilds superglobal hashtables before user code runs.
Tasks
__superglobals__refresh()entry hook-qbake mode for static pages (002-StaticWeb) via flagQUERY_STRING, same binaryAcceptance criteria
Dependencies
Files
lib/JIT/SuperglobalInit.php,lib/AOT/,bin/compile.php