Pre-release version 0.9.0
This is a beta/pre-release version, and may contain bugs or other general suckiness. Features include:
- Ability to execute PHP script files, as well as standalone strings within seperate execution contexts.
- Two-way bindings for values. This allows for binding Go values into PHP contexts as global variables, as well as returning PHP values for use in the Go context.
- Ability to define Go method receivers as PHP classes, with full support for calling attached methods, as well as getting, setting and checking for embedded fields (only for
structmethod receivers). - Provisional support for ZTS-enabled PHP builds.
Note that this library has only been tested against the PHP 5.6 series. Compatibility with other 5.x versions is unknown, and compatibility with PHP 7 is most definitely not there.
While the included test-suite covers most common use-cases, code coverage is probably way below 100%. Next versions will include improvements to the test-suite to ensure 100% code coverage, at least for the Go parts.
Documentation is also somewhat lacking.