1.2.939. PHP Arrays Index¶
List of indexes used when manipulating PHP arrays in the code. These indices usually carry semantic meanings, and should always be readable.
<?php
// HTTP_HOST is a PHP array index.
$ip = 'http'.$_SERVER['HTTP_HOST'].'/'.$row['path'];
//'path' is not a PHP index
?>
1.2.939.1. Connex PHP features¶
1.2.939.1.1. Specs¶
Short name |
Arrays/Phparrayindex |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
High |
Available in |