compare

The timeline below displays how wordpress function compare has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.2

/**
 * @see ParagonIE_Sodium_Compat::compare()
 * @param string $a
 * @param string $b
 * @return int
 * @throws \SodiumException
 * @throws \TypeError
 */
function compare($a, $b)
{
    return ParagonIE_Sodium_Compat::compare($a, $b);
}