Tag: associative-array

53 votes
8 answers
625 views
How to check if a specific key is present in a hash or not?

I want to check whether the "user" key is present or not in the session hash. How can I do this? Note that I

avatar
Cortez
0 1 0 9
asked 07 September, 2021