Skip to content

Large memory consumtion when extends class #4435

@fezfez

Description

@fezfez

Bug report

Hello,

I come with another interesting case of large memory consumption when extending a class (TCPDF)

Code snippet that reproduces the problem

i made a little repository with a complete reproduction case https://github.com/fezfez/phpstan-memory

Expected output

I think class MemoryConsumptionMini and LargeMemoryConsumption should have pretty same memory usage

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions