_parseLongOption(
$arg ,
$long_options ,
$opts ,
$args )
|
|
Parámetros:
|
|
$arg: |
|
|
|
$long_options: |
|
|
|
$opts: |
|
|
|
$args: |
|
_parseShortOption(
$arg ,
$short_options ,
$opts ,
$args )
|
|
Parámetros:
|
|
$arg: |
|
|
|
$short_options: |
|
|
|
$opts: |
|
|
|
$args: |
|
doGetopt(
$version ,
$args ,
$short_options ,
[
$long_options = null ] )
|
|
The actual implementation of the argument parsing code.
Parámetros:
|
|
$version: |
|
|
|
$args: |
|
|
|
$short_options: |
|
|
|
$long_options: |
|
getopt(
$args ,
$short_options ,
[
$long_options = null ] )
|
|
This function expects $args to start with the script name (POSIX-style).
Parámetros:
|
|
$args: |
|
|
|
$short_options: |
|
|
|
$long_options: |
|
Safely read the $argv PHP array across different PHP configurations.