"That's my game," McCutchen said. "I go up, hit a ball on the ground, and I have an opportunity to do something with it. That's what I use my legs for and that's what I'm going to always be like."
The Pirates added another run in the third when Josh Harrison led off with a triple that split the gap in right-center. Harrison tagged from third on a shallow fly ball by Walker to center fielder Ben Revere and scored as Revere's throw came in offline.
Burnett (5-8) gave up three runs and five hits, walked two and struck out seven in seven innings in his return to Pittsburgh. The Pirates played a "Thank You A.J." video on the scoreboard when Burnett took the mound in the first inning.
"The video caught me by surprise," Burnett said. "I don't know what to say about it. It was very moving. It was very unexpected."
Byrd hit his 18th home run in the seventh inning to draw Philadelphia within 3-2.
Locke threw Byrd a changeup low and inside, which Byrd sent over the fence in left field.
"He got me," Locke said. "I got ahead of him, threw a changeup, and boom, he hit it. I knew it was a home run."
Byrd finished 2 for 4 with two RBIs and drove in half of the runs scored by the Phillies in Pittsburgh.
"He's been very steady for us," Sandberg said. "An everyday grinder who forces the chips in. He's been one of our consistent bats."
Harrison scored again in the eighth on a RBI triple by McCutchen, who was awarded third base because of fan interference following a crew chief review initiated by home plate umpire Dale Scott.
McCutchen then scored on a single by Starling Marte, and Jordy Mercer drove in another run with a sacrifice fly.
NOTES: Pedro Alvarez's throwing error was his 18th error of the season, which leads all major league players. ... Pittsburgh RHP Charlie Morton (5-9, 3.30 ERA) will oppose St. Louis RHP Adam Wainwright (1-4, 1.89 ERA) on Monday when the teams begin a three-game series at Busch Stadium. ... Philadelphia LHP Cole Hamels (2-5, 2.98 ERA) will face Milwaukee RHP Marco Estrada (7-5, 4.94 ERA) as the Phillies continue their road trip on Monday.