Php Search Value In Array Python Question