Changing ip2long() return value to string
| From: | Sean R. Bright | Date: | Wed, 21 Mar 2001 00:23:25 +0000 |
| Subject: | Changing ip2long() return value to string | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49567@lists.php.net to get a copy of this message | ||
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/
===================================================================