aydinugur
aydinugur

Reputation: 1209

PhpStorm does not recognize "<%=" tag

My php project is running with error free but PhpStorm does not recognize <%= tag as expected my PhpStorm version is: PhpStorm 2017.2.1 Build #PS-172.3544.41, built on August 2, 2017 The sample is below: PhpStorm screen shot

Upvotes: 2

Views: 102

Answers (1)

user149341
user149341

Reputation:

That's the ASP tag syntax, not the PHP syntax. Older versions of PHP used to support that syntax as an option, but it is no longer available in PHP 7.0 or later. You need to stop using it, as it makes your code incompatible with current versions of PHP.

Upvotes: 7

Related Questions