3v4l.org

run code in 200+ php & hhvm versions
<?php $subject = new DateTime('2015-06-24 22:09:00'); var_dump(isset($subject->timezone)); $reflection = new ReflectionObject($subject); foreach ($reflection->getProperties() as $prop) { $prop->setAccessible(true); $prop->setAccessible(false); } var_dump(isset($subject->timezone));
Output for 5.5.0 - 5.6.38, 7.0.0 - 7.2.10
bool(false) bool(true)
Output for hhvm-3.12.14 - 3.22.0
bool(false) bool(false)