|
Main (PHP)
3rd Party Streams
Resources
Code Snippets
Affiliates
|
|
|
|
| |
Console_Getopt::readPHPArgvConsole_Getopt::readPHPArgv -- read the predefined $argv array Description
Reads the $argv PHP array across different PHP configurations.
Will take care of the register_globals and register_argc_argv ini
directives.
Return value
array - array containing the options and
parameters or PEAR_Error
Throws
Table 25-1. Possible PEAR_Error values | Error code | Error message | Reason | Solution |
|---|
| NULL |
"Console_Getopt: Could not read cmd args
(register_argc_argv=Off?)"
|
PHP does not provides the command-line arguments for the script.
|
Check "register_argc_argv" in your php.ini
|
NoteThis function can not be called
statically. |
|
|
| |
|
|
|
Top Sponsor
Sponsors
Sponsors
Advertisting
Affiliates
|
|