The Toronto Raptors snapped a four-game losing streak with a 106-103 victory over the Philadelphia 76ers on Tuesday night.