Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2022-02-17 23:00:53 -06:00
commit 7a0b96ecfa

View File

@ -2078,6 +2078,11 @@ abstract class Base
*/
function _increment_str(&$var)
{
if (function_exists('sodium_increment')) {
sodium_increment($var);
return;
}
for ($i = 4; $i <= strlen($var); $i+= 4) {
$temp = substr($var, -$i, 4);
switch ($temp) {