<?php $strings = [ 'a', 'ab', 'abc' ]; var_export(preg_replace('/(.)(.*)(.)/', '$3$2$1', $strings));
You have javascript disabled. You will not be able to edit any code.