Skip to content

[12.x] Replace die with dd #10322

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

Merged
merged 1 commit into from
Apr 10, 2025
Merged

[12.x] Replace die with dd #10322

merged 1 commit into from
Apr 10, 2025

Conversation

osbre
Copy link
Contributor

@osbre osbre commented Apr 9, 2025

die can cause problems if run in certain environments (Octane-based runtimes), since it's meant to "terminate a process". Plus, it's a nice opportunity to show readers the dd helper.

Reference in the case of RoadRunner (Octane):
https://spiral.dev/docs/basics-debug/current/en#avoid-using-die-and-exit-functions

@taylorotwell taylorotwell merged commit a77d8e7 into laravel:12.x Apr 10, 2025
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