Skip to content

PHP "short echo tag" not supported #4

@fredericgboutin-yapla

Description

@fredericgboutin-yapla

I was trying the plugin and was doing fine except I got the famous "Unexpected token <" error only to find out that my PHP code is using what is call "short echo tags" - i.e. <?= ... ?> - which is not actually supported, see https://github.com/tengattack/eslint-plugin-php-markup/blob/master/lib/index.js#L134

Reference: https://www.php.net/manual/en/language.basic-syntax.phptags.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions