Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Documentation for dump_die();#4988

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

Closed
rvanlaak wants to merge1 commit intosymfony:2.6fromrvanlaak:patch-1
Closed
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletionscomponents/var_dumper/introduction.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,6 +72,13 @@ current PHP SAPI:
to your ``php.ini`` file;
#. From time to time, run ``composer global update`` to have the latest
bug fixes.

The dump_die() Function
-------------------
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This needs to be of the same length as the headline.


When you do not want to execute any other code right after dumping a variable:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Should end with two colons to indicate that the next block is a PHP code block.


``dump_die($var);``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Should be indented by four spaces.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@xabbuh i think@fabpot rejected this PR head on don't it?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Exactly, think extra helpers will not be implemented. Otherwise I'll make
another docs PR

Op wo 11 feb. 2015 23:08 schreef Luis Cordovanotifications@github.com:

In components/var_dumper/introduction.rst
#4988 (comment):

@@ -72,6 +72,13 @@ current PHP SAPI:
to yourphp.ini file;
#. From time to time, runcomposer global update to have the latest
bug fixes.
+
+The dump_die() Function
+-------------------
+
+When you do not want to execute any other code right after dumping a variable:
+
+dump_die($var);

@xabbuhhttps://github.com/xabbuh i think@fabpot
https://github.com/fabpot rejected this PR head on don't it?


Reply to this email directly or view it on GitHub
https://github.com/symfony/symfony-docs/pull/4988/files#r24538600.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I didn't want to close this one as long as the code PR is open. We can then close here anyway soon enough.


DebugBundle and Twig Integration
--------------------------------
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp