diff options
| author | Xinchen Hui <laruence@php.net> | 2014-08-15 18:21:23 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2014-08-15 18:21:23 +0800 |
| commit | 7ace092abfec31749da230405a7298d9b5789f43 (patch) | |
| tree | 9734c8ccd2f94b60b6e4d25488c60ec6c636fd09 /ext/mysqli/mysqli.c | |
| parent | 29893a88e7cdf93f9ce80ce7eaecffb3ef5e30c9 (diff) | |
| download | php-git-7ace092abfec31749da230405a7298d9b5789f43.tar.gz | |
Fixed version check
Diffstat (limited to 'ext/mysqli/mysqli.c')
| -rw-r--r-- | ext/mysqli/mysqli.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |
