Skip to content

Commit c118423

Browse files
committed
Merge branch 'master' of github.com:php-memcached-dev/php-memcached
2 parents c4b2542 + 473c63e commit c118423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: php_memcached.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2457,7 +2457,7 @@ zend_object_value php_memc_new(zend_class_entry *ce TSRMLS_DC)
24572457

24582458
i_obj = ecalloc(1, sizeof(*i_obj));
24592459
zend_object_std_init( &i_obj->zo, ce TSRMLS_CC );
2460-
#ifdef ZEND_ENGINE_2_4
2460+
#if PHP_VERSION_ID >= 50400
24612461
object_properties_init( (zend_object *) i_obj, ce);
24622462
#else
24632463
zend_hash_copy(i_obj->zo.properties, &ce->default_properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *));

0 commit comments

Comments
 (0)