summaryrefslogtreecommitdiff
path: root/documentation/parameters.html
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/parameters.html')
-rw-r--r--documentation/parameters.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/parameters.html b/documentation/parameters.html
index 3711b59..b40bd5b 100644
--- a/documentation/parameters.html
+++ b/documentation/parameters.html
@@ -75,14 +75,14 @@ function example3(int $param)
</code></pre>
</p>
<p>
- The same is true for native functions. Although the core PHP engine and PHP-CPP
- library both offer the possibility to specify that your function only accepts parameters of type
+ The same is true for native functions. Although the core PHP engine and PHP-CPP
+ library both offer the possibility to specify that your function accepts parameters of type
"Php::Type::Numeric" or of type "Php::Type::String", this setting is further
completely ignored. Maybe this is going to change in the
future (let's hope so), but for now it is only meaningful to specify the
parameter type for objects and arrays. We have however chosen to still offer
this feature in PHP-CPP to be ready for future versions of PHP, but for now
- the specification of the numeric parameter in our example is pointless.
+ the specification of the numeric parameter in our example is meaningless.
</p>
<p>
To come back to our example, the following functions calls can now be done
@@ -111,7 +111,7 @@ example("x", "y", "z");
</p>
<p>
The PHP engine will trigger an error if your function is called with wrong
- parameters, and will not make the call to your function.
+ parameters, and will not make the actual call to the native function.
</p>
<h2>The Php::ByVal class further explained</h2>
<p>