/ Published in: PHP

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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php function strstr_array( $haystack, $needle ) { return false; } foreach ( $haystack as $element ) { return $element; } } } function stristr_array( $haystack, $needle ) { return false; } foreach ( $haystack as $element ) { return $element; } } } ?>
Comments
