Skip to content

Commit 277b24d

Browse files
committed
ext/opcache/ZendAccelerator: export opcache_compile_file()
1 parent d875f42 commit 277b24d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,7 @@ static void replay_warnings(uint32_t num_warnings, zend_error_info **warnings) {
17581758
}
17591759
}
17601760

1761-
static zend_persistent_script *opcache_compile_file(zend_file_handle *file_handle, int type, zend_op_array **op_array_p)
1761+
zend_persistent_script *opcache_compile_file(zend_file_handle *file_handle, int type, zend_op_array **op_array_p)
17621762
{
17631763
zend_persistent_script *new_persistent_script;
17641764
uint32_t orig_functions_count, orig_class_count;

ext/opcache/ZendAccelerator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ int accelerator_shm_read_lock(void);
344344
void accelerator_shm_read_unlock(void);
345345

346346
zend_string *accel_make_persistent_key(zend_string *path);
347+
zend_persistent_script *opcache_compile_file(zend_file_handle *file_handle, int type, zend_op_array **op_array_p);
347348
zend_op_array *persistent_compile_file(zend_file_handle *file_handle, int type);
348349

349350
#define IS_ACCEL_INTERNED(str) \

0 commit comments

Comments
 (0)