Olly Betts
a44a7de348
Expand li_std_string_runme.*
...
Add testing of the empty and null cases for all languages which
already have a runme.
2023-05-12 16:05:48 +12:00
Olly Betts
d45884bab5
[php] Add throws typemaps for string* + const string*
2023-04-24 12:18:52 +12:00
Olly Betts
6cd19ba926
[php] Support INPUT,INOUT,OUTPUT for std::string&
...
By default SWIG/PHP wraps std::string& as a pass-by-reference PHP
string parameter, but sometimes such a parameter is only for input
or only for output, so add support for the named typemaps that other
target languages support.
2023-04-21 17:50:25 +12: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
db358d1e42
Expand li_std_string_runme.php
...
Re-enable a disabled check and implement more checks based on those
in perl5/li_std_string_runme.pl.
2021-04-17 18:53:50 +12: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
Olly Betts
6833bb7e0f
[PHP] Make the testsuite fail on any PHP diagnostic
2019-02-09 12:52:25 +13:00
Olly Betts
3f9ebb31b9
[PHP] Don't generate code referencing undefined $r
...
This could happen in overloaded methods which returned void and took at
least one const std::string& parameter.
2019-02-08 18:09:52 +13: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