Police were investigating two attacks that took place on Philadelphia streets last night.

They left a 54-year-old man dead and a 10-year-old boy hospitalized with a knife wound to the neck.

Shortly before 11 p.m., the man was found with multiple gunshot wounds outside in the 2300 block of 32d Street in North Philadelphia, Officer Beth DiDonato said.

He was taken to Temple University Hospital, where he died just before 1 a.m., raising the city's homicide total for the year to 140.

His name was being withheld this morning. Police were still trying to determine who committed the crime and why.

The attack on the boy took place about 6:20 yesterday evening in the Olney section of the city. He was near a relative's house in the 400 block of Lindley Avenue when a stranger with a knife approached and cut his neck, DiDonato said.

The child was taken to Einstein Hospital, then transferred to St. Christopher's Hospital for Children, where he was in stable condition this morning.

Police today charged Tim Pratt, 25, of the 4500 block of Mole Street, with attempted murder, aggravated assault, simple assault and other offenses in the slashing.

Pratt, who was described as uncooperative, offered no motive to investigators.

Contact staff writer Peter Mucha at 215-854-4342 or pmucha@phillynews.com.

Inquirer staff writer Joseph Gambardello contributed to this article.