Definition
/**
* Create a SpanEvent (GenericEvent) with an explicit timestamp.
*
* @param string $name Event name
* @param \DateTimeImmutable $timestamp Event timestamp
* @param array<string, array<bool|float|int|string>|bool|float|int|string> $attributes Event attributes
*/
span_event(string $name, DateTimeImmutable $timestamp, array $attributes) : GenericEvent