public static function set_debug($state) { static::debug_out("Setting \$DEBUG to " . (bool) $state); static::$DEBUG = (bool) $state; }