Police say the 41-year-old victim was attacked at about 11:35 on Thursday night at the Dunkin' Donuts along the 6300 block of Callowhill Street.
The victim had unstable vital signs when he arrived at the Hospital of the University of Pennsylvania.
So far, investigators have not indicated if they have a motive for the crime, or if they have any suspects in mind.