Correct behavior on PHP environmental variables