cvs: phpdoc /en/language types.xml
| From: | Derick Rethans | Date: | Fri, 24 May 2002 18:49:34 +0000 |
| Subject: | cvs: phpdoc /en/language types.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969345817@lists.php.net to get a copy of this message | ||
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>