PHILADELPHIA -- Bryce Harper knows everyone in the dugout and ballpark expects him to get clutch hits in moments just like this.
Boy, he crushed it.
Harper delivered his biggest hit yet in his first season after signing a 13-year, $330 million contract with the Phillies, celebrating while running around the bases and then getting mobbed by teammates at the plate.
"That was sick. Wow, I don't even know. I mean, that was awesome. Oh my gosh," he said.
Harper added of his walk-off shot: "Besides winning the division and getting to the playoffs, that was one of the coolest moments I've ever had in my life."
Cubs starter Yu Darvish struck out 10, silencing Philadelphia's bats for seven innings a night after the Phillies scored 11 runs in former manager Charlie Manuel's debut as hitting coach.
But the Phillies rallied against Chicago's bullpen and moved within one game of the Cubs for the second wild-card spot in the National League.
Pinch hitter Brad Miller chased Rowan Wick with an RBI single in the ninth that cut it to 5-2, and Roman Quinn greeted Pedro Strop with an RBI single to make it a two-run game. Strop (2-5) hit Rhys Hoskins to load the bases with one out.
Derek Holland entered to face Harper and got ahead 0-2 in the count. Harper fouled off a 2-2 pitch before launching his 25th homer way out to right.
"Before I went to the plate, I touched my heart and I was thinking to myself: 'Why am I not jittery? Why am I not excited?' But that's just how I am," Harper said. "I go up there, and each at-bat is the same. I don't think about bases loaded. I try to get a pitch I can drive and hopefully good things happen. I love those moments. I love those opportunities. I think it helped me a lot from a young age going through those emotions and having those opportunities at 8, 9, 10 years old in big-time games going to different states and cities playing for a lot of teams."
"I just love it. It's a lot of fun," he added. "These fans do expect that, and I expect to do that for them on a nightly basis. And if I don't, they'll let me know, and I like that too."
Harper now has six career walk-off home runs, the second-most since he made his major league debut in 2012, behind Josh Donaldson, who has seven, according to ESPN Stats & Information.
"I think everyone who watches baseball expects him to do that every time he's up," Phillies starter Drew Smyly said. "He's fun to watch."
Harper has seven homers and 15 RBIs in the past 12 games.
Ranger Suarez (4-1) tossed two scoreless innings to earn the win.
Anthony Rizzo, batting leadoff after the original lineup had him in his usual cleanup spot, gave the Cubs a 1-0 lead in the third when he hit his 22nd homer.
Ian Happ led off the fourth with a triple and scored on David Bote's double. Albert Almora Jr. hit an RBI single with two outs, went to second on the throw home and advanced to third on shortstop Jean Segura's fielding error. Rizzo's single made it 4-0.
Kyle Schwarber slammed his 100th career homer and team-high 28th this season into the bushes in center field to put the Cubs ahead 5-0 in the fifth.
Smyly gave up five runs in five innings. He has an 8.04 ERA in his past three starts after allowing one run in 13 innings in his first two starts for the team.
The Phillies claimed righty Jared Hughes off waivers from the Cincinnati Reds. Hughes will join the bullpen this weekend. He was 3-4 with one save and a 4.10 ERA for Cincinnati.
CUBS: SS Javier Baez was scratched from the lineup because of an illness. ... RHP Craig Kimbrel (right knee inflammation) felt fine after another bullpen session and is closer to returning. ... RHP Brandon Kintzler (right pectoral inflammation) is expected to return Friday. ... OF Jason Heyward (left knee inflammation) wasn't in the lineup for the second straight game but entered in Thursday's ninth inning as a defensive replacement.
PHILLIES: RHP Edubray Ramos (shoulder) was moved to the 60-day injured list to make room on the 40-man roster for Hughes.
The Associated Press contributed to this report.
Biggio hits for the cycle as Blue Jays beat Orioles 8-5
Rookie Cavan Biggio hit for the cycle, and the Toronto Blue Jays beat the Baltimore Orioles 8-5 on Tuesday night.
Mancini connects on 34th HR
Trey Mancini hits a two-run homer in a four-RBI night for the Orioles.
Biggios now 2nd father-son duo to hit for cycles
Blue Jays second baseman Cavan Biggio secured his cycle on Tuesday night by hitting a two out triple in the top of the ninth.
Ed Reed throws out 1st pitch in Baltimore
Ravens Hall of Famer Ed Reed throws out the first pitch at Camden Yards in the Orioles' game vs. the Blue Jays.
Moustakas, Cain lift Brewers past Padres 3-1
Mike Moustakas hit his 35th home run of the season, Lorenzo Cain also went deep and the Milwaukee Brewers beat the San Diego Padres 3-1 on Tuesday night to keep up their playoff push with their 11th win in 12 games.
Indians win 15th straight over Tigers with 7-2 victory
Adam Plutko pitched six effective innings, rookie Oscar Mercado homered and the Cleveland Indians beat Detroit 7-2 on Tuesday night for their 15th straight victory against the Tigers.