3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new SimpleXmlElement('<foo />'); var_dump($a->bubba->too); var_dump($a->bubba->too->the->bang->bang->boogie->boobie->to->the->boogie->to->the->rhythm->of->the->boogie->the->beat);
Output for 7.2.6
NULL Notice: Trying to get property 'the' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'bang' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'bang' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'boogie' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'boobie' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'to' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'the' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'boogie' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'to' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'the' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'rhythm' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'of' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'the' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'boogie' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'the' of non-object in /in/t8n5j on line 5 Notice: Trying to get property 'beat' of non-object in /in/t8n5j on line 5 NULL
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.20
NULL Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 Notice: Trying to get property of non-object in /in/t8n5j on line 5 NULL
Output for hhvm-3.22.0
NULL Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 Notice: Cannot access property on non-object in /in/t8n5j on line -1 NULL
Output for hhvm-3.18.5 - 3.21.3
NULL Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 Notice: Cannot access property on non-object in /in/t8n5j on line 5 NULL