Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class Blog
const BLOG_NAME = 'LibreByte';
protected const START_DATE = '01-01-2007';
private const CREATOR = 'sedlav';
class Page extends Blog
public static function printDetails()
echo "Blog name: ", self::BLOG_NAME, nl2br("\n");
echo "Blog start date: ", self::START_DATE, nl2br("\n");
echo "Blog creator: ", self::CREATOR, nl2br("\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment