BALTIMORE -- Manny Machado led off the bottom of the 12th inning with a home run, giving the Baltimore Orioles a 7-6 victory over the Los Angeles Angels on Tuesday night at Camden Yards.
Machado lined a 1-2 pitch from Cory Rasmus (2-1) into the left field seats. The third baseman hit an RBI double earlier in the game to help the Orioles keep their 2 1/2-game lead over the Toronto Blue Jays in the American League East.
Right-hander Ryan Webb (3-1) got the win after escaping a jam and retiring the Angels in the 12th. The Orioles improved to 12-3 in extra-inning games this season.
The Orioles held a 6-4 lead after four innings, but the Angels rallied, tying it on Josh Hamilton's RBI infield single in the seventh.
Phillies 6, Mets 0
NEW YORK -- Left-hander Cole Hamels concluded an impressive July by throwing eight shutout innings, and Chase Utley crushed a grand slam in the seventh inning as Philadelphia beat New York.
Hamels, who has been the subject of trade rumors leading up to Thursday's non-waivers trading deadline, allowed hits to six of the first 16 batters he faced before retiring the final 13.
Hamels allowed only two runners as far as second base and walked none while striking out eight. He improved to 4-1 with a 1.94 ERA in six starts this month.
Reds 3, Diamondbacks 0
CINCINNATI -- Mike Leake pitched seven shutout innings and Todd Frazier went 2-for-4 with an RBI, lifting Cincinnati over Arizona.
Leake (8-9) allowed only five hits with no walks and eight strikeouts. Arizona had a few scoring chances against Leake but couldn't cash in, going 1-for-7 with runners in scoring position and stranding eight.
Didi Gregorius went 2-for-3 with a triple for the D-backs, who were shutout for the eighth time this season.
Rays 5, Brewers 1
ST. PETERSBURG, Fla. -- Alex Cobb stifled Milwaukee for eight innings and Ben Zobrist provided all the offense Tampa Bay needed, knocking in the tying and eventual winning runs with a homer and a double.
Zobrist's one-out double in the eighth off reliever Will Smith broke a 1-1 tie and ruined what had been a stellar start by former Rays pitcher Matt Garza. Pinch hitter Logan Forsythe followed with a run-scoring double to left for a 3-1 lead.
Cobb (16-6) outlasted Garza to win his fifth straight decision, allowing a run on three hits, with two walks and 12 strikeouts. The Rays have won 11 of their last 12 games.
Blue Jays 4, Red Sox 2
BOSTON -- Toronto rookie right-hander Marcus Stroman picked up where he left off in his last outing -- handcuffing Boston.
Stroman, who allowed one hit over seven scoreless innings against the Red Sox on Thursday, was only slightly more generous in this outing. He improved to 7-2 by allowing one run on six hits in seven innings.
The Red Sox got a run back in the ninth when Xander Bogaerts led off with a home run off right-hander Casey Janssen, who then retired the next three batters to earn his 17th save.
Marlins 3, Nationals 0
MIAMI -- Giancarlo Stanton drove in two runs, and right-hander Henderson Alvarez outdueled Stephen Strasburg as streaking Miami beat Washington.
The Marlins have won a season-best six games in a row and nine of their past 10.
Stanton, who had been hitless in his past 11 at-bats, including eight strikeouts, snapped his slump by pulling a high breaking pitch down the left field line for a run-scoring double. That snapped a scoreless tie in the sixth. Stanton added an RBI single in the eighth.
Alvarez (8-5) pitched seven innings, allowing three hits, four walks and no runs.