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