private function spanContextFromString($value): array
    {
        $parts = explode(':', $value);

        if (count($parts) != 4) {
            throw new Exception('Malformed tracer state string.');
        }

        return [
            CodecUtility::hexToInt64($parts[0]),
            CodecUtility::hexToInt64($parts[1]),
            CodecUtility::hexToInt64($parts[2]),
            $parts[3],
        ];
    }
private function spanContextFromString($value): array
    {
        $parts = explode(':', $value);

        if (count($parts) != 4) {
            throw new Exception('Malformed tracer state string.');
        }

        return [
            CodecUtility::hexToInt64($parts[0]),
            CodecUtility::hexToInt64($parts[1]),
            CodecUtility::hexToInt64($parts[2]),
            $parts[3],
        ];
    }
private function spanContextFromString ( $ value ) : array { $ parts = explode ( ':' , $ value ) ; if ( count ( $ parts ) != 4 ) { throw new Exception ( 'Malformed tracer state string.' ) ; } return [ CodecUtility :: hexToInt64 ( $ parts [ 0 ] ) , CodecUtility :: hexToInt64 ( $ parts [ 1 ] ) , CodecUtility :: hexToInt64 ( $ parts [ 2 ] ) , $ parts [ 3 ] , ] ; }
Create a span context from a string.

@param string $value
@return array

@throws Exception
Create a span context from a string .