Excuse me, what should be the return value of $redis->ping() in php7.2?
Before using php5.6, it always returned PONG, and the manual also said this
But after upgrading to 7.2, I suddenly found that a 1 was returned. I don’t know why
This "1" returns the true value true. It also means there is a reply and the connection is successful.
This "1" returns the true value true. It also means there is a reply and the connection is successful.