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/exception.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/exception.i')
-rw-r--r-- | Lib/exception.i | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/exception.i b/Lib/exception.i index da0d56cdd..3e7c7fd8e 100644 --- a/Lib/exception.i +++ b/Lib/exception.i @@ -12,13 +12,6 @@ %insert("runtime") "swigerrors.swg" -#ifdef SWIGPHP5 -%{ -#include "zend_exceptions.h" -#define SWIG_exception(code, msg) do { zend_throw_exception(NULL, (char*)msg, code TSRMLS_CC); goto thrown; } while (0) -%} -#endif - #ifdef SWIGPHP7 %{ #include "zend_exceptions.h" |