Study of accretion onto wormholes is rather rare compared to that onto black holes. In this paper, we consider accretion flow of cosmological dark energy modeled by barotropic fluid onto the celebrated Ellis–Bronnikov wormhole (EBWH) built by Einstein minimally coupled scalar field ϕ, violating the null energy condition. The accreting fluid is assumed to be phantom, quintessence, dust and stiff matter. We begin by first pointing out a mathematical novelty showing how the EBWH can lead to the Schwarzschild black hole under a complex Wick rotation. Then, we analyze the profiles of fluid radial velocity, density and the rate of mass variation of the EBWH due to accretion and compare the profiles with those of the Schwarzschild black hole. We also analyze accretion to the massless EBWH that has zero ADM mass but has what we call nonzero Wheelerian mass (“mass without mass”), composed of the non-trivial scalar field, that shows gravitational effects. Our conclusion is that the mass of SBH due to phantom accretion decreases consistently with known results, while, in contrast, the mass of EBWH increases. Exactly an opposite behavior emerges for non-phantom accretion to these two objects. Accretion to massless EBWH (i.e., to nonzero Wheelerian mass) shares the same patterns as those of the massive EBWH; hence there is no way to distinguish massive and massless cases by means of accretion flow. The contrasting mass variations due to phantom accretion could be a reflection of the distinct topology of the central objects.