3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $riff = array(); $riff->name = "raff"; var_dump($riff);
based on 6RvjJ
Output for 7.2.0
Warning: Attempt to assign property 'name' of non-object in /in/Vu5Wf on line 5 array(0) { }
Output for 5.0.0 - 7.1.10
Warning: Attempt to assign property of non-object in /in/Vu5Wf on line 5 array(0) { }
Output for 4.3.0 - 4.4.9
array(0) { }