helpers/Serialized.php
public static function start(...$argv) : void
	{
	    //TODO - make base64 optional
        self::$sessionVar = $argv;
		foreach (self::$sessionVar as $value){
			if (isset($_SESSION[__CLASS__][$value])) {
                $GLOBALS[$value] = $_SESSION[__CLASS__][$value];
                #self::is_serialized( base64_decode(  $_SESSION[__CLASS__][$value] ), $GLOBALS[$value] );
            }
		}

		// You CAN register multiple shutdown functions
		register_shutdown_function( function () use ($argv) {
            $last_error = error_get_last();
            if ($last_error['type'] === E_ERROR) {
                sortDump($last_error);
            } else {
                foreach ($argv as $value) {
                    if (isset($GLOBALS[$value])) {
                        $_SESSION[__CLASS__][$value] = $GLOBALS[$value];
                        #$_SESSION[__CLASS__][$value] = base64_encode( serialize( $GLOBALS[$value] ) );
                    }
                }
            }
		} );
	}
public static function start(...$argv) : void
	{
	    //TODO - make base64 optional
        self::$sessionVar = $argv;
		foreach (self::$sessionVar as $value){
			if (isset($_SESSION[__CLASS__][$value])) {
                $GLOBALS[$value] = $_SESSION[__CLASS__][$value];
                #self::is_serialized( base64_decode(  $_SESSION[__CLASS__][$value] ), $GLOBALS[$value] );
            }
		}

		// You CAN register multiple shutdown functions
		register_shutdown_function( function () use ($argv) {
            $last_error = error_get_last();
            if ($last_error['type'] === E_ERROR) {
                sortDump($last_error);
            } else {
                foreach ($argv as $value) {
                    if (isset($GLOBALS[$value])) {
                        $_SESSION[__CLASS__][$value] = $GLOBALS[$value];
                        #$_SESSION[__CLASS__][$value] = base64_encode( serialize( $GLOBALS[$value] ) );
                    }
                }
            }
		} );
	}
Variables given will be cached between requests.
Variables should be provided as string names referencing
the global scope.
@param array ...$argv