I have studied the following code:
$this->user_id = $_SESSION['user_id']=$user->id;
but $_SESSION['user_id']
this does not make any sense to me. 'user_id' inside $_SESSION[] is not any name attribute or input field name. So is user_id is a keyword reserved in php? if so what is the significance of this keyword?