3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = ideo_theme_options['generals']['layout']['site_width'];
Output for 7.2.0
Warning: Use of undefined constant ideo_theme_options - assumed 'ideo_theme_options' (this will throw an Error in a future version of PHP) in /in/WF5sP on line 5 Warning: Illegal string offset 'generals' in /in/WF5sP on line 5 Warning: Illegal string offset 'layout' in /in/WF5sP on line 5 Warning: Illegal string offset 'site_width' in /in/WF5sP on line 5
Output for 5.6.8 - 7.1.10
Notice: Use of undefined constant ideo_theme_options - assumed 'ideo_theme_options' in /in/WF5sP on line 5 Warning: Illegal string offset 'generals' in /in/WF5sP on line 5 Warning: Illegal string offset 'layout' in /in/WF5sP on line 5 Warning: Illegal string offset 'site_width' in /in/WF5sP on line 5
Output for 5.3.17 - 5.5.35
Parse error: syntax error, unexpected '[' in /in/WF5sP on line 5
Process exited with code 255.