略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: sodium_add

2024-12-22

sodium_add

(PHP 7 >= 7.2.0, PHP 8)

sodium_addAdd large numbers

说明

sodium_add(string &$string1, string $string2): void

This adds the parameter string2 to string1, overwriting the value stored in string1. This function assumes both parameters are binary strings that represent unsigned integers in little-endian byte order.

参数

string1

String representing an arbitrary-length unsigned integer in little-endian byte order. This parameter is passed by reference and will hold the sum of the two parameters.

string2

String representing an arbitrary-length unsigned integer in little-endian byte order.

返回值

没有返回值。

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.sodium-add.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3