src/Observable.php
public function skipWhileWithIndex(callable $predicate): Observable
    {
        $index = 0;
        return $this->skipWhile(function ($value) use ($predicate, &$index) {
            return $predicate($index++, $value);
        });
    }
public function skipWhileWithIndex(callable $predicate): Observable
    {
        $index = 0;
        return $this->skipWhile(function ($value) use ($predicate, &$index) {
            return $predicate($index++, $value);
        });
    }
public function skipWhileWithIndex ( callable $ predicate ) : Observable { $ index = 0 ; return $ this -> skipWhile ( function ( $ value ) use ( $ predicate , & $ index ) { return $ predicate ( $ index ++ , $ value ) ; } ) ; }
Bypasses elements in an observable sequence as long as a specified condition is true and then returns the
remaining elements. The element's index is used in the logic of the predicate function.

@param callable $predicate A function to test each element for a condition; the first parameter of the
function represents the index of the source element, the second parameter is the value.

@return Observable An observable sequence that contains the elements from the input sequence starting
at the first element in the linear series that does not pass the test specified by predicate.

@demo skip/skipWhileWithIndex.php
@operator
@reactivex skipWhile
Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements . The element s index is used in the logic of the predicate function .