{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony-docs/issues/5177","labels_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5177/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5177/comments","events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5177/events","html_url":"https://github.com/symfony/symfony-docs/issues/5177","id":68305365,"number":5177,"title":"Changing echo/print in examples to use (var_)dump","user":{"login":"iltar","id":1754678,"avatar_url":"https://avatars.githubusercontent.com/u/1754678?v=3","gravatar_id":"","url":"https://api.github.com/users/iltar","html_url":"https://github.com/iltar","followers_url":"https://api.github.com/users/iltar/followers","following_url":"https://api.github.com/users/iltar/following{/other_user}","gists_url":"https://api.github.com/users/iltar/gists{/gist_id}","starred_url":"https://api.github.com/users/iltar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iltar/subscriptions","organizations_url":"https://api.github.com/users/iltar/orgs","repos_url":"https://api.github.com/users/iltar/repos","events_url":"https://api.github.com/users/iltar/events{/privacy}","received_events_url":"https://api.github.com/users/iltar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T08:41:52Z","updated_at":"2015-04-14T08:42:55Z","closed_at":null,"body":"I think the code should be looked through and see if usages of echo and print can be limited. I think the best replacement could be a reference to `dump()` to output data, but a `var_dump()` could be sufficient too, depending on whether it's framework or a component documentation. An example of using `echo` can be found on [/components/event_dispatcher/introduction.html#event-name-introspection](http://symfony.com/doc/current/components/event_dispatcher/introduction.html#event-name-introspection)"},"comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments/92697811","html_url":"https://github.com/symfony/symfony-docs/issues/5177#issuecomment-92697811","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/5177","id":92697811,"user":{"login":"WouterJ","id":749025,"avatar_url":"https://avatars.githubusercontent.com/u/749025?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterJ","html_url":"https://github.com/WouterJ","followers_url":"https://api.github.com/users/WouterJ/followers","following_url":"https://api.github.com/users/WouterJ/following{/other_user}","gists_url":"https://api.github.com/users/WouterJ/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterJ/subscriptions","organizations_url":"https://api.github.com/users/WouterJ/orgs","repos_url":"https://api.github.com/users/WouterJ/repos","events_url":"https://api.github.com/users/WouterJ/events{/privacy}","received_events_url":"https://api.github.com/users/WouterJ/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T08:42:54Z","updated_at":"2015-04-14T08:42:54Z","body":"Actually, why don't we remove the echo and just use `// ...`?"}}