1.2.1099. Shell Usage¶
List of shell calls to system.
<?php
// Using backtick operator
$a = `ls -hla`;
// Using one of PHP native or extension functions
$a = shell_exec('ls -hla');
$b = \pcntl_exec('/path/to/command');
?>
See also shell_exec and Execution Operators.
1.2.1099.1. Connex PHP features¶
1.2.1099.1.1. Specs¶
Short name |
Structures/ShellUsage |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |