SWIG/Examples/php/callback/
Implementing C++ callbacks in PHP
This example illustrates how to use directors to implement C++ callbacks in PHP.