summaryrefslogtreecommitdiff
path: root/Examples/php/class
Commit message (Collapse)AuthorAgeFilesLines
* Don't generate a .php wrapper file by defaultOlly Betts2021-05-041-2/+0
| | | | | | | | | | It's now only generated if something to put in it is specified via: %pragma(php) include=... or %pragma(php) code=...
* php: Omit closing ?> in manual and examplesOlly Betts2021-03-231-2/+0
| | | | | PSR-12 says "The closing ?> tag MUST be omitted from files containing only PHP".
* Remove 'static' targets from PHP examplesOlly Betts2016-11-301-6/+0
| | | | | | The machinery these targets need to work no longer exists, and as far as I can make out was removed before the code was put under version control.
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-211-3/+6
| | | | | | | | | | | | | Complete the prototype removal in ca1431. The script prevents SWIGTOOL=gdb from working as gdb can't be used to debug a shell script, it requires a binary. Add support for SWIGTOOL in all the examples. SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles. See issue #473.
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | - Examples/Makefile.in rules use SRCDIR as the relative source directory - ./config.status replicates Examples/ source directory tree in build directory, and copies each Makefile to build directory, prefixed with a header which sets SRCDIR to source directory - Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir - Examples/test-suite/errors/Makefile.in needs to filter out source directory from SWIG error messages - Lua: embedded interpreters are passed location of run-time test - Python: copy run-time scripts to build directory because of 2to3 conversion; import_packages example copies __init__.py from source directory; test-suite sets SCRIPTDIR to location of run-time tests - Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir can be substituted with SRCDIR; removed './' from require() statements so that NODE_PATH can be used to point Node.js to build directory
* Further cleaning up of class examplesOlly Betts2014-02-241-1/+0
|
* Improve the class example for several languages.Olly Betts2014-02-233-29/+14
| | | | | Fix numerous inaccuracies in index.html (where it exists) and eliminate unnecessary differences between the example code being wrapped.
* PHP examples makefiles clean target fixed and use RUNPIPE and tidyupWilliam S Fulton2013-04-191-7/+6
|
* [PHP] Update the PHP "class" example to work with PHP5 and useOlly Betts2009-08-142-22/+18
| | | | | | | modern wrapping features. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* modify build system to use php instead of php4William S Fulton2008-12-062-5/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* rename php4 to phpWilliam S Fulton2008-11-225-0/+175
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10938 626c5289-ae23-0410-ae9c-e8d60b6d4f22