@@ 275-277 (lines=3) @@ | ||
272 | ||
273 | switch ($base) { |
|
274 | case 10: |
|
275 | if ((is_numeric($this->ch) || $this->ch === '.') && ($match = $this->match('/^\d*\.?\d*/')) !== null) { |
|
276 | $string .= $match; |
|
277 | } |
|
278 | if (($this->ch === 'E' || $this->ch === 'e') && ($match = $this->match('/^[Ee][-+]?\d*/')) !== null) { |
|
279 | $string .= $match; |
|
280 | } |
|
@@ 278-280 (lines=3) @@ | ||
275 | if ((is_numeric($this->ch) || $this->ch === '.') && ($match = $this->match('/^\d*\.?\d*/')) !== null) { |
|
276 | $string .= $match; |
|
277 | } |
|
278 | if (($this->ch === 'E' || $this->ch === 'e') && ($match = $this->match('/^[Ee][-+]?\d*/')) !== null) { |
|
279 | $string .= $match; |
|
280 | } |
|
281 | $number = $string; |
|
282 | break; |
|
283 | case 16: |