This PHP code crashes the host (Apache) with a segfault:
$myRedis->hSet("some key name", NULL);
This is troubling to me, because PHP is supposed to be a high-level language that doesn't dereference NULL pointers, but instead either accepts them as "empty value" or throws an exception.
Am I the only one seeing this? (This code worked fine in PHP 5.3 and 5.5)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.