no-leaks
no-leaks copied to clipboard
Anonymous class leaks if included many times
Anonymous class is created newly even if it's php AST remains the same when included by require
multiple times.
Tests should test this by including file like:
<?php
new class() {
};
1000x times (2x is not enought, as php cache slots for new classes)