public function asHex()
    {
        $normalizer = function ($val) {
            return str_pad(strtoupper(dechex($val)), 2, '0', STR_PAD_LEFT);
        };

        $out = unpack('C*', $this->guid);
        $out = array_map($normalizer, $out);
        $out = implode('', $out);

        return $out;
    }
public function asHex()
    {
        $normalizer = function ($val) {
            return str_pad(strtoupper(dechex($val)), 2, '0', STR_PAD_LEFT);
        };

        $out = unpack('C*', $this->guid);
        $out = array_map($normalizer, $out);
        $out = implode('', $out);

        return $out;
    }
public function asHex ( ) { $ normalizer = function ( $ val ) { return str_pad ( strtoupper ( dechex ( $ val ) ) , 2 , '0' , STR_PAD_LEFT ) ; } ; $ out = unpack ( 'C*' , $ this -> guid ) ; $ out = array_map ( $ normalizer , $ out ) ; $ out = implode ( '' , $ out ) ; return $ out ; }
Outputs the guid as a straight hex string

The string will look something like "74EC705AAD0842A6BCC55B9F93FAB0F4".

Example:

```php
$guid = GUID::createFromHex('9a39ed24-1752-4459-9ac2-6b0e8f0dcec7');

echo $guid->asHex();
9A39ED24175244599AC26B0E8F0DCEC7
```
@return string
Outputs the guid as a straight hex string