Php Array Map Example In Python