Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/bin/
H A Dplugin.php39 global $argv;
40 $argv = $options->getArgs();
42 if ($argv) {
43 $plugin = $this->loadPlugin($argv[0]);
47 $this->fatal('Command {cmd} not found.', ['cmd' => $argv[0]]);
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DOptions.php480 * Safely read the $argv PHP array across different PHP configurations.
484 * @return array the $argv PHP array or PEAR error if not registered
488 global $argv;
489 if (!is_array($argv)) {
490 if (!@is_array($_SERVER['argv'])) {
491 if (!@is_array($GLOBALS['HTTP_SERVER_VARS']['argv'])) {
497 return $GLOBALS['HTTP_SERVER_VARS']['argv'];
499 return $_SERVER['argv'];
501 return $argv;
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php