array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.sodium-increment.php', 1 => 'sodium_increment', ), 'up' => array ( 0 => 'ref.sodium.php', 1 => 'Sodium Fonctions', ), 'prev' => array ( 0 => 'function.sodium-hex2bin.php', 1 => 'sodium_hex2bin', ), 'next' => array ( 0 => 'function.sodium-memcmp.php', 1 => 'sodium_memcmp', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/sodium/functions/sodium-increment.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.2.0, PHP 8)
sodium_increment — Increment large number
Treat the string as a little-endian unsigned integer, then increase it by 1. Constant-time.
string
String to increment.
Aucune valeur n'est retournée.