[php] Drop support for long-deprecated %pragma(php4)
Finally removed support for %pragma(php4) which was deprecated back in 2008. The replacement is %pragma(php), which has been supported since at least 2005.
This commit is contained in:
parent
d6d5db122b
commit
d7ac8581b1
2 changed files with 6 additions and 1 deletions
|
|
@ -7,6 +7,11 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|||
Version 4.0.0 (in progress)
|
||||
===========================
|
||||
|
||||
2018-06-07: olly
|
||||
[PHP] We've finally removed support for %pragma(php4) which was
|
||||
deprecated back in 2008. Use %pragma(php) instead, which has been
|
||||
supported since at least 2005.
|
||||
|
||||
2018-06-07: olly
|
||||
[PHP5] Support for PHP5 has been removed. PHP5 is no longer
|
||||
actively supported by the PHP developers and security support for
|
||||
|
|
|
|||
|
|
@ -1996,7 +1996,7 @@ done:
|
|||
String *type = Getattr(n, "name");
|
||||
String *value = Getattr(n, "value");
|
||||
|
||||
if (Strcmp(lang, "php") == 0 || Strcmp(lang, "php4") == 0) {
|
||||
if (Strcmp(lang, "php") == 0) {
|
||||
if (Strcmp(type, "code") == 0) {
|
||||
if (value) {
|
||||
Printf(pragma_code, "%s\n", value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue