pierrejoye / php_injectcallback

Simple AST callback injection, transparently, to get information from a running script at runtime.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple function injection extension

Call:

INJECTCB_METHOD=MyClass::bar /home/pierre/project/php/php8debug/bin/php -dextension_dir=/home/pierre/project/php/php_injectcallback/modules -dextension=injectcb asts.php

Env can be defined in the webserver environment as well. A config reload should do it (or fpm).

About

Simple AST callback injection, transparently, to get information from a running script at runtime.


Languages

Language:C 89.8%Language:PHP 6.9%Language:M4 3.4%