Think you know PHP and Object Oriented Programming? See how you do on this.

If you want to learn about these topics and much more, consider signing up for the PHP University today.

Name this Design Pattern

class God { private static $instance; private function __construct() { } public static function getInstance() { if ($this->instance === null) { $this->instance = new God; } return $this->instance; } }


Cry "uncle" and show the answer
Add a new card.
Add a new code card.

Design by James Anderson.