3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array('a', 'b', 'c', 'd', 'e'); $str = ltrim(strrev(chunk_split(implode(array_reverse($arr)), 3, ';')), ';'); echo $str;

preferences:
50.71 ms | 402 KiB | 5 Q