3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $mktList = "ama,pmi,cdi,fna"; $mktList_arr = explode(",",$mktList); var_export($mktList_arr); foreach($mktList_arr as $a){ $$a = 'bzp'; echo "$a$a"."__products\n"; } ?>
Output for 4.3.0 - 7.1.0
array ( 0 => 'ama', 1 => 'pmi', 2 => 'cdi', 3 => 'fna', )amaama__products pmipmi__products cdicdi__products fnafna__products