3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = '111'; $array = ['x' => 'x', 'y' => 'y']; echo $$array['x'];
Output for 7.1.0
Notice: Array to string conversion in /in/g3joa on line 4 Notice: Undefined variable: Array in /in/g3joa on line 4
Output for 5.6.30
111