3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dog = 'yeah'; $a = array('dog', 2, 3); echo $$a[0];
based on Qf0vq
Output for 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/a1duE on line 4 Notice: Undefined variable: Array in /in/a1duE on line 4
Output for 4.3.0 - 5.6.28
yeah