Michael Rozman/Warner Bros.

Vanessa Hudgens stopped by The Ellen DeGeneres Show to chat about her new single girl status, and revealed she and her ex Zac Efron are still friends.

Whew, we're so relieved!

The Sucker Punch star's Q&A went down like this:

Ellen: I know that you're out of a relationship now. Are you friendly [with Zac]? That's hard to be in the business because you're both successful and bound to run into each other.
Vanessa: No, we're good. After being in a relationship with someone that long, you stay friends.
Ellen: How long were you together with Zac?
Vanessa: Five years.
Ellen: Five years. Wow, that's a long time. But you're friendly?
Vanessa: Yes.
Ellen: Are you single now or you dating?
Vanessa: Yes, I'm single.

After five years together, we're happy to hear they are still on good terms. And while Efron hasn't been linked to anyone new these days, Hudgens may be rebounding with Josh Hutcherson, he costar in the upcoming Journey 2: The Mysterious Island.

But when Ellen showed the starlet a candid pic of herself and Hutcherson, Vanessa would only say, "Can't a girl have friends?"

Sure you can! Even friends who spend the night!