Browse Source

prevent xdebug from crashing

PHP-5
Harald Radi 24 years ago
parent
commit
53d70b2c14
  1. 4
      main/main.c

4
main/main.c

@ -1065,6 +1065,10 @@ void php_request_shutdown(void *dummy)
{
TSRMLS_FETCH();
/* EG(opline_ptr) points into nirvana and therefore cannot be safely accessed
inside zend_executor callback functions. */
EG(opline_ptr) = NULL;
zend_try {
php_end_ob_buffers((zend_bool)(SG(request_info).headers_only?0:1) TSRMLS_CC);
} zend_end_try();

Loading…
Cancel
Save