Re: Changing ip2long() return value to string
| From: | Zeev Suraski | Date: | Wed, 21 Mar 2001 07:50:52 +0000 |
| Subject: | Re: Changing ip2long() return value to string | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-49593@lists.php.net to get a copy of this message | ||
Should be safe...
At 02:23 21/3/2001, Sean R. Bright wrote:
IP addrs are unsigned longs and zvals only handle signed longs, so the only way to avoid <0 values is to convert to a string before returning. Anyone have issue with this? Sean -- =================================================================== Sean Bright elixer@erols.com / sean@seanbright.com / http://www.seanbright.com/ =================================================================== -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/