|
@@ 1376-1381 (lines=6) @@
|
| 1373 |
|
} |
| 1374 |
|
|
| 1375 |
|
while ($first === ' ' || $first === "\n" || $first === "\t" || $first === "\r") { |
| 1376 |
|
if ($curBlock === 'root' && substr($in, $from, strlen($this->rd)) === $this->rd) { |
| 1377 |
|
// end template tag |
| 1378 |
|
$pointer += strlen($this->rd); |
| 1379 |
|
if ($this->debug) { |
| 1380 |
|
echo 'TEMPLATE PARSING ENDED' . "\n"; |
| 1381 |
|
} |
| 1382 |
|
|
| 1383 |
|
return false; |
| 1384 |
|
} |
|
@@ 1524-1529 (lines=6) @@
|
| 1521 |
|
|
| 1522 |
|
return $this->removeBlock($match[1]); |
| 1523 |
|
} |
| 1524 |
|
} elseif ($curBlock === 'root' && substr($substr, 0, strlen($this->rd)) === $this->rd) { |
| 1525 |
|
// end template tag |
| 1526 |
|
if ($this->debug) { |
| 1527 |
|
echo 'TAG PARSING ENDED' . "\n"; |
| 1528 |
|
} |
| 1529 |
|
$pointer += strlen($this->rd); |
| 1530 |
|
|
| 1531 |
|
return false; |
| 1532 |
|
} elseif (is_array($parsingParams) && preg_match('#^(([\'"]?)[a-z0-9_]+\2\s*=' . ($curBlock === 'array' ? '>?' : '') . ')(?:\s+|[^=]).*#i', $substr, $match)) { |