summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-10-22 17:52:56 +0300
committerDmitry Stogov <dmitry@zend.com>2019-10-22 17:52:56 +0300
commit1417352dda354c22db43a8d4dbaa967575e2720c (patch)
treec81334fc746ea0ea86635c68abf89a8ea94c96c9 /Zend/zend_compile.h
parent1c9bfcb6a766d4062f2dd1e594b30831d59cc36c (diff)
downloadphp-git-1417352dda354c22db43a8d4dbaa967575e2720c.tar.gz
Allow loading FFI bindings through ffi.preload directive
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index 499d0d64b6..c21554e464 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -1094,6 +1094,9 @@ END_EXTERN_C()
/* disable jumptable optimization for switch statements */
#define ZEND_COMPILE_NO_JUMPTABLES (1<<16)
+/* this flag is set when compiler invoked during preloading in separate process */
+#define ZEND_COMPILE_PRELOAD_IN_CHILD (1<<17)
+
/* The default value for CG(compiler_options) */
#define ZEND_COMPILE_DEFAULT ZEND_COMPILE_HANDLE_OP_ARRAY