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

From: Date: Thu, 15 May 2008 07:44:15 +0000
Subject: cvs: phpdoc-ro /reference/var/functions is-numeric.xml
Groups: php.doc.ro 
Request: Send a blank email to doc-ro+get-434@lists.php.net to get a copy of this message
simionea Thu May 15 07:44:15 2008 UTC Modified files: /phpdoc-ro/reference/var/functions is-numeric.xml Log: Updated the file. http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/var/functions/is-numeric.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ro/reference/var/functions/is-numeric.xml diff -u phpdoc-ro/reference/var/functions/is-numeric.xml:1.3 phpdoc-ro/reference/var/functions/is-numeric.xml:1.4 --- phpdoc-ro/reference/var/functions/is-numeric.xml:1.3 Tue Sep 18 14:05:18 2007 +++ phpdoc-ro/reference/var/functions/is-numeric.xml Thu May 15 07:44:15 2008 @@ -1,35 +1,67 @@ -<?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.0 Maintainer: adiju Status: outdated --> -<!-- splitted from ./ro/functions/var.xml, last change in rev 1.1 --> -<!-- last change to 'is-numeric' in en/ tree in rev 1.14 --> - <refentry xml:id="function.is-numeric" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>is_numeric</refname> - <refpurpose> - Decide dacã o variabilã este numericã sau un ºir de caractere numeric - </refpurpose> - </refnamediv> - <refsect1> - <title>Descriere</title> - <methodsynopsis> - <type>bool</type><methodname>is_numeric</methodname> - <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - </methodsynopsis> - <para> - Returneazã &true; dacã <parameter>var</parameter> este numericã - sau un ºir de caractere numeric, &false; în caz contrar. - </para> - <para> - Mai consultaþi <function>is_bool</function>, - <function>is_float</function>, - <function>is_int</function>, - <function>is_string</function>, - <function>is_object</function>, - <function>is_array</function>, ºi - <function>is_integer</function>. - </para> - </refsect1> - </refentry> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: simionea Status: translated --> +<!-- CREDITS: adiju --> +<refentry xml:id="function.is-numeric" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>is_numeric</refname> + <refpurpose> + Determină dacă o variabilă este un număr sau un string numeric + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>is_numeric</methodname> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + </methodsynopsis> + <para> + Determină dacă variabila dată este numerică. String-urile numerice constau + din semnul opÅ£ional, orice număr de cifre, partea decimală opÅ£ională şi + partea exponenÅ£ială opÅ£ională. Astfel <literal>+0123.45e6</literal> este + o valoare numerică validă. Notarea hexadecimală (<literal>0xFF</literal>) + este de asemenea permisă, dar numai fără semn, parte decimală şi parte + exponenÅ£ială. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>var</parameter></term> + <listitem> + <para> + Variabila ce este evaluată. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Întoarce &true; dacă <parameter>var</parameter> este un număr sau un string + numeric, &false; în caz contrar. + </para> + </refsect1> + <refsect1 role="seealso"> + &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> + <member><function>is_int</function></member> + <member><function>is_string</function></member> + <member><function>is_object</function></member> + <member><function>is_array</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc.ro (#434) next »