RE: [PHP-DEV] Octal numbers and automatic conversions

2001-01-16 Thread Sam Liddicott
[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

[PHP-DEV] Octal numbers and automatic conversions

2001-01-16 Thread Sergio Bruder
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)