function StringCount($searchstring, $findstring)
{
return (strpos($searchstring, $findstring) === false ? 0 : count(split($findstring, $searchstring)) - 1);
}
it returns number of ocourances of substring in string, but why not just use count?
What means === false ? 0 :
i mean how this called its not if or case is there way to call this type of writing?