PHILADELPHIA -- John Mayberry Jr. singled home the winning run with two outs in the bottom of the 10th inning Sunday afternoon as the Philadelphia Phillies beat the Chicago White Sox 4-3.
It was the teams' third extra-inning game in two days and Philadelphia's second straight walkoff victory.
Chase Utley led off the 10th by doubling off David Purcey (0-1). Jimmy Rollins was intentionally walked. Domonic Brown bounced softly to the mound, with the runners advancing to second and third, and Darin Ruf was also intentionally walked.
Ramon Troncoso struck out Delmon Young, but Mayberry grounded the first pitch he saw through the middle, vaulting the Phillies to 48-48 at the All-Star break. It is their first time at .500 since June 7.
Antonio Bastardo (3-2) pitched a scoreless inning to earn the victory.
Chicago beat the Phillies in 11 innings in the first game of a doubleheader Saturday, while the Phils won the nightcap in 13.
The White Sox, who once trailed 3-0, scored single runs in the seventh, eighth and ninth to tie it. The last was on Josh Phegley's RBI single off Philadelphia closer Jonathan Papelbon, who blew his fifth save in 25 opportunities.
Cole Hamels pitched eight strong innings and All-Star Brown drove in two runs for the Phillies.
Hamels, working in 92-degree heat, yielded two runs and eight hits. He struck out seven while not walking a batter.
Hamels also went 2-for-2 and drove in a run with a fourth-inning single.
Hamels, who surrendered Jeff Keppinger's RBI single in the seventh and Alejandro De Aza's solo homer in the eighth, gave way to Papelbon to start the ninth.
With one out, Dayan Viciedo singled. Pinch runner Blake Tekotte stole second and, with two outs, scored when Phegley grounded a single up the middle.
The Phillies, who were last at .500 when they were 31-31 on June 7, scored twice in the first against Jose Quintana. With one out Chase Utley walked and Jimmy Rollins singled.
Brown, who on Tuesday will be part of his first All-Star team, then blasted a 0-1 fastball to deep center for a two-run double.
Hamels' run-scoring single made it 3-0 in the fourth.
De Aza's homer was his 12th of the year.
Quintana pitched six innings for the White Sox, allowing three runs and five hits. He struck out five and walked two.
NOTES: Phillies CF Ben Revere was placed on the disabled list Sunday after breaking a bone just above his right foot in the first game of Saturday's doubleheader. C Erik Kratz, out since June 9 with a left knee injury, was activated. ... Revere, hitting .305 with 22 steals this year, told reporters before Sunday's game the estimate he has been given is that he could miss six to eight weeks. General manager Ruben Amaro acknowledged that "it's going to take a while" for Revere to recover, but will await the opinion of the specialist scheduled to evaluate Revere on Monday. Amaro did say the Phillies will be shopping for a center fielder, and that minor league 2B Cesar Hernandez was going to attempt to convert to the position. ... The Phillies played a total of 24 innings in Saturday's doubleheader, and according to the Elias Sports Bureau that is the most they have played since also logging 24 on July 24, 1998, in a pair of 12-inning games against the then-Florida Marlins. The most innings the Phillies have ever played in a day was 28, on Sept. 15, 1950, when they followed up a regulation game against Cincinnati with a 19-inning marathon.