Tuck Posted October 9, 2009 Share Posted October 9, 2009 subject: Possible to check integer based string if integer equal to 32 bit - the question Link to comment https://forums.phpfreaks.com/topic/177110-possible-to-check-integer-based-string-if-integer-equal-to-32-bit/ Share on other sites More sharing options...
lemmin Posted October 9, 2009 Share Posted October 9, 2009 Check integer for what? Yes, is_numeric("4294967295") works. Link to comment https://forums.phpfreaks.com/topic/177110-possible-to-check-integer-based-string-if-integer-equal-to-32-bit/#findComment-933850 Share on other sites More sharing options...
Tuck Posted October 9, 2009 Author Share Posted October 9, 2009 Check integer for what? Yes, is_numeric("4294967295") works. that would also return true if it was a 16 bit integer though.. Link to comment https://forums.phpfreaks.com/topic/177110-possible-to-check-integer-based-string-if-integer-equal-to-32-bit/#findComment-933851 Share on other sites More sharing options...
Daniel0 Posted October 9, 2009 Share Posted October 9, 2009 Integers in PHP are always 32-bit. Link to comment https://forums.phpfreaks.com/topic/177110-possible-to-check-integer-based-string-if-integer-equal-to-32-bit/#findComment-933856 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.