if (CG(in_clone_method)) {
if ((opline_ptr->op1.op_type == IS_CONST) && (opline_ptr->op1.u.constant.type == IS_STRING) &&
- (opline_ptr->op1.u.constant.value.str.len == (sizeof("clone")-1)) &&
- !memcmp(opline_ptr->op1.u.constant.value.str.val, "clone", sizeof("clone"))) {
+ (opline_ptr->op1.u.constant.value.str.len == (sizeof("that")-1)) &&
+ !memcmp(opline_ptr->op1.u.constant.value.str.val, "that", sizeof("that"))) {
if (CG(active_class_entry) && (opline.op2.op_type == IS_CONST)) {
if (zend_hash_exists(&CG(active_class_entry)->private_properties, opline.op2.u.constant.value.str.val, opline.op2.u.constant.value.str.len+1)) {
char *priv_name;
zend_hash_init(new_object->properties, 0, NULL, ZVAL_PTR_DTOR, 0);
ZEND_INIT_SYMTABLE(&symbol_table);
- ZEND_SET_SYMBOL(&symbol_table, "clone", old_obj);
+ ZEND_SET_SYMBOL(&symbol_table, "that", old_obj);
call_user_function_ex(NULL, &new_obj, clone_func_name, &retval_ptr, 0, NULL, 0, &symbol_table TSRMLS_CC);