Bug #17387 Updated: String conversion examples poor
| From: | derick@php.net | Date: | Fri, 24 May 2002 18:50:32 +0000 |
| Subject: | Bug #17387 Updated: String conversion examples poor | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-8420@lists.php.net to get a copy of this message | ||
ID: 17387
Updated by: derick@php.net
Reported By: jasonh@trurocollege.ac.uk
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: 4.2.0
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-05-23 09:51:02] jasonh@trurocollege.ac.uk
http://uk.php.net/manual/en/language.types.type-juggling.php
Contains these examples:
$foo = 5 + "10 Little Piggies"; // $foo is integer (15)
$foo = 5 + "10 Small Pigs"; // $foo is integer (15)
What's the point in two practically identical examples next to each
other? How about making the second one:
$foo = 5 + "10.2 Small Pigs"; // $foo is float (15.2)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17387&edit=1