It appears to have been a case of art imitating life for Hollywood actor Zac Efron as he, unfortunately, caught a life-threatening infection while filming new show, Killing Zac Efron.

Killing Zac Efron sees the actor live on a "remote" island for 21 days, "with nothing but basic gear, a guide partner, and a will to survive."

Efron hopped on Instagram and Twitter over the weekend to give his millions of followers a quick status update:

"I did get sick in Papua New Guinea but I bounced back quick and finished an amazing 3 weeks in P.N.G.I'm home for the holidays with my friends and family," Efron tweeted.

"Thanks for all the love and concern, see you in 2020!"

According to Australia's Sunday Telegraph, the star was airlifted to Brisbane, then they rushed him to St. Andrew's War Memorial Hospital in Spring Hill, a nearby suburb. He was diagnosed with Typhoid, or similar bacterial infection. 

The infection can be treated with antibiotics and is transmitted through water or food contaminated by the feces of an infected person.