Skip to content

Conversation

@nicolas-grekas
Copy link
Member

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

in a shell:

FOO='bar
baz'

is legal to set a value to (in PHP):

"bar\nbaz"

@fabpot
Copy link
Member

fabpot commented Oct 18, 2019

Thank you @nicolas-grekas.

fabpot added a commit that referenced this pull request Oct 18, 2019
This PR was merged into the 3.4 branch.

Discussion
----------

[Dotenv] allow LF in single-quoted strings

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

in a shell:
```sh
FOO='bar
baz'
```

is legal to set a value to (in PHP):
```php
"bar\nbaz"
```

Commits
-------

4d79116 [Dotenv] allow LF in single-quoted strings
@fabpot fabpot merged commit 4d79116 into symfony:3.4 Oct 18, 2019
@nicolas-grekas nicolas-grekas deleted the de-lf branch October 18, 2019 14:36
This was referenced Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants