RE: [PHP] An integer?

From: Date: Mon, 21 Aug 2000 21:40:25 +0000
Subject: RE: [PHP] An integer?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12819@lists.php.net to get a copy of this message
Boaz Yahav writes: > so what is the final solution on this? > > Sincerely > > berber > > Visit http://www.weberdev.com Today!!! > To see where PHP might take you tomorrow. Posted it yesterday on this thread, but here it is again: function is_int_str($str) { return ((string)(int)$str) == $str; } -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.general (#12819) next »