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: Hoping to make the team as the fifth starter, Michael Pineda will make his first appearance of the spring on Friday night, entering in relief and scheduled to throw three innings as the Yankees entertain the Tigers under the lights in a 7:05 p.m. ET contest at George M. Steinbrenner Field. Hiroki Kuroda (1-0, 0.00 ERA) gets the start against right-hander Anibal Sanchez (0-0, 0.00).