cvs: phpdoc /en/reference/var/functions is-numeric.xml

From: Date: Tue, 20 Sep 2005 12:31:44 +0000
Subject: cvs: phpdoc /en/reference/var/functions is-numeric.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370228@lists.php.net to get a copy of this message
vrana Tue Sep 20 08:31:44 2005 EDT Modified files: /phpdoc/en/reference/var/functions is-numeric.xml Log: Numeric strings (bug #32943) See also ctype_digit http://cvs.php.net/diff.php/phpdoc/en/reference/var/functions/is-numeric.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/var/functions/is-numeric.xml diff -u phpdoc/en/reference/var/functions/is-numeric.xml:1.4 phpdoc/en/reference/var/functions/is-numeric.xml:1.5 --- phpdoc/en/reference/var/functions/is-numeric.xml:1.4 Thu Jan 13 21:29:17 2005 +++ phpdoc/en/reference/var/functions/is-numeric.xml Tue Sep 20 08:31:42 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.is-numeric"> <refnamediv> <refname>is_numeric</refname> @@ -14,7 +14,11 @@ <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <para> - Finds whether the given variable is numeric. + Finds whether the given variable is numeric. Numeric strings consist of + optional sign, any number of digits, optional decimal part and optional + exponential part. Thus <literal>+0123.45e6</literal> is a valid numeric + value. Hexadecimal notation (<literal>0xFF</literal>) is allowed too but + only without sign, decimal and exponential part. </para> </refsect1> <refsect1 role="parameters"> @@ -43,6 +47,7 @@ &reftitle.seealso; <para> <simplelist> + <member><function>ctype_digit</function></member> <member><function>is_bool</function></member> <member><function>is_null</function></member> <member><function>is_float</function></member>

« previous php.doc (#969370228) next »