From 3e664df641d022903acb060dc40a4815078ac4db Mon Sep 17 00:00:00 2001 From: Clyde Semeleer Date: Wed, 5 Mar 2014 07:11:54 -0800 Subject: minor update to docs --- documentation/parameters.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'documentation/parameters.html') diff --git a/documentation/parameters.html b/documentation/parameters.html index 464d855..e2bc7e6 100644 --- a/documentation/parameters.html +++ b/documentation/parameters.html @@ -13,8 +13,7 @@ the parameters is:

-


-#include <phpcpp.h>
+
#include <phpcpp.h>
 
 extern void example(Php::Parameters &params);
 
@@ -28,8 +27,7 @@ extern "C" {
         });
         return myExtension.module();
     }
-}
-
+}

Above you see that we passed in additional information when we registered the @@ -41,6 +39,7 @@ extern "C" { will be filled with three members, and that two of them are objects of the appropriate type, and that the third one is also passed by reference.

+

Working with variables

Variables in PHP are non-typed. A variable can thus hold any possible type: @@ -55,4 +54,4 @@ extern "C" { "Value" class that makes this a very simple task.

- \ No newline at end of file + -- cgit v1.2.3