<?php class Flextype { protected static $instance = null; public static function instance() { //return !isset(self::$instance) and self::$instance = new Flextype(); if (is_null(Flextype::$instance)) { Flextype::$instance = new self; } return Flextype::$instance; } } var_export(Flextype::instance());
You have javascript disabled. You will not be able to edit any code.