Olly Betts
7d75e3eb7e
[PHP] Add new PHP 8.1 keyword
...
Add PHP keyword 'readonly' (added in 8.1) to the list SWIG knows to
automatically rename. This keyword is special in that PHP allows it to
be used as a function (or method) name.
2021-12-18 15:30:38 +13:00
Olly Betts
b671a37e89
[php] Fix reserved class names TRUE, FALSE, NULL
...
PHPCN(x) does a string compare of x with the lower-cased class name,
so x needs to be in lowercase or else the entry has no effect. The
entries for TRUE, FALSE and NULL weren't working as a result.
2021-05-12 16:45:42 +12:00
William S Fulton
300ade57e8
Add missing return statements in testcase
2014-03-15 00:23:55 +00:00
Olly Betts
9146164748
Extend php_namewarn_rename to act as a regression test for the warning about built-in function names used in %extend
2014-02-19 22:09:39 +13:00
Olly Betts
2c74fbf9e4
[PHP] Fix warning and rename of reserved class name to be case insensitive.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-02 13:02:38 +00:00
Olly Betts
abcff1089d
Fix 2 of the 3 warnings under PHP (the remaining one doesn't seem to respond
...
to %warnfilter as I'd expect...)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-11 13:56:50 +00:00
William S Fulton
db83e51441
modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:35:15 +00:00