How can one check in PHP if a string can be converted into a whole number?
<p>For instance, "000", "404", and "0523" can be converted into whole numbers in PHP, but "42sW" and "423 2343" cannot be converted into whole numbers.</p>
