This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @function array_contains | |
* A simple php function that returns an array value contains a given string. | |
* | |
* @param array $array | |
* @param string $findme | |
* | |
* @return empty array if none is found | array with original key => value preserved | |
*/ |