PHP Engine hooks
Posted: Mon Dec 10, 2007 3:43 am
This can probably be done using an extension, but I would like to avoid that if possible. Ideally if there is a way to invoke a command before parsing of every script file (includes and all) that would be best.
Basically I have a filter program which I wish to run over the source code and have that feed the results to the PHP engine for parsing, execution, etc...
Other than using an extension, is there a way I can configure PHP to pass the source to a binary and use the results of that operation?
Any ideas?
Basically I have a filter program which I wish to run over the source code and have that feed the results to the PHP engine for parsing, execution, etc...
Other than using an extension, is there a way I can configure PHP to pass the source to a binary and use the results of that operation?
Any ideas?