> -----Original Message-----
> CODE:
> <?
> print ctype_digit( 1094164380 );
> ?>
> END OF CODE
> 
> When I run the above code, my apache server performs an illegal operation
> and shuts down. It will keep doing this every 20 seconds or so until you
> restart/stop the server manually. Does anyone else have this problem? 

It crashed Apache on my computer as well.

The manual says that function expects you to give it a string and it will
tell you if all of the digits in the string are decimals.  The function
probably needs better error checking on incoming parameters, but you could
probably create a wrapper with gettype to handle that in the meanwhile.

-Ed

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to