1.2.614. Is PHP Constant¶
Mark a constant if it is a PHP constant.
<?php
// This is an PHP constant
$a = HTML_ENTITIES;
// This is an PHP function
$a = CMS_ORDER;
?>
1.2.614.1. Specs¶
Short name |
Constants/IsPhpConstant |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
High |
Features |
constant |
Available in |