src/Control/HTTPRequest.php
public function shiftAllParams()
    {
        $keys    = array_keys($this->allParams);
        $values  = array_values($this->allParams);
        $value   = array_shift($values);

        // push additional unparsed URL parts onto the parameter stack
        if (array_key_exists($this->unshiftedButParsedParts, $this->dirParts)) {
            $values[] = $this->dirParts[$this->unshiftedButParsedParts];
        }

        foreach ($keys as $position => $key) {
            $this->allParams[$key] = isset($values[$position]) ? $values[$position] : null;
        }

        return $value;
    }
public function shiftAllParams()
    {
        $keys    = array_keys($this->allParams);
        $values  = array_values($this->allParams);
        $value   = array_shift($values);

        // push additional unparsed URL parts onto the parameter stack
        if (array_key_exists($this->unshiftedButParsedParts, $this->dirParts)) {
            $values[] = $this->dirParts[$this->unshiftedButParsedParts];
        }

        foreach ($keys as $position => $key) {
            $this->allParams[$key] = isset($values[$position]) ? $values[$position] : null;
        }

        return $value;
    }
public function shiftAllParams ( ) { $ keys = array_keys ( $ this -> allParams ) ; $ values = array_values ( $ this -> allParams ) ; $ value = array_shift ( $ values ) ; // push additional unparsed URL parts onto the parameter stack if ( array_key_exists ( $ this -> unshiftedButParsedParts , $ this -> dirParts ) ) { $ values [ ] = $ this -> dirParts [ $ this -> unshiftedButParsedParts ] ; } foreach ( $ keys as $ position => $ key ) { $ this -> allParams [ $ key ] = isset ( $ values [ $ position ] ) ? $ values [ $ position ] : null ; } return $ value ; }
Shift all the parameter values down a key space, and return the shifted value.

@return string
Shift all the parameter values down a key space and return the shifted value .