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).

echo (070  +1). "<BR>\n";
echo ('070'+1). "<BR>\n";

Sergio Bruder

 )) (tm)
pub  1024D/0C7D9F49 2000-05-26 Sergio Devojno Bruder <[EMAIL PROTECTED]>
     Key fingerprint = 983F DBDF FB53 FE55 87DF  71CA 6B01 5E44 0C7D 9F49
sub  1024g/138DF93D 2000-05-26

PHP Development Mailing List <>
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