3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('foo' => 'bar', 1, 2, 'something'); $objA = (object) $objA; var_dump((array) $objA);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: objA in /in/Lhu8V on line 5 array(0) { }
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: objA in /in/Lhu8V on line 5 array(0) { }