public function initial($collection=null, $n=null) {
    list($collection, $n) = self::_wrapArgs(func_get_args(), 2);
    
    $collection = (array) self::_collection($collection);
    
    if(is_null($n)) $n = 1;
    $first_index = count($collection) - $n;
    $__ = new self;
    return self::_wrap($__->first($collection, $first_index));
  }
public function initial($collection=null, $n=null) {
    list($collection, $n) = self::_wrapArgs(func_get_args(), 2);
    
    $collection = (array) self::_collection($collection);
    
    if(is_null($n)) $n = 1;
    $first_index = count($collection) - $n;
    $__ = new self;
    return self::_wrap($__->first($collection, $first_index));
  }
public function initial ( $ collection = null , $ n = null ) { list ( $ collection , $ n ) = self :: _wrapArgs ( func_get_args ( ) , 2 ) ; $ collection = ( array ) self :: _collection ( $ collection ) ; if ( is_null ( $ n ) ) $ n = 1 ; $ first_index = count ( $ collection ) - $ n ; $ __ = new self ; return self :: _wrap ( $ __ -> first ( $ collection , $ first_index ) ) ; }
Return everything but the last array element. Passing n excludes the last n elements.
Return everything but the last array element . Passing n excludes the last n elements .