<?php

<?php

$post = new Post();
$post->heading = 'My first post';
$post->content = 'The content of my first post...';

echo '<h1>' . $post->heading . '</h1>';
echo '<p>' . $post->content . '</p>';

Create new object of Post class
Create new object of Post class