strpbrk

strpbrk

(PHP 5, PHP 7)

strpbrkSearch a string for any of a set of characters

Description

string strpbrk ( string $haystack , string $char_list )

strpbrk() searches the haystack string for a char_list.

Parameters

haystack

The string where char_list is looked for.

char_lis