Skip to content

Commit 19fef8c

Browse files
authored
Enable userland error handler when compiling in OPcache
1 parent ed1e47e commit 19fef8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1804,7 +1804,7 @@ static zend_persistent_script *opcache_compile_file(zend_file_handle *file_handl
18041804
ZVAL_COPY_VALUE(&orig_user_error_handler, &EG(user_error_handler));
18051805

18061806
/* Override them with ours */
1807-
ZVAL_UNDEF(&EG(user_error_handler));
1807+
//ZVAL_UNDEF(&EG(user_error_handler));
18081808
if (ZCG(accel_directives).record_warnings) {
18091809
zend_begin_record_errors();
18101810
}

0 commit comments

Comments
 (0)