forTagSyntaxError example

if ($this->tempData === null) {
            $this->tempData = $this->data;
        }

        extract($this->tempData);

        try {
            eval('?>' . $template . '<?php ');
        } catch (ParseError $e) {
            ob_end_clean();

            throw ViewException::forTagSyntaxError(str_replace(['?>', '<?php '], '', $template));
        }

        return ob_get_clean();
    }

    /** * Over-ride the substitution field delimiters. * * @param string $leftDelimiter * @param string $rightDelimiter */
    
Home | Imprint | This part of the site doesn't use cookies.