Contact: aviboots(AT)netvision.net.il
40,764 questions
53,140 answers
573 users
$s = "PHP 9"; if (ctype_digit($s[1])) echo "digit" . "\n"; else echo "not digit" . "\n"; if (ctype_digit($s[4])) echo "digit" . "\n"; else echo "not digit" . "\n"; /* run: not digit digit */