You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I found this issue while trying to figure out why my events have not been grouped lately. I think PHP 8 changed the syntax of these anonymous class lines from {file}0x{mem} to {file}:{line}${mem}
Hi! I found this issue while trying to figure out why my events have not been grouped lately. I think PHP 8 changed the syntax of these anonymous class lines from
{file}0x{mem}
to{file}:{line}${mem}
PHP 7.x:
class@anonymous/home/test.php0x7f76c7628065
PHP 8.x:
class@anonymous/home/test.php:3$3e0a7
This seems to be the regex to remove the 0x style address, maybe adjust to match either 0x{hex} OR ${hex}?
sentry-php/src/FrameBuilder.php
Line 79 in 64b9696
So
/0x[a-fA-F0-9]+$/
to/(\$|0x)[a-fA-F0-9]+$/
Does it seem like I'm on the right track? I can open a PR if that's best.
The text was updated successfully, but these errors were encountered: