Code Duplication    Length = 8-8 lines in 4 locations

lib/ar/html/zen.php 1 location

@@ 177-184 (lines=8) @@
174
					case $this->class_whitespace[$yych] === $yych:
175
						$yych = $YYBUFFER[++$YYCURSOR]; continue;
176
					break;
177
					case $this->class_number[$yych] === $yych:
178
						$value = "";
179
						while ($this->class_number[$yych] == $yych && ($yych != "\000")) {
180
							$value .= $yych;
181
							$yych = $YYBUFFER[++$YYCURSOR];
182
						}
183
						return ar_html_zen::T_NUMBER;
184
					break;
185
					case $this->class_ident_start[$yych] === $yych:
186
						$value = $yych;
187
						$yych = $YYBUFFER[++$YYCURSOR];

lib/ar/listExpression.php 1 location

@@ 363-370 (lines=8) @@
360
						}
361
						return ar_listExpression::T_NUMBER;
362
					break;
363
					case $this->class_ident[$yych] === $yych:
364
						$value = "";
365
						while ($this->class_ident[$yych] == $yych && ($yych != "\000")) {
366
							$value .= $yych;
367
							$yych = $YYBUFFER[++$YYCURSOR];
368
						}
369
						return ar_listExpression::T_IDENT;
370
					break;
371
					case "\000" === $yych:
372
						$value = $yych;
373
						return ar_listExpression::T_EOF;

lib/modules/mod_selector/scanner.php 2 locations

@@ 132-139 (lines=8) @@
129
						}
130
						return $value;
131
					break;
132
					case $this->class_number[$yych] === $yych:
133
						$value = "";
134
						while ($this->class_number[$yych] == $yych && ($yych != "\000")) {
135
							$value .= $yych;
136
							$yych = $YYBUFFER[++$YYCURSOR];
137
						}
138
						return T_NUMBER;
139
					break;
140
					case $this->class_ident[$yych] === $yych:
141
						$value = "";
142
						while ($this->class_ident[$yych] == $yych && ($yych != "\000")) {
@@ 140-147 (lines=8) @@
137
						}
138
						return T_NUMBER;
139
					break;
140
					case $this->class_ident[$yych] === $yych:
141
						$value = "";
142
						while ($this->class_ident[$yych] == $yych && ($yych != "\000")) {
143
							$value .= $yych;
144
							$yych = $YYBUFFER[++$YYCURSOR];
145
						}
146
						return T_IDENT;
147
					break;
148
					case "\000" === $yych:
149
						$value = $yych;
150
						return T_EOF;