Note "POTENTIAL INCOMPATIBILITY" re php5 lang subdir

This commit is contained in:
Olly Betts 2016-12-21 11:05:42 +13:00
commit 6c8e3288ec

View file

@ -38,11 +38,21 @@ Version 3.0.11 (in progress)
%module(moduleimport="import $module") foo
2016-11-30: olly
[PHP] Add support for PHP7. PHP5's C extension API has changed substantially
so you need to use -php7 to specify you want PHP7 compatible wrappers. The
default extension for generated wrappers is now .cxx (to match SWIG's default
for every other language - to generate foo_wrap.cpp you can run SWIG with
-cppext cpp). Fixes https://github.com/swig/swig/issues/571
[PHP] Add support for PHP7. PHP5's C extension API has changed
substantially so you need to use -php7 to specify you want PHP7
compatible wrappers. The default extension for generated wrappers
is now .cxx (to match SWIG's default for every other language - to
generate foo_wrap.cpp you can run SWIG with -cppext cpp). Fixes
https://github.com/swig/swig/issues/571
As part of this change, the language subdirectory for PHP5 has
changed from "php" to "php5" - if you are making use of the search
path feature where the language subdirectory of each directory
is also searched, you'll need to update your bindings. A simple
fix which works for older and newer SWIG is to add a symlink:
ln -s php php5
*** POTENTIAL INCOMPATIBILITY ***
2016-11-30: olly
[PHP] Only emit one copy of each distinct arginfo. Previously we