Releases: oscarotero/env
Releases · oscarotero/env
1.2.0
Added
- New constant
Env::LOCAL_FIRST
to get first the values of locally-set environment variables [#6].
Fixed
- Added requirement for ctype extension in composer.json [#4].
1.1.0
Added
- New constant
Env::USE_ENV_ARRAY
to get the values using $_ENV
array instead getenv()
#3.
Fixed
- Fixed test in php versions 5.2 and 7.x
1.0.2
Env::init()
checks if the function env()
exists, to prevent fatal errors on declare the function twice. If the funcion couldn't be included, returns false, otherwise returns true #1.
Env::init(); //returns true
Env::init(); //returns false
1.0.1
Fixed error on strip quotes to empty strings