Welcome Guest, Not a member yet? Register   Sign In
The session class has a push method but no pop method
#3

(02-27-2019, 09:43 AM)InsiteFX Wrote: remove or unset

 How do you want to apply remove or unset to session()->get('key')? You get a value back but not a reference.

session::push is equivalent to $_SESSION['key'][] = ....
session::pop would be equivalent to unset($_SESSION['key1']['key2'])
Reply


Messages In This Thread
RE: The session class has a push method but no pop method - by HardyW - 02-27-2019, 10:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB