Attempted cop killer charged in Philadelphia