From d3250ebdb03b6140cfa5b2c3111b594a5cda2c69 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Wed, 5 Mar 2014 23:44:26 +0100 Subject: update to documentation --- documentation/parameters.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/parameters.html') diff --git a/documentation/parameters.html b/documentation/parameters.html index 9e3c2ec..cd3bc23 100644 --- a/documentation/parameters.html +++ b/documentation/parameters.html @@ -45,7 +45,7 @@ extern "C" {

Can you really enforce scalar parameters?

You may be surprised to see that we specified the first parameter to be of - type Numeric. After all, in PHP there is offical way to enforce the type of a + type Numeric. After all, in PHP there is no offical way to enforce the type of a scalar parameter. When you write a function in PHP, it is possible to enforce that the function receives an object or an array, but not that you want to receive a string or an integer. -- cgit v1.2.3