Introduction - Options

Introduction - Options

Introduction - Options -- Defining and processing options

The returned options array

The return value is an array of two elements: the list of parsed options and the list of non-option command-line arguments. Each entry in the list of parsed options is a pair of elements - the first one specifies the option, and the second one specifies the option argument, if there was one, else the value is NULL.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.