| @@ 2594-2600 (lines=7) @@ | ||
| 2591 | } else { |
|
| 2592 | $output = '(($tmp = ' . $output . ') ? $this->getSecurityPolicy()->callMethod($this, $tmp, ' . var_export($method, true) . ', array' . $args . ') : null)'; |
|
| 2593 | } |
|
| 2594 | } else { |
|
| 2595 | if ($curBlock === 'root') { |
|
| 2596 | $output .= '->' . $parsedCall; |
|
| 2597 | } else { |
|
| 2598 | $output = '(($tmp = ' . $output . ') ? $tmp->' . $parsedCall . ' : null)'; |
|
| 2599 | } |
|
| 2600 | } |
|
| 2601 | } |
|
| 2602 | } |
|
| 2603 | ||
| @@ 2652-2658 (lines=7) @@ | ||
| 2649 | $output = '$this->readParentVar(1)'; |
|
| 2650 | } elseif ($key === '_key') { |
|
| 2651 | $output = '$tmp_key'; |
|
| 2652 | } else { |
|
| 2653 | if ($curBlock === 'root') { |
|
| 2654 | $output = '$this->scope["' . $key . '"]'; |
|
| 2655 | } else { |
|
| 2656 | $output = '(isset($this->scope["' . $key . '"]) ? $this->scope["' . $key . '"] : null)'; |
|
| 2657 | } |
|
| 2658 | } |
|
| 2659 | } else { |
|
| 2660 | preg_match_all('#(\[|->|\.)?((?:[a-z0-9_]|-(?!>))+|(\\\?[\'"])[^\3]*?\3)\]?#i', $key, $m); |
|
| 2661 | ||