Introduction - Options (Previous) (Next) Console_Getopt::readPHPArgv

Last updated: Sun, 16 May 2004

Console_Getopt::getopt

Console_Getopt::getopt -- fetch the command-line options

Описание

Parses the command-line options and returns them.

Параметр

  • array $args - an array of command-line arguments

  • string $shortoptions - specifies the list of allowed short options. See the "Options" section for more information.

  • array $longoptions - specifies the list of allowed long options. Default is NULL. See the "Options" section for more information.

Возвращаемое значение

array - two-element array containing the list of parsed options and the non-option arguments or a PEAR_Error.

Заметка

Эта функция не должна вызываться статически.

Introduction - Options (Previous) (Next) Console_Getopt::readPHPArgv

Download Documentation Last updated: Sun, 16 May 2004
Hosting
HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ