<?php $string = 'lognstring'; $segmentLength = 3; $totalLength = strlen($string); for ($i = 0; $i < $totalLength; $i += $segmentLength) { $result[] = substr( $string, min($totalLength - $segmentLength, $i), $segmentLength ); } var_export($result);
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`