Lines Matching refs:args
26 protected $args = array(); variable in splitbrain\\phpcli\\Options
60 $this->args = $this->readPHPArgv();
61 $this->bin = basename(array_shift($this->args));
193 $argc = count($this->args);
225 $argc = count($this->args);
227 $arg = $this->args[$i];
232 $non_opts = array_merge($non_opts, array_slice($this->args, $i + 1));
238 $non_opts = array_merge($non_opts, array_slice($this->args, $i));
244 $non_opts = array_merge($non_opts, array_slice($this->args, $i));
260 … if (is_null($val) && $i + 1 < $argc && !preg_match('/^--?[\w]/', $this->args[$i + 1])) {
261 $val = $this->args[++$i];
286 if ($i + 1 < $argc && !preg_match('/^--?[\w]/', $this->args[$i + 1])) {
287 $val = $this->args[++$i];
300 $this->args = $non_opts;
303 if (!$this->command && $this->args && isset($this->setup[$this->args[0]])) {
305 $this->command = array_shift($this->args);
353 return $this->args;