1.2.615. Is PHP Structure

This rules marks atoms with isPhp, as part of the standard PHP elements. For example, Datetime, E_ALL, etc. This attribute is available in the engine, but not displayed.

<?php

// strtolower is marked as isPhp
$string = strtolower($s) . foo($s);

?>

1.2.615.1. Specs

Short name

Complete/IsPhpStructure

Rulesets

All, NoDoc

Exakat since

2.3.6

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

High

Available in

Entreprise Edition, Exakat Cloud