Assume that there is a PHP variable:
$variable = 'username';
cookie value = 'username'
Which one is better to access? get_cookie() or just use $variable?
I have a lot of code using get_cookie('cookie_name') (a CodeIgniter function) instead of using variables.
Will it increase performance if I change it to access $variable instead of cookie?