Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Introduce dump_die to directly output result#13657
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
rvanlaak commentedFeb 11, 2015
| Q | A |
|---|---|
| Bug fix? | no |
| New feature? | yes |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | |
| License | MIT |
| Doc PR | symfony/symfony-docs#4988 |
nicolas-grekas commentedFeb 11, 2015
This do not save a single keystroke... What about d() + dd()? I'm not sure others would agree though |
rvanlaak commentedFeb 11, 2015
Some other helpers would be usefull. Was inspired by the Ladybug Helpers |
fabpot commentedFeb 11, 2015
I don't see a big value in adding more "shortcuts"; it makes things more difficult to learn and more confusing IMO. |
stof commentedFeb 15, 2015
I agree with@fabpot here |
garf commentedJan 5, 2016
It makes debugging easier and It's a helper. There is no need to learn it. You can only discover it suddenly and become happy. |
ivoba commentedNov 3, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Uh i just wanted to open a PR for this. Btw the implementation here wont work, it will show the line of the dump call, which is inside of dump_die. |
nicolas-grekas commentedApr 18, 2018
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()
ivoba commentedApr 19, 2018
nice! |