<?php var_dump( ctype_digit('083322'), // -> valid ctype_digit('55403.22'), // -> invalid ctype_digit('1212133'), // -> valid ctype_digit('61,23311'), // -> invalid ctype_digit('890022'), // -> valid ctype_digit('09e22') // -> invalid );
You have javascript disabled. You will not be able to edit any code.