Skip to content

Commit f182352

Browse files
committed
Compile in opcache without COMPILE_IGNORE_INTERNAL_CLASSES
I don't believe there's a reason to compile with this flag. We don't rely on fixed addresses anyway, relying on the signatures of the symbols themselves should be fine. The same goes for file cache itself, as we don't allow loading cache files across PHP versions.
1 parent 004f3d5 commit f182352

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,6 @@ static zend_persistent_script *opcache_compile_file(zend_file_handle *file_handl
18091809
zend_try {
18101810
orig_compiler_options = CG(compiler_options);
18111811
CG(compiler_options) |= ZEND_COMPILE_HANDLE_OP_ARRAY;
1812-
CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES;
18131812
CG(compiler_options) |= ZEND_COMPILE_DELAYED_BINDING;
18141813
CG(compiler_options) |= ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION;
18151814
CG(compiler_options) |= ZEND_COMPILE_IGNORE_OTHER_FILES;

0 commit comments

Comments
 (0)