<?php class NullObject { protected function __construct() { } static public function create() { return new self; } } //$null = new NullObject(); $null = NullObject::create(); var_dump($null);
You have javascript disabled. You will not be able to edit any code.