Re: Memory leak in eval()'d code
| From: | Benjamin Morel | Date: | Sat, 29 Jun 2019 21:25:41 +0000 |
| Subject: | Re: Memory leak in eval()'d code | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-106115@lists.php.net to get a copy of this message | ||
> The problem here is that OP is *creating* many classes (the fact that
they are anonymous ultimately doesn't matter) by eval'ing code. That is
what causes the leak.
I still don't understand why there is no leak when *not* using eval(),
though.
Ben