B.82. PHP()

Executes a PHP script.


Use of PHP() requires the res_php[69]Asterisk module to be compiled and loaded. As an alternative you may execute PHP scripts using System().
Executes a PHP script. The advantage of this over shell execution is that the interpreter need not be re-loaded every time, which will improve performance.
The res_php module is not compatible with current Asterisk versions and will not be described further in this book.