> > That's not a "leak". You create new objects (in this case, classes), > they take memory.
Why do they not "leak" memory without eval() then? Replace with `$object = new class {};` and memory usage stays flat. There has do be some kind of garbage collection for these anonymous classes. Ben