```is_numeric``` accepts sign, exponent and different bases.
If empty string is not expected this could be replaced by just ```ctype_digit( $value )```.