1.2.1323. Use Cli¶
Signal the usage of code in CLI mode, through the usage of $argv
and $argc
variables, or the getopt() function.
<?php
// Characteristics of CLI usage
getopt("abcd");
?>
1.2.1323.1. Connex PHP features¶
1.2.1323.1.1. Specs¶
Short name |
Php/UseCli |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
High |
Available in |