Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript dump renderer looses integer precision #454

Closed
aleskafka opened this issue Dec 28, 2020 · 0 comments
Closed

JavaScript dump renderer looses integer precision #454

aleskafka opened this issue Dec 28, 2020 · 0 comments

Comments

@aleskafka
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant