mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed version id
This commit is contained in:
parent
c8250fa3e3
commit
d790eceb01
4 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue