<?php class Foo { private function __construct() { } public static function maybe() { return (bool) mt_rand(0, 1); } } $bar = Foo::maybe(); $foo = new Foo();
You have javascript disabled. You will not be able to edit any code.