Skip to content

JavaScript dump renderer looses integer precision #454

@aleskafka

Description

@aleskafka

Version: 2.8.0

Bug Description

When dumping large array, Tracy switches into lazy rendering in client browser. Long PHP integers loose precision when rendered in browser.

Steps To Reproduce

Tracy\Dumper::dump([1343273678474272773], [Tracy\Dumper::LAZY => true]);

Expected Behavior

expected 1343273678474272773, but 1343273678474272800 is displayed in browser

Browser

Chrome 87.0.4280.88 (Official Build) (x86_64) (MAC)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions