1.2.607. Is CLI Script¶
Mark a file as a CLI script. This means that this code is used in command line. That detection is based on the usage of distinct CLI features, such as
#!
at the beginning of the file.
#!/usr/bin/php
<?php
echo PHP_VERSION;
?>
1.2.607.1. Specs¶
Short name |
Files/IsCliScript |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Features |
cli |
Available in |