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
{{ message }}
Repository navigation
[Bug]: Standalone null Return Type for update_span_duration Causes Phan Parsing to Fail for PHP <8.2 #2585
The standalone null return type for update_span_duration causes Phan parsing to fail with a segfault. This function looks like it can return false|null like close_span; can this be updated to match close_span's return type? This looks like it affects lib versions 0.94.0 - latest.
I'd contribute, but I don't think I can at the moment without signoff.
Activity
morrisonlevi commentedon Mar 20, 2024
Indeed, it looks like it should be
false|null, returning false on invalid parameters:dd-trace-php/ext/ddtrace.c
Lines 2324 to 2329 in 5d2c3cb
@bwoebi Should we update
falsehere or take an alternative action?