<?php class Test() { private static $instance = null; static public function getInstance() { self::$instance = new self(); } return self::$instance; } }
Standard input is empty
Standard output is empty
PHP Parse error: syntax error, unexpected '(', expecting '{' in /home/v1XYjN/prog.php on line 3