derick Fri May 24 14:49:34 2002 EDT Modified files: /phpdoc/en/language types.xml Log: - Correct conversion example (fixes bug #17388) Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.79 phpdoc/en/language/types.xml:1.80 --- phpdoc/en/language/types.xml:1.79 Wed May 8 16:27:05 2002 +++ phpdoc/en/language/types.xml Fri May 24 14:49:33 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.79 $ --> +<!-- $Revision: 1.80 $ --> <chapter id="language.types"> <title>Types</title> @@ -1004,10 +1004,6 @@ exponent. The exponent is an 'e' or 'E' followed by one or more digits. </para> - <simpara> - When the first expression is a string, the type of the variable - will depend on the second expression. - </simpara> <informalexample> <programlisting role="php"> <![CDATA[ @@ -1017,7 +1013,7 @@ $foo = 1 + "bob3"; // $foo is integer (1) $foo = 1 + "10 Small Pigs"; // $foo is integer (11) $foo = 1 + "10 Little Piggies"; // $foo is integer (11) -$foo = "10.0 pigs " + 1; // $foo is integer (11) +$foo = "10.0 pigs " + 1; // $foo is float (11) $foo = "10.0 pigs " + 1.0; // $foo is float (11) ]]> </programlisting>
- [PHP-DOC] cvs: phpdoc /en/language types.xml Zak Greant
- [PHP-DOC] cvs: phpdoc /en/language types.xml jim winstead
- [PHP-DOC] cvs: phpdoc /en/language types.xml Jan Lehnardt
- [PHP-DOC] cvs: phpdoc /en/language types.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/language types.xml Mark Kronsbein
- [PHP-DOC] cvs: phpdoc /en/language types.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/language types.xml Tal Peer
- [PHP-DOC] cvs: phpdoc /en/language types.xml Derick Rethans
- [PHP-DOC] cvs: phpdoc /en/language types.xml Derick Rethans
- [PHP-DOC] cvs: phpdoc /en/language types.xml Sander Roobol
- [PHP-DOC] cvs: phpdoc /en/language types.xml Derick Rethans
- [PHP-DOC] cvs: phpdoc /en/language types.xml Derick Rethans
- [PHP-DOC] cvs: phpdoc /en/language types.xml Friedhelm Betz
- [PHP-DOC] cvs: phpdoc /en/language types.xml Markus Fischer
- [PHP-DOC] cvs: phpdoc /en/language types.xml James Cox
- [PHP-DOC] cvs: phpdoc /en/language types.xml Dallas Thunder
- [PHP-DOC] cvs: phpdoc /en/language types.xml Per Gustafsson
- [PHP-DOC] cvs: phpdoc /en/language types.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/language types.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/language types.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/language types.xml Gabor Hojtsy