whats wrong with this for loop?
===

Can someone please help me fix this code up? I am getting some weird error:
this for loop not working properly
code:
    <?php 
    $languages=array('te','hi');
    for($langIndex=0;$langIndex<count($languages);$langIndex++)
    {
    echo $languages;} 
    ?>
 
expected result:te,hi

actual result:Array Array