Added support for checking dynamically-named functions, added support for passing the PHPSandbox instance to defined functions, and updated documentation