A woman and a man, both in their twenties, were killed in a shooting late Saturday in French Mediterranean city Marseille and three others hurt, prosecutors told AFP.

"The five people were in their car in the car park of a McDonald's when a vehicle pulled up alongside, killing the driver and the front passenger with bursts of fire from a Kalashnikov" assault rifle, the city's chief prosecutor Nicolas Bessone said Sunday.

Of the three wounded passengers in the rear -- two men and one woman -- two were seriously hurt, they added.

All three men in the car were known to police for involvement in the drug trade and violence in the region around the southern city of Toulon, Bessone said, while the women had no criminal record.

The shooting took place just before 11:00 pm (2200 GMT) in Marseille's 16th district, one of the poorest areas of France's second-largest city.

Police are investigating for murder and attempted murder as part of a criminal gang.

One of the wounded men, a 29-year-old struck in the chest by bullets, remains in danger for his life, while one of the women lost her thumb.

The third rear passenger received only light injuries.

Police found shell casings from the 7.62-millimetre ammunition used in Kalashnikov rifles at the scene.

A vehicle that could "likely" belong to the shooters was found burned out close to the site of the attack, prosecutors said.

Marseille has in recent years seen mounting violence related to trade in illegal drugs.

More than 45 people have been killed in related violence in the city in this year alone.