3v4l.org

run code in 300+ PHP versions simultaneously
<?php $table_array = array(); $result = array('hi', 'hello', 'there'); array_walk($result, function($row) { printf('%s ', $row); $index = $row; $table_array[$index] = array(); }, $table_array);

preferences:
42.55 ms | 402 KiB | 5 Q