3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ideo_theme_options = null; $ideo_theme_options[generals][layout][site_width] = 1; print_r($ideo_theme_options);
based on vUQL9
Output for 7.2.0
Warning: Use of undefined constant generals - assumed 'generals' (this will throw an Error in a future version of PHP) in /in/D2aY3 on line 6 Warning: Use of undefined constant layout - assumed 'layout' (this will throw an Error in a future version of PHP) in /in/D2aY3 on line 6 Warning: Use of undefined constant site_width - assumed 'site_width' (this will throw an Error in a future version of PHP) in /in/D2aY3 on line 6 Array ( [generals] => Array ( [layout] => Array ( [site_width] => 1 ) ) )
Output for 5.3.17 - 7.1.10
Notice: Use of undefined constant generals - assumed 'generals' in /in/D2aY3 on line 6 Notice: Use of undefined constant layout - assumed 'layout' in /in/D2aY3 on line 6 Notice: Use of undefined constant site_width - assumed 'site_width' in /in/D2aY3 on line 6 Array ( [generals] => Array ( [layout] => Array ( [site_width] => 1 ) ) )