From edb5f5f8a3e522f76e3ee1897dd6f97cb2df7fcd Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Sat, 22 Sep 2001 01:45:49 +0000 Subject: [PATCH] Fix settype documentation git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58024 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/var.xml | 46 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/functions/var.xml b/functions/var.xml index b8aae88e34..d62dade086 100644 --- a/functions/var.xml +++ b/functions/var.xml @@ -1,5 +1,5 @@ - + Variable Functions Variables @@ -946,14 +946,42 @@ if (!odbc_execute ($stmt, &$sqldata)) { Possibles values of type are: - "boolean" - "integer" - "double" (this is for historical reasons only, - "double" will be returned when the type is - float. - "string" - "array" - "object" + + + "boolean" (or, since PHP 4.0.8, "bool") + + + + + "integer" (or, since PHP 4.0.8, "int") + + + + + "float" (only possible since PHP 4.0.8, for older versions user the + deprecated variant "double") + + + + + "string" + + + + + "array" + + + + + "object" + + + + + "null" (since PHP 4.0.8) + +