3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $trans_vars = array( 'beta_content', 'beta_upgrade', 'layouts_content_1', 'layouts_content_2', ); foreach ($trans_vars as $variable) { echo('Seting var: ' . $module_prefix . $variable . ' in ' . $lang); }
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: module_prefix in /in/ljrU3 on line 12 Notice: Undefined variable: lang in /in/ljrU3 on line 12 Seting var: beta_content in Notice: Undefined variable: module_prefix in /in/ljrU3 on line 12 Notice: Undefined variable: lang in /in/ljrU3 on line 12 Seting var: beta_upgrade in Notice: Undefined variable: module_prefix in /in/ljrU3 on line 12 Notice: Undefined variable: lang in /in/ljrU3 on line 12 Seting var: layouts_content_1 in Notice: Undefined variable: module_prefix in /in/ljrU3 on line 12 Notice: Undefined variable: lang in /in/ljrU3 on line 12 Seting var: layouts_content_2 in
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: module_prefix in /in/ljrU3 on line 12 Notice: Undefined variable: lang in /in/ljrU3 on line 12 Seting var: beta_content in Notice: Undefined variable: module_prefix in /in/ljrU3 on line 12 Notice: Undefined variable: lang in /in/ljrU3 on line 12 Seting var: beta_upgrade in Notice: Undefined variable: module_prefix in /in/ljrU3 on line 12 Notice: Undefined variable: lang in /in/ljrU3 on line 12 Seting var: layouts_content_1 in Notice: Undefined variable: module_prefix in /in/ljrU3 on line 12 Notice: Undefined variable: lang in /in/ljrU3 on line 12 Seting var: layouts_content_2 in