Syntax Syntax
Parameters Parameters
- $char
-
(Required)
Return Return
(int) (1 = yes, 0 = no)
Source Source
File: wp-includes/sodium_compat/src/Core/Curve25519.php
public static function negative($char) { if (is_int($char)) { return $char < 0 ? 1 : 0; } $x = self::chrToInt(self::substr($char, 0, 1)); return (int) ($x >> 63); }