9951 explained code solutions for 126 technologies


php-redisUsing Redis eval


$redis->eval("return redis.call('get', 'test');");ctrl + c
$redis

Redis object after connection

eval

evaluates specified LUA code

redis.call('get', 'test')

LUA code to get key value from Redis