ParagonIE_Sodium_Core_Util::intToChr

Advertisement

Summery Summery

Cache-timing-safe variant of ord()

Syntax Syntax

ParagonIE_Sodium_Core_Util::intToChr( int $int )

Parameters Parameters

$int

(int) (Required)

Return Return

(string)

Source Source

File: wp-includes/sodium_compat/src/Core/Util.php

    public static function intToChr($int)
    {
        return pack('C', $int);
    }

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.