No, stripos() does not accept any wildcards, it expects a literal string to use for matching.
Are there any wildcard characters for usage with stripos?
Frage
As the heading suggests, are there any wildcard characters(like % or * in c++) for usage with stripos()? I was planning to use preg_match but it says on "The preg_match Manual" that I should use strpos() or strstr() if I need to search for a string within a string as it is faster.
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow