Tiger_Code_Runtime

@api

Tiger_Code_Runtime — compile-and-run for Tiger Code's PHP tier.

The DB is the source of truth; this executes a COMPILED CACHE FILE, never the table per request. Per-request cost is one OPcache-warm include — cache invalidation rides the config token tiger.code.version that's already loaded each request (no query).

boot() — the per-request loader: kill-switch → version → compile-if-missing → guard → include. rebuild() — bump the version token + recompile (called by the admin on save/toggle/delete). The shutdown guard auto-deactivates a snippet that fatals while loading, so the next request self-heals instead of white-screening forever.

Methods

boot()

boot($location = self::LOC_GLOBAL)

Per-request loader for a run location (default: global). Safe to call once per location.

  • $location string — the run location