3v4l.org

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

preferences:
35.21 ms | 402 KiB | 5 Q