Skip to content

Anonymous class leaks if included many times #159

Description

@mvorisek

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions