PHP » GoLang |
login |
register |
about
|
substr_count(PHP 4, PHP 5, PHP 7) substr_count — Count the number of substring occurrences Description
int substr_count
( string
$haystack
, string $needle
[, int $offset = 0
[, int $length
]] )
substr_count() returns the number of times the
Parameters
Return ValuesThis function returns an integer. Changelog
Examples
Example #1 A substr_count() example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|