summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-04 08:36:43 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-04 08:36:43 +0200
commit2eb4e891d9b2d3c71a2b1d7367d85b22f4ecc9cf (patch)
tree76f75279a28306f2d1a84c0068f8e47df22d33f3 /documentation
parent6e2556ab445169cadb21d9ba16eb77d7350a79f7 (diff)
fixed typos in documentation, added ini_get() function to call.h
Diffstat (limited to 'documentation')
-rw-r--r--documentation/variables.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/variables.html b/documentation/variables.html
index d577699..719d95e 100644
--- a/documentation/variables.html
+++ b/documentation/variables.html
@@ -274,7 +274,7 @@ Php::Value filled({ "a", "b", "c", "d"});
// you can cast an array to a vector, template parameter can be
// any type that a Value object is compatible with (string, int, etc)
-std::vector<std::string> fruit = array;
+std::vector&lt;std::string&gt; fruit = array;
// create an associative array
Php::Value assoc;
@@ -297,7 +297,7 @@ assoc2["z"][1] = "b";
assoc2["z"][2] = "c";
// assoc arrays can be cast to a map, indexed by string
-std::map<std::string,std::string> map = assoc2;
+std::map&lt;std::string,std::string&gt; map = assoc2;
</code></pre>
</p>
@@ -381,7 +381,7 @@ Php::out &lt;&lt; value.call("format", "Y-m-d H:i:s") &lt;&lt; std::endl;
void myFunction(const Php::Value &amp;value)
{
// assum the value variable holds an array or object, it then
- // is possible to iterator over the values or properties
+ // is possible to iterate over the values or properties
for (auto &amp;iter : value)
{
// output key and value