cvs: phpdoc-fr /language types.xml

From: Date: Thu, 02 Dec 2004 13:39:12 +0000
Subject: cvs: phpdoc-fr /language types.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3700@lists.php.net to get a copy of this message
yannick Thu Dec 2 08:39:12 2004 EDT Modified files: /phpdoc-fr/language types.xml Log: fix bug #30960 http://cvs.php.net/diff.php/phpdoc-fr/language/types.xml?r1=1.64&r2=1.65&ty=u Index: phpdoc-fr/language/types.xml diff -u phpdoc-fr/language/types.xml:1.64 phpdoc-fr/language/types.xml:1.65 --- phpdoc-fr/language/types.xml:1.64 Tue Nov 16 16:39:33 2004 +++ phpdoc-fr/language/types.xml Thu Dec 2 08:39:12 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.64 $ --> +<!-- $Revision: 1.65 $ --> <!-- EN-Revision: 1.144 Maintainer: dams Status: ready --> <chapter id="language.types"> <title>Les types</title> @@ -1250,14 +1250,14 @@ <programlisting role="php"> <![CDATA[ <?php -$foo = 1 + "10.5"; // $foo est du type float (11.5) -$foo = 1 + "-1.3e3"; // $foo est du type float (-1299) -$foo = 1 + "bob-1.3e3"; // $foo est du type integer (1) -$foo = 1 + "bob3"; // $foo est du type integer (1) -$foo = 1 + "10 petits cochons"; // $foo est du type integer (11) -$foo = 4 + "10.2 gros cochons"; // $foo est du type integer (14.2) -$foo = "10.0 cochons " + 1; // $foo est du type integer (11) -$foo = "10.0 cochons " + 1.0; // $foo est du type float (11) +$foo = 1 + "10.5"; // $foo est du type float (11.5) +$foo = 1 + "-1.3e3"; // $foo est du type float (-1299) +$foo = 1 + "bob-1.3e3"; // $foo est du type integer (1) +$foo = 1 + "bob3"; // $foo est du type integer (1) +$foo = 1 + "10 petits cochons"; // $foo est du type integer (11) +$foo = 4 + "10.2 gros cochons"; // $foo est du type float (14.2) +$foo = "10.0 cochons " + 1; // $foo est du type float (11) +$foo = "10.0 cochons " + 1.0; // $foo est du type float (11) ?> ]]> </programlisting>

« previous php.doc.fr (#3700) next »