public function __construct() { if (self::$session_id === 0) { self::$session_id = bin2hex(openssl_random_pseudo_bytes(16)); } }