php7.2 redis->ping() return value
melo.jiji
melo.jiji 2019-07-24 15:06:08
0
1
1848

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

melo.jiji
melo.jiji

reply all(1)
世

This "1" returns the true value true. It also means there is a reply and the connection is successful.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template