2

My question is simple, im trying to set some environment variables from data from a file, for use in other places in the app but i dont know why i should use $_ENV or why i should use putenv(). Ive read that they both store variables to an environment setting.

Question

Are putenv() and $_ENV the same thing in php? or are they truly different commands

Yasmin French
  • 1,154
  • 3
  • 12
  • 25

0 Answers0