-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Dump & die function #26906
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
Dump & die function #26906
Conversation
New features are never added in maintenance branch. And this feature has already been rejected multiple times in the past. |
Why? Is it too simply? |
I think that it's an added value. Otherwise why was this feature requested multiple times? |
Count all the people shooting down those 4 requests and the lack of support for them from others 😉 |
@curry684 |
It's code. It has to be maintained. It has to be documented. It's an attack vector. Every line of code in a project is at some point going to be a burden on people managing the project. "Code is not done when there's nothing left to add, but when there's nothing left to take away" Now convenience functions are in themselves not necessarily wrong, assuming they're covering the 80+% use case (technically it becomes a facade then). In this case it most certainly doesn't, I can't remember typing |
Still -1 for me. |
👎 for me too. I am closing here as this was already rejected in the past and the core team still isn't convinced about the feature. |
For reference, this is being reconsidered in #26970. |
…s-grekas) This PR was merged into the 4.1-dev branch. Discussion ---------- [VarDumper] Add dd() helper == dump() + exit() | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - By popular demand, I feel like we should reconsider our refusal for a `dd()` global helper. For past references, see #26965, #26906, #13657, #17267, #19096. Commits ------- a55916a [VarDumper] Add dd() helper == dump() + die()
Uh oh!
There was an error while loading. Please reload this page.