1.2.610. 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.610.1. Connex PHP features

1.2.610.1.1. Specs

Short name

Files/IsCliScript

Rulesets

All, Appinfo, CE

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

Very high

Available in

Entreprise Edition, Community Edition, Exakat Cloud