how to find a number of occurence of a character in a string
<p>I am searching for a function in PHP to return the number of occurence of a character in a string. </p>

<p>Inputing those parameters "hello world", 'o' would return 2</p>
