From: Xinchen Hui Date: Fri, 15 Aug 2014 10:21:23 +0000 (+0800) Subject: Fixed version check X-Git-Tag: PRE_64BIT_BRANCH_MERGE~54^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ace092abfec31749da230405a7298d9b5789f43;p=php Fixed version check --- diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 43d471df6d..9374737550 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -585,7 +585,7 @@ PHP_MINIT_FUNCTION(mysqli) mysqli_object_handlers.write_property = mysqli_write_property; mysqli_object_handlers.get_property_ptr_ptr = std_hnd->get_property_ptr_ptr; mysqli_object_handlers.has_property = mysqli_object_has_property; -#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3 +#if PHP_VERSION_ID >= 53000 mysqli_object_handlers.get_debug_info = mysqli_object_get_debug_info; #endif memcpy(&mysqli_object_driver_handlers, &mysqli_object_handlers, sizeof(zend_object_handlers));