mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed ZTS build.
This commit is contained in:
parent
7a3dbcd1c4
commit
7e8bd05c89
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ ZEND_API zend_object *zend_objects_get_address(zval *zobject TSRMLS_DC)
|
|||
static void zval_add_ref_or_clone(zval **p)
|
||||
{
|
||||
if (Z_TYPE_PP(p) == IS_OBJECT) {
|
||||
TSRMLS_FETCH();
|
||||
|
||||
if (Z_OBJ_HANDLER_PP(p, clone_obj) == NULL) {
|
||||
zend_error(E_ERROR, "Trying to clone an uncloneable object of class %s", Z_OBJCE_PP(p)->name);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue