mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fixed version id
This commit is contained in:
parent
c8250fa3e3
commit
d790eceb01
@ -28,7 +28,7 @@
|
||||
#include <unicode/ustring.h>
|
||||
#include <php.h>
|
||||
|
||||
#if PHP_VERSION_ID <= 51000
|
||||
#if PHP_VERSION_ID <= 50100
|
||||
#define CAST_OBJECT_SHOULD_FREE ,0
|
||||
#else
|
||||
#define CAST_OBJECT_SHOULD_FREE
|
||||
|
@ -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_VERSION_ID >= 53000
|
||||
#if PHP_VERSION_ID >= 50300
|
||||
mysqli_object_handlers.get_debug_info = mysqli_object_get_debug_info;
|
||||
#endif
|
||||
memcpy(&mysqli_object_driver_handlers, &mysqli_object_handlers, sizeof(zend_object_handlers));
|
||||
|
@ -1412,7 +1412,7 @@ void pdo_dbh_init(TSRMLS_D)
|
||||
REGISTER_PDO_CLASS_CONST_LONG("FETCH_UNIQUE",(long)PDO_FETCH_UNIQUE);
|
||||
REGISTER_PDO_CLASS_CONST_LONG("FETCH_KEY_PAIR",(long)PDO_FETCH_KEY_PAIR);
|
||||
REGISTER_PDO_CLASS_CONST_LONG("FETCH_CLASSTYPE",(long)PDO_FETCH_CLASSTYPE);
|
||||
#if PHP_VERSION_ID >= 51000
|
||||
#if PHP_VERSION_ID >= 50100
|
||||
REGISTER_PDO_CLASS_CONST_LONG("FETCH_SERIALIZE",(long)PDO_FETCH_SERIALIZE);
|
||||
#endif
|
||||
REGISTER_PDO_CLASS_CONST_LONG("FETCH_PROPS_LATE",(long)PDO_FETCH_PROPS_LATE);
|
||||
|
@ -30,7 +30,7 @@ static zend_class_entry *phar_ce_PharException;
|
||||
static zend_class_entry *phar_ce_entry;
|
||||
#endif
|
||||
|
||||
#if PHP_VERSION_ID >= 53000
|
||||
#if PHP_VERSION_ID >= 50300
|
||||
# define PHAR_ARG_INFO
|
||||
#else
|
||||
# define PHAR_ARG_INFO static
|
||||
|
Loading…
Reference in New Issue
Block a user