public function get(int $address = null): int {
        
        if ($address == null) {
            $temp = $this->value++;
            $this->memory[$this->lenght] = $temp;
            $this->lenght++;
            return $temp;
        } else {
            if ($address > -1) {
               return $this->memory[$address];
           }
        }
    }
public function get(int $address = null): int {
        
        if ($address == null) {
            $temp = $this->value++;
            $this->memory[$this->lenght] = $temp;
            $this->lenght++;
            return $temp;
        } else {
            if ($address > -1) {
               return $this->memory[$address];
           }
        }
    }
public function get ( int $ address = null ) : int { if ( $ address == null ) { $ temp = $ this -> value ++ ; $ this -> memory [ $ this -> lenght ] = $ temp ; $ this -> lenght ++ ; return $ temp ; } else { if ( $ address > - 1 ) { return $ this -> memory [ $ address ] ; } } }
Autogenera un numero entero de forma correlativa.
@link http://php.net/manual/es/
@return int Se retorna un numero entero autogenerado.
Autogenera un numero entero de forma correlativa .