summaryrefslogtreecommitdiff
path: root/Examples/CppClassesInPhp/cppclassinphp.php
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-02-28 10:25:01 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-02-28 10:25:01 +0100
commit71055ebdea1e8eec30747a04f36e0c10e750bff5 (patch)
tree18ed63d5fe64a936c284a38d4f72921a4ddc97df /Examples/CppClassesInPhp/cppclassinphp.php
parent85349bbb642a83012a7d0dbccde8b7c1eea1b914 (diff)
a lot of refactoring, to make it much easier to define classes in an extension
Diffstat (limited to 'Examples/CppClassesInPhp/cppclassinphp.php')
-rw-r--r--Examples/CppClassesInPhp/cppclassinphp.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Examples/CppClassesInPhp/cppclassinphp.php b/Examples/CppClassesInPhp/cppclassinphp.php
index 1eccf95..1256018 100644
--- a/Examples/CppClassesInPhp/cppclassinphp.php
+++ b/Examples/CppClassesInPhp/cppclassinphp.php
@@ -5,6 +5,9 @@
*
* An example file to show the working of using a C++ class in PHP.
*/
+
+// run the regular function
+myFunction();
//create a MyCustomClass object, which is an object of a C++ class
$MyCustomClass = new MyClass();