Answer the question
In order to leave comments, you need to log in
Search by specific values in keys in Memcacmed?
Hello, please help.
There is data stored in memcached:
data[1] = ['user_id' => 1, 'login' => 'admin', 'date' => 12121212];
data[2] = ['user_id' => 999, 'login' => 'user', 'date' => 5555555];
data[3] = ['user_id' => 50, 'login' => 'polzovatel', 'date' => 233333];
I need to find out in which array of the above the date is the largest (it is in unix time) - that is, I need to find the array in which the action was performed last. How to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question