Just in case you were on the fence about sleeping in dumpsters, this frightful near-death story may sway you.

A Toronto man was catching a snooze in a west-end dumpster when he was tipped into a garbage truck during the wee hours of Thursday morning, reports CP24.

The collectors heard banging and shouting from amid the garbage and found the man trapped in trash, reports the Toronto Star.

His shouts were heard just in the nick of time. The driver was about to compact the load, which would have crushed the man, possibly to his death.

“I heard a noise and I thought someone was up there [on a building balcony] complaining about the noise,” Chris, the driver, told CityNews.

The man was taken to hospital but is uninjured.

Also on HuffPost:

Loading Slideshow...
  • Eminem

    Sleep experts often recommend black out shades to keep rooms dark and promote quality rest -- but rapper Eminem reportedly takes that to a whole new level, wrapping tin foil around the windows to keep the light out, <a href="http://www.thesun.co.uk/sol/homepage/showbiz/4305979/Eminem-asks-for-tinfoil-to-be-wrapped-around-windows-so-he-can-sleep.html" target="_hplink">according to <em>The Sun</em></a>. <br><br> "He uses the technique as he's always jumping time-zones," an anonymous source told the UK paper.

  • Tom Cruise

    Celebrities -- they're just like us. <a href="http://www.sleepfoundation.org/article/sleep-related-problems/snoring-and-sleep" target="_hplink">Ninety million American adults</a> snore, according to the National Sleep Foundation, and the <em>Top Gun</em> star is among them. Many partners of snorers become the "<a href="http://www.huffingtonpost.com/2012/02/14/sleep-compatibility-_n_1274860.html" target="_hplink">silent sufferers</a>," but not in the Cruise household. <br><br> Wife Katie Holmes is reportedly maintaining her beauty rest while Cruise snores away in a sound-proof snoratorium, <a href="http://www.dailymail.co.uk/tvshowbiz/article-2010908/Snoratorium-Tom-Cruises-sound-proofed-refuge-gives-Kate-Holmes-good-nights-sleep.html" target="_hplink">according to the <em>Daily Mail</em></a>. <br><br> 'Whoever uses the snoring room cannot be heard outside the locked door," <a href="http://www.dailymail.co.uk/tvshowbiz/article-2010908/Snoratorium-Tom-Cruises-sound-proofed-refuge-gives-Kate-Holmes-good-nights-sleep.html" target="_hplink">an alleged visitor told the paper</a>. "It's very small, comfortable and dark, maybe a former nursery."

  • Mariah Carey

    Most doctors recommend that healthy adults aim for seven to eight hours of sleep a night -- but the singer apparently doubles that. <a href="http://www.health.com/health/gallery/0,,20307065_8,00.html" target="_hplink">According to Health.com</a>, Carey told <em>Interview</em> magazine in 2004 that she prefers to sleep a whopping 15 hours. <br><br> She also reportedly sleeps with 20 humidifiers surrounding her to create a "steam room" effect. As <a href="http://www.health.com/health/gallery/0,,20307065_8,00.html" target="_hplink">Health.com puts it</a>: "While the machines can help to moisten dry air and soothe sore throats, usually one will do."

  • Lady Gaga

    Remember that egg-like contraption Lady Gaga arrived in for the 2011 Grammy's? Well she might not be ready to give it up quite yet. <br><br> According to a 2011 report in the <em>Mirror</em>, the "Bad Romance" singer (who once claimed not to sleep for <a href="http://www.huffingtonpost.com/2012/03/05/celebrity-sleep-problems_n_1322186.html#s753681&title=Lady_Gaga" target="_hplink">three whole days</a>) had allegedly, er, hatched a plan to renovate her New York City apartment with the infamous egg taking the place of a double bed. <br><br> "She felt so at home in the egg on stage -- she spent hours in it meditating and says when she's in it she feels at peace," a supposed "insider" told the publication.

  • Karl Lagerfeld

    The designer <a href="http://www.harpersbazaar.com/fashion/fashion-articles/24-hours-with-karl-lagerfeld-0412#slide-1" target="_hplink">told <em>Harper's Bazaar</em> magazine</a> that he gets a very regular seven hours of sleep, no matter what. <br><br> But while the hours spent in bed are pretty typical (and healthy!), his fashion choices are a bit more unusual. "I wear a long, full-length white shirt, in a material called poplin imperial, made for me by Hilditch & Key in Paris after a design of a 17th-century men's nightshirt I saw at the Victoria and Albert Museum," he told the magazine.

  • Michael Phelps

    The Olympic gold medalist even trains in his sleep. Last month, he told Anderson Cooper on "60 Minutes" that he has spent the past year or so getting his Zzzs in a high-altitude sleeping chamber, the <a href="http://articles.baltimoresun.com/2012-05-07/features/bal-michael-phelps-bed-20120507_1_michael-phelps-chamber-high-altitude" target="_hplink"><em>Baltimore Sun</em> reported</a>. <br><br> "Once I'm already in my room I still have to open a door to get into my bed," <a href="http://articles.baltimoresun.com/2012-05-07/features/bal-michael-phelps-bed-20120507_1_michael-phelps-chamber-high-altitude" target="_hplink">he said on the show</a>. "It's just like a giant box. It's like 'boy and the bubble.'" <br><br> Supposedly, the chamber, which is set to 8,500 to 9,000 feet, aids performance by forcing his body to keep working (<a href="http://www.washingtonian.com/blogs/wellbeing/fitness/why-michael-phelps-is-sleeping-in-an-altitude-chamber.php" target="_hplink">by decreasing oxygen</a>) even while he's resting.