PHP Program to count the vowels, digits, and spaces in a string

In this tutorial, we will learn the program to count the vowels, digits, and spaces in a string.

Simple PHP Program to count the vowels, digits, and spaces in a string

Output

112233334555566666Number of vowels : 6
Number of digits :3
Number of spaces :3

Simple PHP Program to count the vowels, digits, and spaces in a string using while loop

Output

PHP Program to count the vowels, digits, and spaces in a string using while loop
PHP Program to count the vowels, digits, and spaces in a string using while loop

PHP Program to count the vowels, digits, and spaces in a string with the form

Topic Covered

PHP Program to count the vowels, digits, and spaces in a string.

Add a Comment