Forensic officers examine the scene of a shooting outside Love Machine nightclub in Prahran. Credit:Chris Hopkins

Victorian Premier Daniel Andrews will "stand ready" to reform gun laws if necessary following a chilling drive-by shooting outside a Melbourne nightclub.

Shots were indiscriminately fired into a crowd of people standing outside Love Machine in Prahran just after 3am on Sunday.

Three security guards and a patron were shot. One of the guards, 37-year-old Narre Warren man Aaron Khalid Osmani died in hospital and another guard is fighting for his life.

“Shootings like this do rock the city,” Mr Andrews said on Sunday morning.