diff options
author | Olly Betts <olly@survex.com> | 2018-06-07 18:04:45 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2018-06-07 18:09:03 +1200 |
commit | d6d5db122bb9900b4d12ebeee038b233b92b46ed (patch) | |
tree | 8aa052c094eaf80dad540176d74abdb80242eaa7 /Lib/cdata.i | |
parent | f7a255c38acff21cad01e300ba8d8169aea9c377 (diff) | |
download | swig-d6d5db122bb9900b4d12ebeee038b233b92b46ed.tar.gz |
Remove support for PHP5
PHP5 is no longer actively supported by the PHP developers and security
support for it ends completely at the end of 2018, so it doesn't make
sense to include support for it in the upcoming SWIG 4.0.0 release.
See #701.
Diffstat (limited to 'Lib/cdata.i')
-rw-r--r-- | Lib/cdata.i | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/cdata.i b/Lib/cdata.i index 3ac693cfc..23b7211e7 100644 --- a/Lib/cdata.i +++ b/Lib/cdata.i @@ -29,13 +29,6 @@ typedef struct SWIGCDATA { } %typemap(in) (const void *indata, int inlen) = (char *STRING, int LENGTH); -#elif SWIGPHP5 - -%typemap(out) SWIGCDATA { - ZVAL_STRINGL($result, $1.data, $1.len, 1); -} -%typemap(in) (const void *indata, int inlen) = (char *STRING, int LENGTH); - #elif SWIGPHP7 %typemap(out) SWIGCDATA { |