3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $config['debug'] = array( 'type' => array( 'remote_specific' => true, 'remote_addr' => '1.2.3.4', ) , 'mode' => array( 'PHP' => $config['debug'] ) ); var_dump($config['debug']);
Output for 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: config in /in/MO08J on line 8 array(2) { ["type"]=> array(2) { ["remote_specific"]=> bool(true) ["remote_addr"]=> string(7) "1.2.3.4" } ["mode"]=> array(1) { ["PHP"]=> NULL } }
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: config in /in/MO08J on line 8 array(2) { ["type"]=> array(2) { ["remote_specific"]=> bool(true) ["remote_addr"]=> string(7) "1.2.3.4" } ["mode"]=> array(1) { ["PHP"]=> NULL } }