Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Removes dd() workaround for Frankenphp. #945

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

AlliBalliBaba
Copy link
Contributor

Symfony's dd() function natively calls the exit method, which is not supported in Swoole and RoadRunner. Octane therefore uses a special DdException as a workaround.

This exception will lead to slightly different behaviour though (200 status code instead of 500) as discussed here

For Frankenphp this workaround is not necessary since it handles exit regularly. This PR removes the workaround when booting Frankenphp and restores the default behaviour.

@taylorotwell taylorotwell merged commit d1acd65 into laravel:2.x Sep 9, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants