[3.0] Broken up the loader, and made load() return the actual environment variables by GrahamCampbell · Pull Request #306 · vlucas/phpdotenv
Loader was starting to do a lot of things, especially after adding multiline support, so I've pulled out parsing of the file into entries into one class (Lines), and handing the parsing of an entry in (Parser).
Finally, I've changed the load method so that it returns the actual environment variables as an associative array, rather than the raw lines from the file.