File tree 2 files changed +0
-4
lines changed
2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -769,8 +769,6 @@ void nr_php_late_initialization(void) {
769
769
* our own error callback handler. Otherwise, we do.
770
770
*/
771
771
772
- #if ZEND_MODULE_API_NO < ZEND_8_0_X_API_NO \
773
- || defined OVERWRITE_ZEND_EXECUTE_DATA /* < PHP8 */
774
772
if (0 == zend_get_extension ("Xdebug" )) {
775
773
NR_PHP_PROCESS_GLOBALS (orig_error_cb ) = zend_error_cb ;
776
774
zend_error_cb = nr_php_error_cb ;
@@ -779,7 +777,6 @@ void nr_php_late_initialization(void) {
779
777
"the Xdebug extension prevents the New Relic agent from "
780
778
"gathering errors. No errors will be recorded." );
781
779
}
782
- #endif /* end of < PHP8 or not using OAPI*/
783
780
784
781
/*
785
782
* Install our signal handler, unless the user has set a special flag
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ void nr_php_observer_minit() {
94
94
* Register the Observer API handlers.
95
95
*/
96
96
zend_observer_fcall_register (nr_php_fcall_register_handlers );
97
- zend_observer_error_register (nr_php_error_cb );
98
97
99
98
/*
100
99
* For Observer API with PHP 8+, we no longer need to ovewrwrite the zend
You can’t perform that action at this time.
0 commit comments