RosettaCodeData/Task/Reverse-a-string/PHP/reverse-a-string-2.php
2023-07-01 13:44:08 -04:00

1 line
51 B
PHP

implode('', array_reverse(mb_str_split($string)));