Bug #17387: String conversion examples poor

From: Date: Thu, 23 May 2002 13:51:03 +0000
Subject: Bug #17387: String conversion examples poor
Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-8332@lists.php.net to get a copy of this message
From: jasonh@trurocollege.ac.uk Operating system: PHP version: 4.2.0 PHP Bug Type: Documentation problem Bug description: String conversion examples poor 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 bug report at http://bugs.php.net/?id=17387&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17387&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17387&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17387&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17387&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17387&r=support Expected behavior: http://bugs.php.net/fix.php?id=17387&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17387&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17387&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17387&r=globals

« previous php.bugs (#8332) next »