summaryrefslogtreecommitdiff
path: root/documentation/parameters.html
diff options
context:
space:
mode:
authorClyde Semeleer <clyde@semeleer.eu>2014-03-05 07:11:54 -0800
committerClyde Semeleer <clyde@semeleer.eu>2014-03-05 07:11:54 -0800
commit3e664df641d022903acb060dc40a4815078ac4db (patch)
tree510ed80d83edfc69a9643fc81a5b667dee816235 /documentation/parameters.html
parente7736a8d65765f7500e06af400457cca95ceae45 (diff)
minor update to docs
Diffstat (limited to 'documentation/parameters.html')
-rw-r--r--documentation/parameters.html9
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 &lt;phpcpp.h&gt;
+<pre class="language-c++"><code>#include &lt;phpcpp.h&gt;
extern void example(Php::Parameters &amp;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
+