summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-12-12 19:01:10 +0300
committerDmitry Stogov <dmitry@zend.com>2017-12-12 19:01:10 +0300
commit76e4c8ba73c558fa1222a0733baaac975ad920ac (patch)
treeb4fe7d6bfcde06763b1299ff74781ef4bfdf56f8 /main/php_variables.c
parentfe4c7898d85b4958aa90daa6db332f7033f52694 (diff)
downloadphp-git-76e4c8ba73c558fa1222a0733baaac975ad920ac.tar.gz
typo
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index 0bbabcdfaf..c22859f957 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -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;
}
}