Syntax Syntax
Parameters Parameters
- $offset
-
(Required)
- $value
-
(Required)
Return Return
(void)
Source Source
File: wp-includes/sodium_compat/src/Core32/Curve25519/Fe.php
public function offsetSet($offset, $value) { if (!($value instanceof ParagonIE_Sodium_Core32_Int32)) { throw new InvalidArgumentException('Expected an instance of ParagonIE_Sodium_Core32_Int32'); } if (is_null($offset)) { $this->container[] = $value; } else { ParagonIE_Sodium_Core32_Util::declareScalarType($offset, 'int', 1); $this->container[(int) $offset] = $value; } }