Re: [PHP-DEV] zend_atoi() compatibilty

2004-07-27 Thread Andi Gutmans
Yep it's intended. At 03:02 AM 7/27/2004 +, Curt Zirzow wrote: In light of bug#29306 (http://php.net/29306), I looked at zend_atoi and found that it uses strtol which treats numbers prefixed with 0 as octal, according to my docs on BSD. Can i get a confirmation that this is standard strtol beh

[PHP-DEV] zend_atoi() compatibilty

2004-07-26 Thread Curt Zirzow
In light of bug#29306 (http://php.net/29306), I looked at zend_atoi and found that it uses strtol which treats numbers prefixed with 0 as octal, according to my docs on BSD. Can i get a confirmation that this is standard strtol behaviour, so I can document it as such? Thanks! Curt -- First, l