3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2,3); echo $$a[0] * 2;
Output for 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/u3p25 on line 5 Notice: Undefined variable: Array in /in/u3p25 on line 5 0
Output for 5.0.4 - 5.6.28
Notice: Undefined variable: 1 in /in/u3p25 on line 5 0
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: 1 in /in/u3p25 on line 5 0