This commit is contained in:
Dmitry Stogov 2017-12-12 19:01:10 +03:00
parent fe4c7898d8
commit 76e4c8ba73

View file

@ -534,7 +534,7 @@ static zend_always_inline int valid_environment_name(const char *name, const cha
const char *s;
for (s = name; s < end; s++) {
if (*s == ' ' | *s == '.' || *s == '[') {
if (*s == ' ' || *s == '.' || *s == '[') {
return 0;
}
}