zend_atoi() compatibilty

php.internals

Curt Zirzow

22 years ago
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, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!

Andi Gutmans

22 years ago
Yep it's intended. At 03:02 AM 7/27/2004 +0000, Curt Zirzow wrote: