The count_chars() is an inbuilt function in PHP and is used to perform several operations related to string like the number of an ASCII character occurs in a string.
Example
<?php
$str = "Hello World!";
echo count_chars($str,3);
?>
Output
!HWdelor