From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4 PHP Bug Type: *Programming Data Structures Bug description: settype(.., "double") not work as expected(or documented) $tmp = "1111111t11t"; settype($tmp, "double"); echo $tmp; returns '1111111' imho it should be 0 ?? (alike settype(... "integer")) using with 'double' the string is cuttet at the fist non-number-character -- Edit Bug report at: http://bugs.php.net/?id=10633&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]