We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c309115 + 9fe8a39 commit 5dcd9e4Copy full SHA for 5dcd9e4
src/functions.php
@@ -35,7 +35,8 @@ function is_zipkin_timestamp($timestamp)
35
* @return bool
36
*/
37
function is_zipkin_trace_identifier($identifier) {
38
- return ctype_xdigit((string) $identifier) && strlen((string) $identifier) === 32;
+ return ctype_xdigit((string) $identifier) &&
39
+ (strlen((string) $identifier) === 16 || strlen((string) $identifier) === 32);
40
}
41
42
0 commit comments