<?php $foo = [1, 2, 3]; $bar = ['one', 'two', 'three']; $baz = ['first','second','third']; $arrays = ['$foo', '$bar', '$baz']; $str = implode(', ', $arrays); eval("\$map = array_map(null, $str);"); print_r($map);
You have javascript disabled. You will not be able to edit any code.