]> granicus.if.org Git - php/commitdiff
Fixed version check
authorXinchen Hui <laruence@php.net>
Fri, 15 Aug 2014 10:21:23 +0000 (18:21 +0800)
committerXinchen Hui <laruence@php.net>
Fri, 15 Aug 2014 10:21:23 +0000 (18:21 +0800)
ext/mysqli/mysqli.c

index 43d471df6d462db21f9c8226929b1421f45fbfd7..9374737550d0fbc009b5704d7e84d1013a5e103a 100644 (file)
@@ -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));