diff --git a/rayaop.php b/rayaop.php index bba384f..a9bd42b 100644 --- a/rayaop.php +++ b/rayaop.php @@ -2,15 +2,6 @@ require __DIR__ . '/php-src/InterceptedInterface.php'; -function segfault_handler($signo, $siginfo, $context) -{ - $backtrace = debug_backtrace(); - error_log("Segmentation fault occurred. Backtrace:\n" . print_r($backtrace, true)); - exit(1); -} - -pcntl_signal(SIGSEGV, "segfault_handler"); - class Intercepted implements Ray\Aop\MethodInterceptorInterface { public function intercept(object $object, string $method, array $params): mixed