WordPress at a glance
function is not described

ParagonIE_Sodium_Core_Util::intArrayToString() public WP 1.0

Turn an array of integers into a string

{} It's a method of the class: ParagonIE_Sodium_Core_Util{}

No Hooks.


String. Null. Nothing.


$result = ParagonIE_Sodium_Core_Util::intArrayToString( $ints );
$ints(array) (required)

Code of ParagonIE_Sodium_Core_Util::intArrayToString() WP 5.7

public static function intArrayToString(array $ints)
    /** @var array<int, int> $args */
    $args = $ints;
    foreach ($args as $i => $v) {
        $args[$i] = (int) ($v & 0xff);
    array_unshift($args, str_repeat('C', count($ints)));
    return (string) (call_user_func_array('pack', $args));