TORONTO (AP) -- Rudy Gay's reunion with the Memphis Grizzlies was the kind of intense, high-energy basketball game more commonly played in late May, not late February.
Zach Randolph had 17 points and 18 rebounds, Mike Conley scored 17 points and the Grizzlies won their fifth straight game Wednesday, beating Gay and the Toronto Raptors 88-82.
''Exciting basketball game,'' Grizzlies coach Lionel Hollins said. ''There was a lot of emotion, there was a lot of intensity from both sides. It was really like a playoff game.
''It's a long season and there's a lot of games that are just hum-haw, but this here was a barn burner,'' Hollins added.
Much of that was due to the widely held desire to show who came out ahead in the Jan. 30, three-team trade that had the Grizzlies trade Gay to Toronto.
''There was a lot of emotion in this game,'' said Ed Davis, one of the two Raptors acquired in the deal. ''A lot of people wanted this win on both sides.''
In the end, Gay came up short as the Raptors had their five-game winning streak ended. Gay had 13 points and nine rebounds but struggled with his shooting, making just five of 15 attempts. He also had a game-high five turnovers.
''It's obviously a team I'm very familiar with and I know how scrappy they are,'' Gay said of the Grizzlies. ''Tonight they were just a little scrappier than us.''
Raptors coach Dwane Casey credited Memphis for keeping Gay in check with solid defense.
''They weren't going to let Rudy get going,'' Casey said. ''They were double-teaming him on pick-and-rolls, sending help quickly. They made it tough on him. I felt for him because I knew he wanted to do well.''
Conley said it was ''weird'' to face Gay as an opponent for the first time, but he found a way to enjoy it.
''We were talking trash back and forth to each other, just making the game fun,'' Conley said.
Tony Allen scored 12 points and Tayshaun Prince had 11 as the Grizzlies won for the eighth time in nine meetings with the Raptors and posted their fourth straight victory in Toronto.
Gay called Randolph ''a monster on the boards,'' and Allen praised his All-Star teammate for his leadership.
''We'll go as far as he goes,'' Allen said. ''I tell him that he's got to carry us and he knows that.''
Alan Anderson scored 15 of his 19 points in the fourth quarter as the Raptors erased a nine-point deficit to tie the game, but couldn't take the lead.
Amir Johnson scored 16 points and Kyle Lowry had 12 for Toronto.
Back-to-back 3-pointers by Anderson brought the Raptors within four at 70-66 with 9:26 left, and he hit another at 8:02 to make it 73-71.
''Alan Anderson got ultra-hot,'' Hollins said. ''He was en fuego. He brought them back into the basketball game.''
Memphis responded with consecutive layups by Darrell Arthur and Quincy Pondexter, putting them up 77-71, but Anderson hit another 3 and was fouled by Randolph, converting the four-point play to make it 77-75 with 6:33 left.
No one scored again until 4:09, when Johnson tied it at 77-all on a driving layup.
Just over a minute later, Randolph restored the lead by making a pair of free throws. Conley stole the ball from Gay on the next possession and Randolph was fouled again, making one of two to put Memphis up 80-77 with 2:25 left.
After a missed shot by Gay, Conley made a 3 to increase the lead to six at 83-77.
Lowry gave the Raptors hope, cutting it to 85-82 on a four-point play with 20 seconds left. But Prince rebounded a missed free throw by Conley and Allen sealed it with a pair at the line.
''It was very much like a playoff game with the way the attitudes were and the emotions out there,'' Conley said. ''Both sides played very hard and the crowd was into it. It was a big game.''
The Grizzlies missed their first eight field goal attempts of the game, but it was Toronto who struggled most with its shooting in the opening quarter, making just four of 20 shots. Gay missed all four of his attempts in the first against his former team as Memphis led 19-14 after one.
Randolph had six points in the second and Jerryd Bayless and Prince added five each as Memphis took a 43-32 lead after two. The half ended with a frustrated DeMar DeRozan hurling the ball skyward, only to have it get stuck inside the scoreboard hanging over center court.
Johnson had 10 points in the third, including an emphatic dunk over Randolph, and Gay added seven for the Raptors, but Conley scored six points for the Grizzlies and Memphis took a 66-57 lead into the final quarter.
NOTES: Both teams are 6-3 since the Jan. 30 trade. ... Toronto matched a season-low for first-quarter points. The Raptors also had 14 in a Feb. 13 win at New York. ... Casey said he would like to add a third point guard before Thursday's trade deadline.