3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(1, 2, 3); echo $$a[0];
based on oWm9e
Output for 7.0.0 - 7.2.0
Notice: Array to string conversion in /in/hGuBX on line 4 Notice: Undefined variable: Array in /in/hGuBX on line 4
Output for 5.3.19 - 5.6.28
Notice: Undefined variable: 1 in /in/hGuBX on line 4