substr_count() returns the number of times the needle substring occurs in the haystack string. Please note that needle is ...
php.net