Php Find Index In Array Python Example