Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEY=0 value is not "0" #100

Closed
gokure opened this issue Jul 4, 2015 · 4 comments
Closed

KEY=0 value is not "0" #100

gokure opened this issue Jul 4, 2015 · 4 comments

Comments

@gokure
Copy link

gokure commented Jul 4, 2015

Hi,

# .env config file

KEY=0 # ""
KEY="0" # "0"

The number zero 0 (not quoted) should assert to blank "", this is the bug or feature?

@GrahamCampbell
Copy link
Collaborator

The number zero 0 (not quoted) should assert to blank ""

Why would it?

@gokure
Copy link
Author

gokure commented Jul 4, 2015

Sorry my pool English.

It is not "assert", is "got".

I got blank string "" rather than string "0" if I set KEY=0, this is bug or feature?

By the way, I used with Laravel 5.1.

@gokure gokure changed the title KEY=0 should assert to blank KEY=0 value is not "0" Jul 4, 2015
@gokure
Copy link
Author

gokure commented Jul 4, 2015

I'm sorry, This is different version, Laravel used old version of dotenv.

@gokure gokure closed this as completed Jul 4, 2015
@GrahamCampbell
Copy link
Collaborator

Try convincing Taylor to upgrade. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants