<?php $strValue = '-34'; if(ctype_digit((string) str_replace('-','',$strValue))){ echo 'true' ; } else { echo 'false'; }
You have javascript disabled. You will not be able to edit any code.