<?php
$result = '1
2
3
4
5';
$test = "";
foreach($string as $key) {
$test .= $key." | ";
}
echo $test;
?>
PD9waHAKJHJlc3VsdCA9ICcxIAoyIAozIAo0IAo1JzsKJHN0cmluZyA9IGV4cGxvZGUoIlxuIiwgJHJlc3VsdCk7CiR0ZXN0ID0gIiI7CmZvcmVhY2goJHN0cmluZyBhcyAka2V5KSB7CiAgICAkdGVzdCAuPSAka2V5LiIgfCAiOwp9CmVjaG8gJHRlc3Q7Cj8+