Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
class Test_Class {
public static function init() {
static $instance = NULL;
$instance = new Test_Class();
return $instance;
}
}
class Test_Class_Raw extends Test_Class {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment