mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Export zend_init_func_run_time_cache()
This commit is contained in:
commit
b1577f5a57
2 changed files with 8 additions and 0 deletions
|
@ -3571,6 +3571,13 @@ ZEND_API zend_function * ZEND_FASTCALL zend_fetch_function_str(const char *name,
|
|||
return NULL;
|
||||
} /* }}} */
|
||||
|
||||
ZEND_API void ZEND_FASTCALL zend_init_func_run_time_cache(zend_op_array *op_array) /* {{{ */
|
||||
{
|
||||
if (!RUN_TIME_CACHE(op_array)) {
|
||||
init_func_run_time_cache_i(op_array);
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
static zend_always_inline void i_init_code_execute_data(zend_execute_data *execute_data, zend_op_array *op_array, zval *return_value) /* {{{ */
|
||||
{
|
||||
ZEND_ASSERT(EX(func) == (zend_function*)op_array);
|
||||
|
|
|
@ -312,6 +312,7 @@ ZEND_API zend_class_entry *zend_fetch_class_by_name(zend_string *class_name, zen
|
|||
|
||||
ZEND_API zend_function * ZEND_FASTCALL zend_fetch_function(zend_string *name);
|
||||
ZEND_API zend_function * ZEND_FASTCALL zend_fetch_function_str(const char *name, size_t len);
|
||||
ZEND_API void ZEND_FASTCALL zend_init_func_run_time_cache(zend_op_array *op_array);
|
||||
|
||||
ZEND_API void zend_fetch_dimension_const(zval *result, zval *container, zval *dim, int type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue