In this short snippet, we will represent to you how to modify the session time out with the help of PHP functions.