PHP7 support #1
Labels
No Label
Bug
Enhancement
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: geos/php-geos#1
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Currently it is impossible to build the php bindings/extension for PHP7 (7.0.1) (Zend API changes).
Moved from https://trac.osgeo.org/geos/ticket/761
WIP branch is available at https://github.com/dark-panda/php-geos-native/tree/php7.
I also pushed a work in progress in the php7 branch here:
https://git.osgeo.org/gogs/geos/php-geos/src/php7
my version is way less advanced and doesn't build yet for php7, but you may take a look if you find anything interesting (there are just a few changes).
Note that pushes into this repository are checked by an experimental self-hosted (by me) instance of Drone: https://drone.osgeo.kbt.io/geos/php-geos -- The builds are driven by .drone.yml which specifies using docker images built via scripts https://git.osgeo.org/gogs/geos/php-geos/src/master/docker/build-test. My plan is to also have PHP7 automatically tested (next to PHP5).
I've created a PR after advancing the branch to the point it builds with both PHP5 and PHP7 and seems to give the same test results as your branch. Let's continue the discussion in the PR: #2