An Australian man claims he was able to cook pork in his own car -- and later eat it -- because the heat was so extreme.

Perth resident Stu Pengelly said he left 3.3 pounds of pork inside his old Datsun Sunny for 10 hours on a 102-degree day.

“It worked a treat!” Pengelly wrote on Facebook last Friday.

Pengelly said he used a monitor throughout the day to measure the temperature. At 7 a.m., it was 86 degrees, and by 1 p.m. it was a scorching 177 degrees inside his car.

The Australian noted that his car has tinted windows, with aged door and window seals and “a big rust hole in the roof, which stops the car getting as hot as it potentially could.”

“If this was a later model vehicle & painted black the temperature at a guess could climb significantly higher,” he wrote.

Pengelly removed the finished product from his car, photos of which he posted on Facebook.

In a video posted by the Australian Broadcasting Corporation (ABC), he can be seen slicing the pork in half and taking a bite.

“Bit of Texas spice, salt and pepper. It worked! Go Datsun over!” he says.

TEXAS 3-YEAR-OLD DIES AFTER BEING LEFT IN HOT CAR, POLICE SAY

Pengelly wrote that his experiment was intended to raise awareness about leaving “anyone or anything precious” in a hot car.

“My warning is do not leave anyone or anything previous to you in a hot car, not for a minute,” he wrote. “if you see kids or dogs in a hot car, DO NOT HESITATE TO SMASH A WINDOW to get them out ASAP. It is not an offence to do this & you could save a life. Please keep a watch out.”

CLICK HERE TO GET THE FOX NEWS APP

Perth is in the midst of an unprecedented heat wave, ABC reported. Earlier this month, it recorded its hottest first week of summer in recorded history.