Sid Fernandez outdueled Fernando Valenzuela in New York last night, and with Ray Knight and Keith Hernandez hitting game-breaking doubles, the Mets set down the Los Angeles Dodgers, 5-2, to win their fifth straight.

Fernandez (5-1) pitched eight innings and gave up four hits, including a homer in the fifth by Mike Marshall, his NL-leading 13th. Fernandez, a former Dodgers prospect, walked two and struck out five.

Valenzuela (7-3) allowed six hits in seven innings. He walked six, including two in the Mets' two-run fourth keyed by Knight's two-base hit and the leadoff hitter in their two-run seventh, climaxed by Hernandez's two-run double.

"Its no grudge match," said Fernandez, traded to the Mets in 1983. "I've never been mistaken for Fernando. I think the only resemblance is we're both left-handers."

Dodgers Manager Tom Lasorda said Fernandez has no cause for a grudge. "Sid's become a good pitcher. When we made the trade it was . . . not because I didn't like him."

*Phillies 5, Giants 4: Milt Thompson, batting .195, singled with two out in the home ninth in Philadelphia, driving in Steve Jeltz to beat San Francisco.

Jeltz walked with one out, took second on a single by Greg Gross, his 100th career pinch hit, and made third on Jeff Stone's fly to center.

Thompson had been zero for four in the game, but the outfielder from Gaithersburg, Md., sent Greg Minton's 1-0 pitch up the middle.

Thompson said he recently took home videotapes of all his at-bats this year and "they made me sick to my stomach."

He said he thought Manager John Felske might lift him for a pinch hitter -- and Felske said that if there had been only one out, he would have done so looking for a fly ball.

Thompson is a consistent ground-ball hitter, and he grounded the ball past shortstop Jose Uribe.

Earlier, another slumping Phillie, Glenn Wilson, hit a three-run homer. Phillies starting pitcher Fred Toliver, a right-hander, was hit by a Jeff Robinson pitch in the fifth and got a broken bone (ulna) in the left arm.