[PHP-NOTES] note 130815 added to function.sodium-add
[email protected] ("Anonymous") Wed, 10 Jun 2026 11:56:30 +0000
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
<?php $a = "\x01\x00\x00\x00"; // 1 (32-bit little-endian) $b = "\x02\x00\x00\x00"; // 2 (32-bit little-endian) echo "Before: " . bin2hex($a) . PHP_EOL; sodium_add($a, $b); echo "After: " . bin2hex($a) . PHP_EOL; ?> Output: Before: 01000000 After: 03000000 ---- Server IP: 2a03:b0c0:2:f0:0:1:a983:a001 (proxied: BunnyCDN) Probable Submitter: 49.36.91.224 ---- Manual Page -- https://php.net/manual/en/function.sodium-add.php Edit -- https://main.php.net/note/edit/130815 Del: integrated -- https://main.php.net/note/delete/130815/integrated Del: useless -- https://main.php.net/note/delete/130815/useless Del: bad code -- https://main.php.net/note/delete/130815/bad+code Del: spam -- https://main.php.net/note/delete/130815/spam Del: non-english -- https://main.php.net/note/delete/130815/non-english Del: in docs -- https://main.php.net/note/delete/130815/in+docs Del: other reasons-- https://main.php.net/note/delete/130815 Reject -- https://main.php.net/note/reject/130815 Search -- https://main.php.net/manage/user-notes.php