{"action":"created","issue":{"url":"https://api.github.com/repos/vlucas/phpdotenv/issues/66","labels_url":"https://api.github.com/repos/vlucas/phpdotenv/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/vlucas/phpdotenv/issues/66/comments","events_url":"https://api.github.com/repos/vlucas/phpdotenv/issues/66/events","html_url":"https://github.com/vlucas/phpdotenv/pull/66","id":56621113,"number":66,"title":"Parse line breaks","user":{"login":"b3njamin","id":896954,"avatar_url":"https://avatars.githubusercontent.com/u/896954?v=3","gravatar_id":"","url":"https://api.github.com/users/b3njamin","html_url":"https://github.com/b3njamin","followers_url":"https://api.github.com/users/b3njamin/followers","following_url":"https://api.github.com/users/b3njamin/following{/other_user}","gists_url":"https://api.github.com/users/b3njamin/gists{/gist_id}","starred_url":"https://api.github.com/users/b3njamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b3njamin/subscriptions","organizations_url":"https://api.github.com/users/b3njamin/orgs","repos_url":"https://api.github.com/users/b3njamin/repos","events_url":"https://api.github.com/users/b3njamin/events{/privacy}","received_events_url":"https://api.github.com/users/b3njamin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-05T03:01:25Z","updated_at":"2015-02-25T23:05:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vlucas/phpdotenv/pulls/66","html_url":"https://github.com/vlucas/phpdotenv/pull/66","diff_url":"https://github.com/vlucas/phpdotenv/pull/66.diff","patch_url":"https://github.com/vlucas/phpdotenv/pull/66.patch"},"body":"Converts escaped line breaks and makes them literal line breaks. Useful things like adding public or private keys to environment variables. "},"comment":{"url":"https://api.github.com/repos/vlucas/phpdotenv/issues/comments/76081085","html_url":"https://github.com/vlucas/phpdotenv/pull/66#issuecomment-76081085","issue_url":"https://api.github.com/repos/vlucas/phpdotenv/issues/66","id":76081085,"user":{"login":"kelvinj","id":31241,"avatar_url":"https://avatars.githubusercontent.com/u/31241?v=3","gravatar_id":"","url":"https://api.github.com/users/kelvinj","html_url":"https://github.com/kelvinj","followers_url":"https://api.github.com/users/kelvinj/followers","following_url":"https://api.github.com/users/kelvinj/following{/other_user}","gists_url":"https://api.github.com/users/kelvinj/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvinj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvinj/subscriptions","organizations_url":"https://api.github.com/users/kelvinj/orgs","repos_url":"https://api.github.com/users/kelvinj/repos","events_url":"https://api.github.com/users/kelvinj/events{/privacy}","received_events_url":"https://api.github.com/users/kelvinj/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T23:05:23Z","updated_at":"2015-02-25T23:05:23Z","body":"@b3njamin I can't make head nor tail of that article :smile_cat: In any case, I'm sure this PR doesn't yet cover the nuances outlined.\r\n\r\n> Shell does support this behavior, as noted by @b3njamin:\r\n> `export NEW_LINE=\"this has a new \\n line\" && echo $NEW_LINE`\r\n> Seems like if shell supports it, phpdotenv should too.\r\n\r\nI've tried on 3 different OSes and I don't get that behaviour:\r\n\r\n```bash\r\n-bash-4.1$ cat > .envtest\r\nexport LINEB1='awesome\\nmultiline\\nvalue'           \r\nexport LINEB2=\"awesome\\nmultiline\\nvalue\"           \r\nexport LINEB3=awesome\\nmultiline\\nvalue             \r\nexport LINEBVAR=crazy                               \r\nexport LINEB4=awesome\\n{$LINEBVAR}\\nmultiline\\nvalue\r\n^C\r\n-bash-4.1$ source .envtest \r\n-bash-4.1$ echo $LINEB1\r\nawesome\\nmultiline\\nvalue\r\n-bash-4.1$ echo $LINEB2\r\nawesome\\nmultiline\\nvalue\r\n-bash-4.1$ echo $LINEB3\r\nawesomenmultilinenvalue\r\n-bash-4.1$ echo $LINEB4\r\nawesomen{crazy}nmultilinenvalue\r\n-bash-4.1$\r\n```"}}