3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = array( 'bar' => array( 'baz' => 'zap' ) ); $zap = '1'; echo $$foo['bar']['baz'];
Output for 7.0.0 - 7.2.0
Notice: Array to string conversion in /in/sd7PJ on line 11 Notice: Undefined variable: Array in /in/sd7PJ on line 11
Output for 5.3.19 - 5.6.28
1