Summary
Implement preg_replace_callback() for the PHP compiler: Zend/VM path, LLVM JIT lowering, and AOT/self-host emission where applicable.
Context
- Not listed in
docs/capabilities.md builtin matrix (or marked absent).
- Tracked under North Star stdlib coverage (#78, #1056).
- Run
php script/audit-stdlib-jit.php after implementation.
Acceptance criteria
Notes
PCRE replace with callback.
Summary
Implement
preg_replace_callback()for the PHP compiler: Zend/VM path, LLVM JIT lowering, and AOT/self-host emission where applicable.Context
docs/capabilities.mdbuiltin matrix (or marked absent).php script/audit-stdlib-jit.phpafter implementation.Acceptance criteria
preg_replace_callback()registered in builtin tables /SelfHostBuiltinPolicyas appropriatedocs/capabilities.mdNotes
PCRE replace with callback.