3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $searchOffer = new \stdClass(); var_dump($searchOffer->suggestedHotelOffer->cancellableFree);
Output for 7.2.0 - 7.3.0beta1
Notice: Undefined property: stdClass::$suggestedHotelOffer in /in/RiaO9 on line 5 Notice: Trying to get property 'cancellableFree' of non-object in /in/RiaO9 on line 5 NULL
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.20
Notice: Undefined property: stdClass::$suggestedHotelOffer in /in/RiaO9 on line 5 Notice: Trying to get property of non-object in /in/RiaO9 on line 5 NULL
Output for hhvm-3.22.0
Notice: Undefined property: stdClass::$suggestedHotelOffer in /in/RiaO9 on line -1 Notice: Cannot access property on non-object in /in/RiaO9 on line -1 NULL
Output for hhvm-3.18.5 - 3.21.3
Notice: Undefined property: stdClass::$suggestedHotelOffer in /in/RiaO9 on line 5 Notice: Cannot access property on non-object in /in/RiaO9 on line 5 NULL