src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerDataTrans.class.php
protected function hexstr($hex)
    {
        $string = '';
        for ($i = 0; $i < strlen($hex) - 1; $i += 2) {
            $string .= chr(hexdec($hex[$i].$hex[$i + 1]));
        }

        return $string;
    }
protected function hexstr($hex)
    {
        $string = '';
        for ($i = 0; $i < strlen($hex) - 1; $i += 2) {
            $string .= chr(hexdec($hex[$i].$hex[$i + 1]));
        }

        return $string;
    }
protected function hexstr ( $ hex ) { $ string = '' ; for ( $ i = 0 ; $ i < strlen ( $ hex ) - 1 ; $ i += 2 ) { $ string .= chr ( hexdec ( $ hex [ $ i ] . $ hex [ $ i + 1 ] ) ) ; } return $ string ; }
Converts hex to string. Was needed for the sign check.

@param $hex

@return string
Converts hex to string . Was needed for the sign check .