[EMAIL PROTECTED]
> Subject: [PHP-DEV] Octal numbers and automatic conversions
>
>
> This snippet shows what I consider a problem: The automatic conversion
> string->integer doesnt interprets '070' as an octal, giving
> 57 in the first
> echo (correct) and 71 in
This snippet shows what I consider a problem: The automatic conversion
string->integer doesnt interprets '070' as an octal, giving 57 in the first
echo (correct) and 71 in the second (wrong).
\n";
echo ('070'+1). "\n";
?>
Sergio Bruder
--
( http://distro.conectiva.com.br
)) (tm)