summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_accelerator_util_funcs.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2013-06-10 11:22:19 +0400
committerDmitry Stogov <dmitry@zend.com>2013-06-10 11:22:19 +0400
commit540488bf55746a36363c56462e939a56550e3717 (patch)
treeeec7be20004da6b9ceebd65db3411564e886b76f /ext/opcache/zend_accelerator_util_funcs.h
parent2e9d3e8b39c19ffba559b685f7ed96fee28cba59 (diff)
downloadphp-git-540488bf55746a36363c56462e939a56550e3717.tar.gz
Compact HashTables before storing them in shared memory
Diffstat (limited to 'ext/opcache/zend_accelerator_util_funcs.h')
-rw-r--r--ext/opcache/zend_accelerator_util_funcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/opcache/zend_accelerator_util_funcs.h b/ext/opcache/zend_accelerator_util_funcs.h
index a926145c98..ddaae86b28 100644
--- a/ext/opcache/zend_accelerator_util_funcs.h
+++ b/ext/opcache/zend_accelerator_util_funcs.h
@@ -28,6 +28,7 @@
void zend_accel_copy_internal_functions(TSRMLS_D);
zend_persistent_script* create_persistent_script(void);
+int compact_persistent_script(zend_persistent_script *script);
void free_persistent_script(zend_persistent_script *persistent_script, int destroy_elements);
void zend_accel_free_user_functions(HashTable *ht TSRMLS_DC);