Searched refs:new_fn (Results 1 – 1 of 1) sorted by relevance
1145 zend_function *new_fn; in zend_add_trait_method() local1214 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_internal_function)); in zend_add_trait_method()1215 memcpy(new_fn, fn, sizeof(zend_internal_function)); in zend_add_trait_method()1216 new_fn->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED; in zend_add_trait_method()1218 new_fn = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); in zend_add_trait_method()1219 memcpy(new_fn, fn, sizeof(zend_op_array)); in zend_add_trait_method()1221 fn = zend_hash_update_ptr(&ce->function_table, key, new_fn); in zend_add_trait_method()
Completed in 8 milliseconds