WordPress at a glance
function is not described

ParagonIE_Sodium_Compat::memcmp() public WP 1.0

Compare two strings.

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

No Hooks.

Return

Int. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Compat::memcmp( $left, $right );
$left(string) (required)
-
$right(string) (required)
-

Code of ParagonIE_Sodium_Compat::memcmp() WP 5.7

<?php
public static function memcmp($left, $right)
{
    /* Type checks: */
    ParagonIE_Sodium_Core_Util::declareScalarType($left, 'string', 1);
    ParagonIE_Sodium_Core_Util::declareScalarType($right, 'string', 2);

    if (self::useNewSodiumAPI()) {
        return sodium_memcmp($left, $right);
    }
    if (self::use_fallback('memcmp')) {
        return (int) call_user_func('\\Sodium\\memcmp', $left, $right);
    }
    /** @var string $left */
    /** @var string $right */
    return ParagonIE_Sodium_Core_Util::memcmp($left, $right);
}