I have array list like:
$arrval[0] = "fulanah bin fulan";
$arrval[1] = "joko bin dodo";
$arrval[3] = "mabhok bin jahannam";
Then, i want to use
in_array()
Or something like that, for search an array with some words, for example using only word "joko". So if found in array list it will return true.
Do i have to use regex?, if so, how is its pattern and usage in function in_array () ?, thanks.