make phpredis support php7

#508 is done, there is no segfault when I run ````php TestRedis.php```` anymore. 
But it still needs more test cases.