1.2.1409. Using Short Tags

The code makes use of short tags. Short tags are the following : <? . A full scripts looks like that : <? /* php code */ ?> .

It is recommended to avoid using short tags, and use standard PHP tags. This makes PHP code compatible with XML standards. Short tags used to be popular, but have lost it.

See also PHP Tags.

1.2.1409.1. Suggestions

  • Use full tags

1.2.1409.2. Specs

Short name

Structures/ShortTags

Rulesets

All, Appinfo, CE, PHP recommendations

Exakat since

0.8.4

PHP Version

With PHP 7.0 and older

Severity

Minor

Time To Fix

Instant (5 mins)

Precision

Very high

Features

short-tag, php-tag, echo-tag

ClearPHP

no-short-tags

Available in

Entreprise Edition, Community Edition, Exakat Cloud