<?php foreach ($posts as $post): ?>
<div class="post" style="margin-left: 0px;">
<img src="<?php echo BASE_URL . '/static/images/' . $post['image']; ?>" class="post_image" alt="">
<a href="single_post.php?post-slug=<?php echo $post['slug']; ?>">
<div class="post_info">
<h3><?php echo $post['title']; ?></h3>
<div class="info">
<span><?php echo date("F j, Y ", strtotime($post["created_at"])); ?></span>
<span class="read_more">Read more...</span>
</div>
</div>
</a>
</div>
<?php endforeach ?>
при компиляции выдает
Compilation error at stage: Parse file, gen by gentree.cpp:1650
index.php:28
<?php foreach ($posts as $post): ?>
Failed to parse statement. Expected `;`
Compilation terminated due to errors
lemit@lemit:~/kphp/mybloggo$