I have an helper class with some static functions. All the functions in the class require a ‘heavy’ initialization function to run once (as if it were a constructor).
Note - the RFC proposing this is still in the draft state.
class Singleton { private static function __static() { //... } //... }
proposed for PHP 7.x (see https://wiki.php.net/rfc/static_class_constructor )