I don't remember the name of this function (or functions).

All I know is what it does: You call this function and whatever is echo()ed is assigned to a variable. Then you call the same function or possibly another function again once you're done collecting data.

Sound familiar to anyone? I'm asking because I want to be able to cache the output of some eval()ed code.