spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
564 stars 102 forks source link

Long integer is dumped incorrectly #702

Closed lpheller closed 2 years ago

lpheller commented 2 years ago

Describe the bug When dumping long integers to ray (I think it's 17 digits or more), the integers are displayed with a different value than when dd() the same number.

Versions Desktop App v2.0.1 spatie/laravel-ray: 1.29.6

PHP version: v8.1.5 Laravel version: v8.83.12

To Reproduce Steps to reproduce the behavior:

  1. ray(11111111111111111) anywhere

Expected behavior The integer should be dumped to ray as 11111111111111111. But it dumps 11111111111111112

Screenshots If applicable, add screenshots to help explain your problem.

screenshot 16 screenshot

Desktop (please complete the following information):