no-leaks icon indicating copy to clipboard operation
no-leaks copied to clipboard

Anonymous class leaks if included many times

Open mvorisek opened this issue 3 years ago • 0 comments

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)

mvorisek avatar Oct 05 '21 02:10 mvorisek