redis Switch from set to intset
Redis can NOT do that,
simply create dedicated Redis object and set serialize to NONE
$redpint= new \Redis(); //special Redis object for integer only
$redpint->setOption(Redis::OPT_SERIALIZER, Redis::SERIALIZER_NONE);