<?php $i = 0; $result = []; foreach (explode('.', 'a.string.to.explode') as $result[++$i]); var_export($result);
You have javascript disabled. You will not be able to edit any code.