You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(opcache): wire the binary-patch pipeline to the hot-swap API #122
Follow-up to the OpCache binary-file API (#111, merged). The headline unlock, explicitly deferred.
Connect the file-cache patch pipeline (BinaryCacheFile / ReflectionOpcacheFile) with the runtime hot-swap feature (#107: ReflectionFunction::redefine(), HotSwap/ClassDelta): take a patched image and apply it to already-loaded functions/classes in a live process, rather than only influencing the next include. This is what makes AOP / transpiling / source-protection work on live code.
Scope: define a bridge that diffs a patched ReflectionOpcacheFile against the live entries and drives redefine() / ClassDelta::apply() for the changed bodies, respecting the existing SHM-immutability rules (copy-out for immutable global functions; rejection where a writable per-process slot doesn't exist). Likely builds on #121 for the SHM case.
Activity
fix(opcache): resolve duplicate $script property from #122/#126 merge