Skip to content

Commit 7a303b3

Browse files
author
Jani Taskinen
committed
- Fixed bug #50952 (allow underscore _ in constants parsed in php.ini files)
1 parent 1947334 commit 7a303b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_ini_scanner.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ ANY_CHAR (.|[\n\t])
336336
NEWLINE ("\r"|"\n"|"\r\n")
337337
TABS_AND_SPACES [ \t]
338338
WHITESPACE [ \t]+
339-
CONSTANT [a-zA-Z][a-zA-Z0-9_]*
339+
CONSTANT [a-zA-Z_][a-zA-Z0-9_]*
340340
LABEL [^=\n\r\t;|&$~(){}!"\[]+
341341
TOKENS [:,.\[\]"'()|^&+-/*=%$!~<>?@{}]
342342
OPERATORS [&|~()!]

0 commit comments

Comments
 (0)