From 468daad7ae505f35e44c99c67cc37720d106c083 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 3 Jan 2002 18:42:29 +0000 Subject: [PATCH] is_scalar: Removed note, hid TODO comment, added some info. Regarding TODO, not sure about it, can't think of a better example atm. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66809 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/var.xml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/functions/var.xml b/functions/var.xml index ad2406c523..61f214753b 100644 --- a/functions/var.xml +++ b/functions/var.xml @@ -1,5 +1,5 @@ - + Variable Functions Variables @@ -745,20 +745,21 @@ import_request_variables("gP", "rvar_"); Scalar variables are those containing an integer, - float, string or boolean. - For example: + float, string or boolean. + Types array, object and resource + or not scalar. - + programmers. --> + is_scalar does not consider resource - type values to be scalar values. This behavior is intentional: - Resources are abstract datatypes which are currently based on - integers. This implementation detail should not be relied upon, - as it may change. - - - - - Since 4.0.5 + type values to be scalar as resources are abstract datatypes + which are currently based on integers. This implementation detail should + not be relied upon, as it may change.