Laravel -Array zum String -Fehler

//Simple PHP array.
$array = array(1, 2, 3);

//Loop through the elements.
foreach($array as $value){
    //Print the element out.
    echo $value, '<br>';
}
Flashmaru