summaryrefslogtreecommitdiff
path: root/ext/opcache/ZendAccelerator.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2013-09-25 12:14:06 +0400
committerDmitry Stogov <dmitry@zend.com>2013-09-25 12:14:06 +0400
commit69454d9f0f765416f245acbc626b3984dcbf5e1d (patch)
treea1df87900f1e31a61df9f157b36f59b0f5668691 /ext/opcache/ZendAccelerator.h
parentdc8705c256cd1d50cfa276e8de31558e089eab92 (diff)
downloadphp-git-69454d9f0f765416f245acbc626b3984dcbf5e1d.tar.gz
Added function opcache_compile_file() to load PHP scripts into cache without execution.
Diffstat (limited to 'ext/opcache/ZendAccelerator.h')
-rw-r--r--ext/opcache/ZendAccelerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/opcache/ZendAccelerator.h b/ext/opcache/ZendAccelerator.h
index 361b60b08f..f223f126e4 100644
--- a/ext/opcache/ZendAccelerator.h
+++ b/ext/opcache/ZendAccelerator.h
@@ -325,6 +325,7 @@ int accelerator_shm_read_lock(TSRMLS_D);
void accelerator_shm_read_unlock(TSRMLS_D);
char *accel_make_persistent_key_ex(zend_file_handle *file_handle, int path_length, int *key_len TSRMLS_DC);
+zend_op_array *persistent_compile_file(zend_file_handle *file_handle, int type TSRMLS_DC);
#if !defined(ZEND_DECLARE_INHERITED_CLASS_DELAYED)
# define ZEND_DECLARE_INHERITED_CLASS_DELAYED 145