diff options
author | Clyde Semeleer <clyde@semeleer.eu> | 2014-03-05 07:11:54 -0800 |
---|---|---|
committer | Clyde Semeleer <clyde@semeleer.eu> | 2014-03-05 07:11:54 -0800 |
commit | 3e664df641d022903acb060dc40a4815078ac4db (patch) | |
tree | 510ed80d83edfc69a9643fc81a5b667dee816235 | |
parent | e7736a8d65765f7500e06af400457cca95ceae45 (diff) |
minor update to docs
-rw-r--r-- | documentation/parameters.html | 9 |
1 files changed, 4 insertions, 5 deletions
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: </p> <p> -<pre class="language-c++"><code> -#include <phpcpp.h> +<pre class="language-c++"><code>#include <phpcpp.h> extern void example(Php::Parameters &params); @@ -28,8 +27,7 @@ extern "C" { }); return myExtension.module(); } -} -</pre></code> +}</pre></code> </p> <p> 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. </p> + <h2>Working with variables</h2> <p> 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. </p> <p> -
\ No newline at end of file + |