it's algorithm problem, not array problem 🙂
code below is fast-maked, so don't kick me, if it not perfect...
but it works 🙂
<?php
$arr = Array ('Test1', 'Test2', 'Test3', 'Test4', 'Test5');
$cols = sizeof($arr);
for ($i = 0; $i < $cols; $i++){
for ($j=0; $j < $i+1; $j++){
echo $arr[$j];
if ($j < $i) {echo "/";}
}
echo "<br>";
}
?>