Skip to content

Commit 46fa940

Browse files
Added more upgrading detail to the readme (#316)
1 parent 21ede8b commit 46fa940

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ New in Version 3 is first-class support for multiline variables
1717
([#301](https://github.com/vlucas/phpdotenv/pull/301)) and much more
1818
flexibility in terms of which parts of the environment we try to read and
1919
modify ([#300](https://github.com/vlucas/phpdotenv/pull/300)). Consequently,
20-
you will need to replace any occurences of `new Dotenv(...)` with
20+
you will need to replace any occurrences of `new Dotenv(...)` with
2121
`Dotenv::create(...)`, since our new native constructor takes loader instance
2222
now, so that it can be truly customized if required. Finally, one should note
23-
that starting from V3, the loader will no longer be trimming values
24-
([#302](https://github.com/vlucas/phpdotenv/pull/302)).
23+
the loader will no longer be trimming values
24+
([#302](https://github.com/vlucas/phpdotenv/pull/302)), moreover
25+
`Loader::load()` and its callers now return an associative array of the
26+
variables loaded with their values, rather than an array of raw lines from the
27+
environment file ([#306](https://github.com/vlucas/phpdotenv/pull/306)).
28+
29+
For more details, please see the
30+
[release notes](https://github.com/vlucas/phpdotenv/releases/tag/v3.0.0).
2531

2632

2733
Why .env?

0 commit comments

Comments
 (0)