Php Find String In Array Python Methods That Only Takes