mirror of
https://github.com/php-win-ext/phpredis.git
synced 2026-03-24 00:52:16 +01:00
Unfortunately `VEMB` has a unique `RESP2` reply as far as I can tell, where it sends the embedding mode (int8, bin, fp32) as a simple string. This would cause any of PhpRedis' generic reply handlers to turn that into `true` which isn't useful. For that reason we need a custom reply handler. Additionally slightly rework `VINFO` to short circuit and return failure if we read anything other than a bulk string or an integer reply type. Otherwise we may get out of sync on the socket. See #2543