One out later Coghlan struck a sharp grounder that handcuffed Philadelphia second baseman Chase Utley, allowing the winning run to score.
Steve Cishek (1-1) pitched a scoreless top of the ninth to earn the victory as Miami evened its three-game series.
Phillies starter Cole Hamels allowed one run on three hits over six full innings.
NBC reportedly holds celebs hostage to Jimmy Fallon's show
Millions of Getty images now available for free via embed tool