<?php $string = str_split('This is a string!'); $i = 0; array_map(function($val, $key) { return $key % 2 ? $val : null; }, $string);
You have javascript disabled. You will not be able to edit any code.