I\'m trying to learn how to make a custom session handler with PHP. The youtube video which explains how to make this is working with PHP 5.4 and I\'m working with PHP 7.4