From e49b45eca892e2ded0ed31ceb17506d278100af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Goupil?= Date: Tue, 7 Jun 2005 23:54:50 +0000 Subject: [PATCH] fix whitespaces + add role attribute to description section git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187902 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/var/functions/is-scalar.xml | 171 +++++++++++++------------- 1 file changed, 88 insertions(+), 83 deletions(-) diff --git a/reference/var/functions/is-scalar.xml b/reference/var/functions/is-scalar.xml index fef3ac5635..7ae46cc471 100644 --- a/reference/var/functions/is-scalar.xml +++ b/reference/var/functions/is-scalar.xml @@ -1,65 +1,69 @@ - + - - - is_scalar - - Finds whether a variable is a scalar - - - - Description - - boolis_scalar - mixedvar - - - Finds whether the given variable is a scalar. - - - Scalar variables are those containing an integer, - float, string or boolean. - Types array, object and resource - are not scalar. - - - - is_scalar does not consider resource - 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. - - - - - &reftitle.parameters; - - - - var - - - The variable being evaluated. - - - - - - - - &reftitle.returnvalues; - - Returns &true; if var is a scalar &false; - otherwise. - - - - &reftitle.examples; - - - <function>is_scalar</function> example - + + + is_scalar + + Finds whether a variable is a scalar + + + + + &reftitle.description; + + boolis_scalar + mixedvar + + + Finds whether the given variable is a scalar. + + + Scalar variables are those containing an integer, + float, string or boolean. + Types array, object and resource + are not scalar. + + + + is_scalar does not consider resource + 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. + + + + + + &reftitle.parameters; + + + + var + + + The variable being evaluated. + + + + + + + + + &reftitle.returnvalues; + + Returns &true; if var is a scalar &false; + otherwise. + + + + + &reftitle.examples; + + + <function>is_scalar</function> example + ]]> - - &example.outputs; - + + &example.outputs; + - - - - - - &reftitle.seealso; - - - is_float - is_int - is_numeric - is_real - is_string - is_bool - is_object - is_array - - - - + + + + + + + &reftitle.seealso; + + + is_float + is_int + is_numeric + is_real + is_string + is_bool + is_object + is_array + + + +