jumpinjackie / mapguide-api-bindings

Language bindings for the MapGuide API
GNU Lesser General Public License v2.1
4 stars 0 forks source link

PHP 7 binding #21

Open jumpinjackie opened 7 years ago

jumpinjackie commented 7 years ago

Version 3.0.11 was recently released which added long-awaited support for PHP 7.

As it is imperative that we escape the pending EOL of PHP 5.6 which is in less than 2 years time, we need to explore a usable path where we can bundle in PHP 7 and a MapGuide API binding that works with this version.

Current checklist:

jumpinjackie commented 6 years ago

Our first attempt to run the PHP test suite with our binding gives us this warning:

Warning: dl(): MapGuideApi: Unable to initialize module
Module compiled with build ID=API20170718,TS,VC14
PHP    compiled with build ID=API20170718,TS,VC15
These options need to match
 in D:\Workspace\mapguide-api-bindings\src\Test\Php\MapGuideApi.php on line 16

And then failing afterwards.

Which tells me we have to downgrade to PHP 7.1 (at least on windows), where the official release is compiled with the same compiler (VS2015)