Olly Betts
735fe4b60a
Filter out is_python_* in PHP tests
...
These functions are added in a number of testcases but for all
languages not just Python. It's tedious having to update the
PHP expected function lists for them, so let's just filter them
out.
2022-03-02 12:20:57 +13:00
Olly Betts
32283991c5
Don't generate a .php wrapper file by default
...
It's now only generated if something to put in it is specified via:
%pragma(php) include=...
or
%pragma(php) code=...
2021-05-04 14:14:56 +12:00
Olly Betts
b430832a08
Restore checks for flat functions in php testcases
2021-04-14 12:44:48 +12:00
Olly Betts
8cb0c185ac
Restore checks for globals in php testcases
2021-04-14 11:15:43 +12:00
Olly Betts
8ded9d8dae
Merge branch 'master' into gsoc2017-php7-classes-via-c-api
2021-03-25 17:45:17 +13:00
Olly Betts
704ec59f29
[php] Fix widespread use of bare strings in testsuite
...
These generate warnings with PHP 7.3, which will become errors in a
future version.
2021-03-25 16:17:06 +13:00
Olly Betts
e54d44c4be
php: Omit closing ?> in manual and examples
...
PSR-12 says "The closing ?> tag MUST be omitted from files containing
only PHP".
2021-03-23 11:47:19 +13:00
William S Fulton
5d976b0ebe
Fix php testcase warning
2019-04-30 23:44:41 +01:00
Olly Betts
cadd97ac4f
[php] Fix widespread use of bare strings in testsuite
...
These generate warnings with PHP 7.3, which will become errors in a
future version.
2019-02-08 15:32:30 +13:00
Nihal
05c25a71d6
Remove globals check in the php test-suite.
...
It was done mainly to check in the "flat" function structure.
Not needed since the class structure is adopted now.
2017-07-19 20:49:43 +05:30
William S Fulton
58461c1ffd
php run test fixes for new functions in testcase
2016-10-15 17:58:21 +01:00
Olly Betts
8461ba43ff
Update lists of expected function, classes, and globals to match what we get
...
with PHP5. There are no longer any warnings about these.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-04 03:54:24 +00:00
Miklos Vajna
82df087b8b
PHP: remove '// Sample test file' comments from runme files
...
Those are cut&pasted from skel.php, but that comment makes sense only in
skel.php itself.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 22:23:32 +00:00
William S Fulton
bcc796f676
modify build system to use php instead of php4
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 21:40:54 +00:00