ID: 10633
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Old-Bug Type: *Programming Data Structures
Bug Type: Documentation problem
Operating system: 
PHP Version: 4.0.4
Assigned To: 
Comments:

Correct behaviour. Documentation could be better indeed. I'm working on it.

http://www.php.net/manual/en/language.types.string.php#language.types.string.conversion

Previous Comments:
---------------------------------------------------------------------------

[2001-05-03 10:13:01] [EMAIL PROTECTED]
$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 



---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10633&edit=2


-- 
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]

Reply via email to