Closed deuill closed 8 years ago
Currently, the code builds and basic tests run, but more advanced tests fail with "zend_mm_heap corrupted". More to come.
Tests build on both PHP5 and PHP7 and I'm happy with the general code quality, so merging this. The whole pre-processor #define mess may be revisited at some point, though.
This adds support for building against PHP 7 when using the
php7
build tag (i.e.go build -tags php7
). PHP 5 support remains the default and does not need passing any tags, currently, though this may change at some point.