Check if a string is all numbers and 10 chars long
<p>Just looking for a quick way using PHP to check if a string is all numbers and 10 numbers long.</p>

<p>eg: </p>

<p>4343434345 - this would be accepted (10 chars all digits)</p>

<p>343434344 - this wouldn't (9 chars)</p>

<p>sdfefsefsdf - this wouldn't.</p>

<p>thanks</p>
