strstr() and stristr() with Arrays

/ Published in: PHP
Save to your folder(s)

Searches an array $haystack for $needle. Returns the value of the element which contains the first result. Use strstr_array() for case-sensitive searches and stristr_array() for case-insensitive searches.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.