diff --git a/components/var_dumper/introduction.rst b/components/var_dumper/introduction.rst index 086695c471c..e4875649516 100644 --- a/components/var_dumper/introduction.rst +++ b/components/var_dumper/introduction.rst @@ -42,8 +42,9 @@ use instead of e.g. :phpfunction:`var_dump`. By using it, you'll gain: For example:: require __DIR__.'/vendor/autoload.php'; + // create a variable, which could be anything! - $someVar = '...'; + $someVar = ...; dump($someVar); @@ -70,14 +71,14 @@ current PHP SAPI: #. Run ``composer global require symfony/var-dumper``; #. Add ``auto_prepend_file = ${HOME}/.composer/vendor/autoload.php`` to your ``php.ini`` file; - #. From time to time, run ``composer global update`` to have the latest - bug fixes. + #. From time to time, run ``composer global update symfony/var-dumper`` + to have the latest bug fixes. DebugBundle and Twig Integration -------------------------------- -The ``DebugBundle`` allows greater integration of the component into the -Symfony full stack framework. It is enabled by default in the *dev* and *test* +The DebugBundle allows greater integration of the component into the Symfony +full-stack framework. It is enabled by default in the *dev* and *test* environment of the standard edition since version 2.6. Since generating (even debug) output in the controller or in the model @@ -98,43 +99,9 @@ Choosing between both is mostly a matter of personal taste, still: be suited to your use case (e.g. you shouldn't use it in an HTML attribute or a ``