Emilio Bonifacio led off the 14th with a walk off David Herndon (1-3) and went to second on a sacrifice from Omar Infante (3-for-6, RBI). Greg Dobbs was intentionally walked and one out later Logan Morrison got another intentional free pass to load the bases.
The strategy backfired, however, when Cameron worked an unintentional walk to win the game for the Marlins.
Clay Hensley (3-6) notched the victory with two scoreless innings of relief.
Herndon had earlier worked out of bases-loaded jams in the 12th and 13th innings, but couldn't do it a third time as Philadelphia suffered its first back-to-back losses on the road since early June.
Ryan Howard stroked a two-run single for the National League East-leading Phillies.
Scarlett Johansson steps out with fiance after pregnancy reveal
Susan Sarandon 'very excited' about daughter's pregnancy