cvs: phpdoc-fr /reference/var reference.xml /reference/var/functions debug-zval-dump.xml doubleval.xml floatval.xml get-defined-vars.xml gettype.xml
is-bool.xml is-double.xml is-integer.xml is-long.xml is-null.xml is-numeric.xml is-real.xml is-string.xml

From: Date: Sat, 22 Jan 2005 12:04:02 +0000
Subject: cvs: phpdoc-fr /reference/var reference.xml /reference/var/functions debug-zval-dump.xml doubleval.xml floatval.xml get-defined-vars.xml gettype.xml
is-bool.xml is-double.xml is-integer.xml is-long.xml is-null.xml is-numeric.xml is-real.xml is-string.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3843@lists.php.net to get a copy of this message
yannick Sat Jan 22 07:04:02 2005 EDT Modified files: /phpdoc-fr/reference/var/functions debug-zval-dump.xml doubleval.xml floatval.xml get-defined-vars.xml gettype.xml is-bool.xml is-double.xml is-integer.xml is-long.xml is-null.xml is-numeric.xml is-real.xml is-string.xml /phpdoc-fr/reference/var reference.xml Log: sync with EN

http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/debug-zval-dump.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-fr/reference/var/functions/debug-zval-dump.xml diff -u phpdoc-fr/reference/var/functions/debug-zval-dump.xml:1.1 phpdoc-fr/reference/var/functions/debug-zval-dump.xml:1.2 --- phpdoc-fr/reference/var/functions/debug-zval-dump.xml:1.1 Sun Sep 5 16:18:11 2004 +++ phpdoc-fr/reference/var/functions/debug-zval-dump.xml Sat Jan 22 07:03:58 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="function.debug-zval-dump"> <refnamediv> <refname>debug_zval_dump</refname> @@ -10,7 +10,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>void</type><methodname>debug_zval_dump</methodname> + <void/><methodname>debug_zval_dump</methodname> <methodparam><type>mixed</type><parameter>variable</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/doubleval.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/var/functions/doubleval.xml diff -u phpdoc-fr/reference/var/functions/doubleval.xml:1.8 phpdoc-fr/reference/var/functions/doubleval.xml:1.9 --- phpdoc-fr/reference/var/functions/doubleval.xml:1.8 Tue Nov 16 17:06:52 2004 +++ phpdoc-fr/reference/var/functions/doubleval.xml Sat Jan 22 07:03:59 2005 @@ -1,27 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> - <refentry id="function.doubleval"> - <refnamediv> - <refname>doubleval</refname> - <refpurpose>Alias de <function>floatval</function></refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para> - <function>doubleval</function> &isalias; <function>floatval</function>. - </para> - <note> - <para> - Cet &alias; est un reste de la vague de renommage de fonctions. - Dans les anciennes versions de &php;, vous aurez besoin d'utiliser - cette fonction, qui &isalias; <function>floatval</function>, - car <function>floatval</function> n'était pas disponible à - cette époque. - </para> - </note> - </refsect1> - </refentry> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<refentry id="function.doubleval"> + <refnamediv> + <refname>doubleval</refname> + <refpurpose>Alias de <function>floatval</function></refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <para> + <function>doubleval</function> &isalias; <function>floatval</function>. + </para> + <note> + <para> + Cet &alias; est un reste de la vague de renommage de fonctions. + Dans les anciennes versions de &php;, vous aurez besoin d'utiliser + cette fonction, qui &isalias; <function>floatval</function>, + car <function>floatval</function> n'était pas disponible à + cette époque. + </para> + </note> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/floatval.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/var/functions/floatval.xml diff -u phpdoc-fr/reference/var/functions/floatval.xml:1.5 phpdoc-fr/reference/var/functions/floatval.xml:1.6 --- phpdoc-fr/reference/var/functions/floatval.xml:1.5 Tue Nov 16 17:06:52 2004 +++ phpdoc-fr/reference/var/functions/floatval.xml Sat Jan 22 07:03:59 2005 @@ -1,50 +1,75 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> - <refentry id="function.floatval"> - <refnamediv> - <refname>floatval</refname> - <refpurpose>Convertit une chaîne en nombre à virgule flottante</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>float</type><methodname>floatval</methodname> - <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>floatval</function> retourne la valeur de type <type>float</type> - (nombre à virgule flottante), extraite à partir du - paramètre <parameter>var</parameter>. - </simpara> - <para> - <parameter>var</parameter> peut être n'importe quel type - scalaire. Vous ne pouvez pas utiliser <function>floatval</function> - sur un tableau ou un objet. - </para> - <para> - <example> - <title>Exemple avec <function>floatval</function></title> - <programlisting role="php"> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<refentry id="function.floatval"> + <refnamediv> + <refname>floatval</refname> + <refpurpose>Convertit une chaîne en nombre à virgule flottante</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>floatval</methodname> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + </methodsynopsis> + <para> + <function>floatval</function> retourne la valeur de type <type>float</type> + (nombre à virgule flottante), extraite à partir du + paramètre <parameter>var</parameter>. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>var</parameter></term> + <listitem> + <para> + Peut être de n'importe quel type scalaire. Vous ne pouvez pas + utiliser <function>floatval</function> sur les objets, ni sur les tableaux. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + La valeur flottante de la variable donnée. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>floatval</function></title> + <programlisting role="php"> <![CDATA[ <?php -$var = '122.34343Le'; -$float_value_of_var = floatval ($var); -echo $float_value_of_var; // Affiche 122.34343 +$var = '122.34343The'; +$float_value_of_var = floatval($var); +echo $float_value_of_var; // 122.34343 ?> ]]> - </programlisting> - </example> - </para> - <simpara> - Voir aussi - <function>intval</function>, - <function>strval</function>, - <function>settype</function> et - <link linkend="language.types.type-juggling">Transtypage</link>. - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>intval</function></member> + <member><function>strval</function></member> + <member><function>settype</function></member> + <member><link linkend="language.types.type-juggling">Type juggling</link></member> + </simplelist> + </para> + </refsect1> +</refentry> + <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/get-defined-vars.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/var/functions/get-defined-vars.xml diff -u phpdoc-fr/reference/var/functions/get-defined-vars.xml:1.11 phpdoc-fr/reference/var/functions/get-defined-vars.xml:1.12 --- phpdoc-fr/reference/var/functions/get-defined-vars.xml:1.11 Tue Nov 16 17:06:52 2004 +++ phpdoc-fr/reference/var/functions/get-defined-vars.xml Sat Jan 22 07:03:59 2005 @@ -1,64 +1,100 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> - <refentry id="function.get-defined-vars"> - <refnamediv> - <refname>get_defined_vars</refname> - <refpurpose>Liste toutes les variables définies</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>get_defined_vars</methodname> - <void/> - </methodsynopsis> - <para> - <function>get_defined_vars</function> retourne un tableau multidimensionnel - contenant la liste de toutes les variables définies, qu'elles soient - des variables d'environnements, de serveurs ou définies par l'utilisateur dans - la portée d'appel de la fonction <function>get_defined_vars</function>. - Depuis &php; 5, la variable <literal>$GLOBALS</literal> est incluse dans le - résultat du tableau retourné. - </para> - <para> - <example> - <title>Exemple avec <function>get_defined_vars</function></title> - <programlisting role="php"> - <![CDATA[ +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<refentry id="function.get-defined-vars"> + <refnamediv> + <refname>get_defined_vars</refname> + <refpurpose> + Liste toutes les variables définies + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>get_defined_vars</methodname> + <void/> + </methodsynopsis> + <para> + <function>get_defined_vars</function> retourne un tableau multidimensionnel + contenant la liste de toutes les variables définies, qu'elles soient + des variables d'environnements, de serveurs ou définies par l'utilisateur dans + la portée d'appel de la fonction <function>get_defined_vars</function>. + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Un tableau multidimensionnel contenant toutes les variables. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>get_defined_vars</function></title> + <programlisting role="php"> +<![CDATA[ <?php $b = array(1, 1, 2, 3, 5, 8); $arr = get_defined_vars(); -// affiche $b - print_r($arr["b"]); +// Affiche $b +print_r($arr["b"]); -// affiche le chemin jusqu'à l'interpréteur -// CGI PHP (si PHP est utilisé en CGI) -// i.e. /usr/local/bin/php +/* Affiche le chemin vers l'interpréteur PHP (Si utilisé en tant que CGI) + * e.g. /usr/local/bin/php */ echo $arr["_"]; -// affiche la ligne de commande, s'il y en a une +// Affiche les paramètres de la ligne de commande s'il y en a print_r($arr["argv"]); -// affiche toutes les variables serveurs +// Affiche toutes les variables serveur print_r($arr["_SERVER"]); -// affiche toutes les clés disponibles dans les tableaux de variables +// Affiche toutes les clés disponibles du tableau de variables print_r(array_keys(get_defined_vars())); ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>isset</function>, - <function>get_defined_functions</function> et - <function>get_defined_constants</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5</entry> + <entry> + La variable <varname>$GLOBALS</varname> est incluse dans le + tableau retourné. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>isset</function></member> + <member><function>get_defined_functions</function></member> + <member><function>get_defined_constants</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/gettype.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/var/functions/gettype.xml diff -u phpdoc-fr/reference/var/functions/gettype.xml:1.11 phpdoc-fr/reference/var/functions/gettype.xml:1.12 --- phpdoc-fr/reference/var/functions/gettype.xml:1.11 Tue Nov 16 17:06:52 2004 +++ phpdoc-fr/reference/var/functions/gettype.xml Sat Jan 22 07:03:59 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <refentry id="function.gettype"> <refnamediv> <refname>gettype</refname> @@ -61,7 +61,7 @@ <simpara>"<literal>user function</literal>" (&php; 3 uniquement, abandonné)</simpara> </listitem> <listitem> - <simpara>"<literal>unknown type</literal>"<!-- someone's joking? --></simpara> + <simpara>"<literal>unknown type</literal>"</simpara> </listitem> </itemizedlist> </para> http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/is-bool.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/var/functions/is-bool.xml diff -u phpdoc-fr/reference/var/functions/is-bool.xml:1.8 phpdoc-fr/reference/var/functions/is-bool.xml:1.9 --- phpdoc-fr/reference/var/functions/is-bool.xml:1.8 Tue Nov 16 17:06:53 2004 +++ phpdoc-fr/reference/var/functions/is-bool.xml Sat Jan 22 07:03:59 2005 @@ -1,56 +1,84 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> - <refentry id="function.is-bool"> - <refnamediv> - <refname>is_bool</refname> - <refpurpose> - Détermine si une variable est un booléen - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>is_bool</methodname> - <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - </methodsynopsis> - <para> - <function>is_bool</function> retourne &true; si <parameter>var</parameter> - est un <type>boolean</type>. - </para> - <para> - <example> - <title>Exemple avec <function>is_bool</function></title> - <programlisting role="php"> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<refentry id="function.is-bool"> + <refnamediv> + <refname>is_bool</refname> + <refpurpose> + Détermine si une variable est un booléen + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>is_bool</methodname> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + </methodsynopsis> + <para> + <function>is_bool</function> détermine si la variable donnée est un booléen. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>var</parameter></term> + <listitem> + <para> + La variable à évaluer. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si <parameter>var</parameter> est un &boolean;, + &false; sinon. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>is_bool</function></title> + <programlisting role="php"> <![CDATA[ <?php $a = false; $b = 0; -// Comme $a est un booléen, ceci est vrai +// Si $a est un booléen, ceci sera vrai if (is_bool($a)) { - echo 'Oui, c\'est un booléen'; + echo "Oui, C'est un booléen."; } -// Comme $b n'est pas un booléen, ceci est faux +// Si $b n'est pas un booléen, ceci sera faux if (is_bool($b)) { - echo 'Oui, c\'est un booléen'; + echo "Oui, C'est un booléen."; } ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>is_array</function>, - <function>is_float</function>, - <function>is_int</function>, - <function>is_string</function> et - <function>is_object</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <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: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/is-double.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/var/functions/is-double.xml diff -u phpdoc-fr/reference/var/functions/is-double.xml:1.6 phpdoc-fr/reference/var/functions/is-double.xml:1.7 --- phpdoc-fr/reference/var/functions/is-double.xml:1.6 Tue Nov 16 17:06:53 2004 +++ phpdoc-fr/reference/var/functions/is-double.xml Sat Jan 22 07:03:59 2005 @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> - <refentry id="function.is-double"> - <refnamediv> - <refname>is_double</refname> - <refpurpose>Alias de <function>is_float</function></refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para> - <function>is_double</function> est un &alias; de - <function>is_float</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<refentry id="function.is-double"> + <refnamediv> + <refname>is_double</refname> + <refpurpose>Alias de <function>is_float</function></refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <para> + <function>is_double</function> &isalias;<function>is_float</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/is-integer.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/var/functions/is-integer.xml diff -u phpdoc-fr/reference/var/functions/is-integer.xml:1.7 phpdoc-fr/reference/var/functions/is-integer.xml:1.8 --- phpdoc-fr/reference/var/functions/is-integer.xml:1.7 Tue Nov 16 17:06:53 2004 +++ phpdoc-fr/reference/var/functions/is-integer.xml Sat Jan 22 07:03:59 2005 @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> - <refentry id="function.is-integer"> - <refnamediv> - <refname>is_integer</refname> - <refpurpose>Alias de <function>is_int</function></refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para> - <function>is_integer</function> est un &alias; de la fonction - <function>is_int</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<refentry id="function.is-integer"> + <refnamediv> + <refname>is_integer</refname> + <refpurpose>Alias de <function>is_int</function></refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <para> + <function>is_integer</function> &isalias;<function>is_int</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/is-long.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/var/functions/is-long.xml diff -u phpdoc-fr/reference/var/functions/is-long.xml:1.6 phpdoc-fr/reference/var/functions/is-long.xml:1.7 --- phpdoc-fr/reference/var/functions/is-long.xml:1.6 Tue Nov 16 17:06:53 2004 +++ phpdoc-fr/reference/var/functions/is-long.xml Sat Jan 22 07:03:59 2005 @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> - <refentry id="function.is-long"> - <refnamediv> - <refname>is_long</refname> - <refpurpose>Alias de <function>is_int</function></refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para> - <function>is_long</function> est un &alias; de - <function>is_int</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<refentry id="function.is-long"> + <refnamediv> + <refname>is_long</refname> + <refpurpose>Alias de <function>is_int</function></refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <para> + <function>is_long</function> &isalias;<function>is_int</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/is-null.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/var/functions/is-null.xml diff -u phpdoc-fr/reference/var/functions/is-null.xml:1.8 phpdoc-fr/reference/var/functions/is-null.xml:1.9 --- phpdoc-fr/reference/var/functions/is-null.xml:1.8 Tue Nov 16 17:06:53 2004 +++ phpdoc-fr/reference/var/functions/is-null.xml Sat Jan 22 07:03:59 2005 @@ -1,42 +1,61 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> - <refentry id="function.is-null"> - <refnamediv> - <refname>is_null</refname> - <refpurpose> - Indique si une variable vaut &null; - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>is_null</methodname> - <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - </methodsynopsis> - <para> - <function>is_null</function> retourne &true;, - si <parameter>var</parameter> est &null;, et &false; sinon. - </para> - <para> - Reportez-vous au type <link linkend="language.types.null.syntax">&null;</link> - pour savoir quand une variable est considérée comme contenant la - valeur &null; ou non. - </para> - <para> - Voir aussi - <link linkend="language.types.null.syntax">&null;</link>, - <function>is_bool</function>, - <function>is_numeric</function>, - <function>is_float</function>, - <function>is_int</function>, - <function>is_string</function>, - <function>is_object</function>, - <function>is_array</function> et - <function>is_real</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<refentry id="function.is-null"> + <refnamediv> + <refname>is_null</refname> + <refpurpose> + Indique si une variable vaut &null; + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>is_null</methodname> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + </methodsynopsis> + <para> + Indique si la variable donnée vaut &null;. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>var</parameter></term> + <listitem> + <para> + La variable à évaluer. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si <parameter>var</parameter> est &null;, &false; + sinon. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member>Le type <link linkend="language.types.null.syntax">&null;</link></member> + <member><function>is_bool</function></member> + <member><function>is_numeric</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: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/is-numeric.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/var/functions/is-numeric.xml diff -u phpdoc-fr/reference/var/functions/is-numeric.xml:1.8 phpdoc-fr/reference/var/functions/is-numeric.xml:1.9 --- phpdoc-fr/reference/var/functions/is-numeric.xml:1.8 Tue Nov 16 17:06:53 2004 +++ phpdoc-fr/reference/var/functions/is-numeric.xml Sat Jan 22 07:03:59 2005 @@ -1,35 +1,60 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> - <refentry id="function.is-numeric"> - <refnamediv> - <refname>is_numeric</refname> - <refpurpose> - Détermine si une variable est un type numérique - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>is_numeric</methodname> - <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - </methodsynopsis> - <para> - <function>is_numeric</function> retourne &true; si - <parameter>var</parameter> est un nombre, ou une chaîne - numérique, ou &false; sinon. - </para> - <para> - Voir aussi - <function>is_bool</function>, - <function>is_float</function>, - <function>is_int</function>, - <function>is_string</function>, - <function>is_object</function> et - <function>is_array</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<refentry id="function.is-numeric"> + <refnamediv> + <refname>is_numeric</refname> + <refpurpose> + Détermine si une variable est un type numérique + </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> + Détermine si la variable dopnnée est du type numérique. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>var</parameter></term> + <listitem> + <para> + La variable à évaluer. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si <parameter>var</parameter> est un nombre ou une + chaîne numérique, &false; sinon. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <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: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/is-real.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/var/functions/is-real.xml diff -u phpdoc-fr/reference/var/functions/is-real.xml:1.7 phpdoc-fr/reference/var/functions/is-real.xml:1.8 --- phpdoc-fr/reference/var/functions/is-real.xml:1.7 Tue Nov 16 17:06:53 2004 +++ phpdoc-fr/reference/var/functions/is-real.xml Sat Jan 22 07:03:59 2005 @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> - <refentry id="function.is-real"> - <refnamediv> - <refname>is_real</refname> - <refpurpose>Alias de <function>is_float</function></refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para> - <function>is_real</function> est un &alias; de la fonction - <function>is_double</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<refentry id="function.is-real"> + <refnamediv> + <refname>is_real</refname> + <refpurpose>Alias de <function>is_float</function></refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <para> + <function>is_real</function> &isalias;<function>is_float</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/functions/is-string.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/var/functions/is-string.xml diff -u phpdoc-fr/reference/var/functions/is-string.xml:1.9 phpdoc-fr/reference/var/functions/is-string.xml:1.10 --- phpdoc-fr/reference/var/functions/is-string.xml:1.9 Tue Nov 16 17:06:53 2004 +++ phpdoc-fr/reference/var/functions/is-string.xml Sat Jan 22 07:04:00 2005 @@ -1,33 +1,56 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> - <refentry id="function.is-string"> - <refnamediv> - <refname>is_string</refname> - <refpurpose>Détermine si une variable est de type chaîne</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>is_string</methodname> - <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - </methodsynopsis> - <para> - <function>is_string</function> renvoie &true; - si la variable <parameter>var</parameter> est du type chaîne - de caractères (&string;), &false; sinon. - </para> - <para> - Voir aussi - <function>is_bool</function>, - <function>is_int</function>, - <function>is_float</function>, - <function>is_real</function>, - <function>is_object</function> et - <function>is_array</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<refentry id="function.is-string"> + <refnamediv> + <refname>is_string</refname> + <refpurpose>Détermine si une variable est de type chaîne de caractères</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>is_string</methodname> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + </methodsynopsis> + <para> + Détermine si la variable donnée est de type chaîne de caractères. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>var</parameter></term> + <listitem> + <para> + La variable à évaluer. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si <parameter>var</parameter> est une &string;, + &false; sinon. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>is_float</function></member> + <member><function>is_int</function></member> + <member><function>is_bool</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: http://cvs.php.net/diff.php/phpdoc-fr/reference/var/reference.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/var/reference.xml diff -u phpdoc-fr/reference/var/reference.xml:1.8 phpdoc-fr/reference/var/reference.xml:1.9 --- phpdoc-fr/reference/var/reference.xml:1.8 Fri May 21 02:29:25 2004 +++ phpdoc-fr/reference/var/reference.xml Sat Jan 22 07:04:02 2005 @@ -1,10 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> - +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> <reference id="ref.var"> - <title>Fonctions de variables</title> - <titleabbrev>Variables</titleabbrev> + <title>Fonctions de gestion des variables</title> + <titleabbrev>Gestion des variables</titleabbrev> <partintro> <section id="var.intro">
« previous php.doc.fr (#3843) next »