Skip to content

Commit

Permalink
Correct the result_code argument name
Browse files Browse the repository at this point in the history
In the methods `passthru`, `exec` and `system`, the argument `result_code` was incorrectly named `return_var` in the function description
  • Loading branch information
usox authored and LolGleb committed Feb 16, 2024
1 parent 30b3723 commit 1e945e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions standard/standard_2.php
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ function unlink(string $filename, $context): bool {}
* exec.
* </p>
* @param int &$result_code [optional] <p>
* If the return_var argument is present
* If the result_code argument is present
* along with the output argument, then the
* return status of the executed command will be written to this
* variable.
Expand All @@ -682,7 +682,7 @@ function exec(string $command, &$output, &$result_code): string|false {}
* The command that will be executed.
* </p>
* @param int &$result_code [optional] <p>
* If the return_var argument is present, then the
* If the result_code argument is present, then the
* return status of the executed command will be written to this
* variable.
* </p>
Expand Down Expand Up @@ -720,7 +720,7 @@ function escapeshellarg(string $arg): string {}
* The command that will be executed.
* </p>
* @param int &$result_code [optional] <p>
* If the return_var argument is present, the
* If the result_code argument is present, the
* return status of the Unix command will be placed here.
* </p>
* @return bool|null null on success or false on failure.
Expand Down

0 comments on commit 1e945e5

Please sign in to comment.