Skip to content

Commit f3233d5

Browse files
committed
formatting
1 parent 139c666 commit f3233d5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

frankenphp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,8 @@ PHP_FUNCTION(frankenphp_handle_request) {
467467
* closing the connection.
468468
*/
469469
if (EG(exception)) {
470-
if(!zend_is_unwind_exit(EG(exception)) && !zend_is_graceful_exit(EG(exception))){
470+
if (!zend_is_unwind_exit(EG(exception)) &&
471+
!zend_is_graceful_exit(EG(exception))) {
471472
zend_exception_error(EG(exception), E_ERROR);
472473
} else {
473474
/* exit() will jump directly to after php_execute_script */

testdata/dd.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
// simulate Symfony's dd() behavior
4+
// see https://github.com/symfony/http-kernel/blob/7.3/DataCollector/DumpDataCollector.php#L216
45
class Dumper
56
{
67
private string $message;
@@ -25,5 +26,5 @@ public function __destruct()
2526
$dumper->dump($_GET['output']);
2627
exit(1);
2728
})) {
28-
// noop
29+
// keep handling requests
2930
}

0 commit comments

Comments
 (0)