summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2010-02-07 11:40:29 (GMT)
committerJani Taskinen <jani@php.net>2010-02-07 11:40:29 (GMT)
commit7a303b33289114bbf35efd644ce20d811d9a11cb (patch)
tree12c9f281af83cf6565ac302614ab58ceb8739287 /Zend
parent1947334023c101fb1ad455dd0e18d44dd5a2ec94 (diff)
downloadphp-7a303b33289114bbf35efd644ce20d811d9a11cb.tar.gz
- Fixed bug #50952 (allow underscore _ in constants parsed in php.ini files)
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_ini_scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_ini_scanner.l b/Zend/zend_ini_scanner.l
index bd174a9..741dcc0 100644
--- a/Zend/zend_ini_scanner.l
+++ b/Zend/zend_ini_scanner.l
@@ -336,7 +336,7 @@ ANY_CHAR (.|[\n\t])
NEWLINE ("\r"|"\n"|"\r\n")
TABS_AND_SPACES [ \t]
WHITESPACE [ \t]+
-CONSTANT [a-zA-Z][a-zA-Z0-9_]*
+CONSTANT [a-zA-Z_][a-zA-Z0-9_]*
LABEL [^=\n\r\t;|&$~(){}!"\[]+
TOKENS [:,.\[\]"'()|^&+-/*=%$!~<>?@{}]
OPERATORS [&|~()!]