Php Array Map Example In Python For All Selected Lines