Phillies shortstop Freddy Galvis, who is expected to make the team as a utility infielder, hit a solo home run to right-center field against Tanaka in the third inning. Tanaka allowed only one other baserunner, a double to Marlon Byrd in the second.
Phillies right-hander Kyle Kendrick allowed one run in three innings. He allowed a solo home run to Yankees right fielder Ramon Flores in the third. Flores spent last season with Double-A Trenton.
"It was 0-2," Kendrick said of the sinker. "It was the same pitch I froze [Brian] McCann on. With an A-ball kid, you can't do that. But today I was just more aggressive. I was letting it go. I wanted to feel good, and I accomplished that."
Phillies catcher Carlos Ruiz and John Mayberry Jr. hit solo home runs to left field in the fifth to give the Phillies a two-run lead.
The Yankees got one run back in the seventh, when Adonis Garcia scored Scott Sizemore with a single to right field. They regained the lead in the eighth, on Jose Pirela's RBI double and Flores' sacrifice fly.
Derek Jeter recorded two hits for the Yankees, including a double, his first two hits of Spring Training.
The game was played after a nearly 90-minute rain delay prior to first pitch.
Up next: The Phillies hit the road Friday to play the Orioles at 1:05 p.m. ET in Sarasota, live on MLB.TV. Phillies right-hander A.J. Burnett makes his second Grapefruit League start. The Orioles had pursued Burnett in the offseason before he ultimately signed a one-year, $16 million deal with the Phillies.
Todd Zolecki is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.