<?php
$var = array("laranja", "morango");
for($i = 0; $i <= count($var); $i++){ echo $i."\n";
}
PD9waHAKCiR2YXIgPSBhcnJheSgibGFyYW5qYSIsICJtb3JhbmdvIik7CgogICAgYXJyYXlfcHVzaCgkdmFyLCAiYmFuYW5hIik7CiAgICBhcnJheV9wdXNoKCR2YXIsICJ1dmEiKTsKICAgIGFycmF5X3B1c2goJHZhciwiY2VyZWphIik7ICAgICAgIAoKCiAgICAkdmFyID0gYXJyYXlfdW5pcXVlKCR2YXIpOwoKCiAgIGZvcigkaSA9IDA7ICRpIDw9IGNvdW50KCR2YXIpOyAkaSsrKXsKICAgICAgIGVjaG8gICRpLiJcbiI7IAogICAgfQ==