diff --git a/binding/php_extension/php5/ip2region/ip2region.c b/binding/php_extension/php5/ip2region/ip2region.c index 6eb0dd5..0e9ec26 100644 --- a/binding/php_extension/php5/ip2region/ip2region.c +++ b/binding/php_extension/php5/ip2region/ip2region.c @@ -286,8 +286,8 @@ zend_module_entry ip2region_module_entry = { ip2region_functions, PHP_MINIT(ip2region), PHP_MSHUTDOWN(ip2region), - PHP_RINIT(ip2region), /* Replace with NULL if there's nothing to do at request start */ - PHP_RSHUTDOWN(ip2region), /* Replace with NULL if there's nothing to do at request end */ + PHP_RINIT(ip2region), + PHP_RSHUTDOWN(ip2region), PHP_MINFO(ip2region), PHP_IP2REGION_VERSION, STANDARD_MODULE_PROPERTIES diff --git a/binding/php_extension/php7/ip2region/ip2region.c b/binding/php_extension/php7/ip2region/ip2region.c index 60d389d..7ea84ba 100644 --- a/binding/php_extension/php7/ip2region/ip2region.c +++ b/binding/php_extension/php7/ip2region/ip2region.c @@ -1,8 +1,8 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | + | PHP Version 7 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2015 The PHP Group | + | Copyright (c) 1997-2016 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -292,8 +292,8 @@ zend_module_entry ip2region_module_entry = { ip2region_functions, PHP_MINIT(ip2region), PHP_MSHUTDOWN(ip2region), - PHP_RINIT(ip2region), /* Replace with NULL if there's nothing to do at request start */ - PHP_RSHUTDOWN(ip2region), /* Replace with NULL if there's nothing to do at request end */ + PHP_RINIT(ip2region), + PHP_RSHUTDOWN(ip2region), PHP_MINFO(ip2region), PHP_IP2REGION_VERSION, STANDARD_MODULE_PROPERTIES