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 Quote 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. Quote 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.. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.