Do you know of a function that can check if a string contains an integer?
Here\'s how I\'d expect it to work:
holds_int(\"23\") // should return true
comparison.php:
Test run:
$ php comparison.php qwe: false 23: true -23: true 23.0: false -23.0: false