zend_atoi() compatibilty
| From: | Curt Zirzow | Date: | Tue, 27 Jul 2004 03:02:24 +0000 |
| Subject: | zend_atoi() compatibilty | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-11580@lists.php.net to get a copy of this message | ||
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!