There is a variable $posts, which gives an array with many values.
$posts
foreach() is used for output:
foreach()
foreach($posts as $post) { ... }
How to show only five first values from $posts?
Like, if we have 100 values, it should give just five.
Thanks.