composer update
This commit is contained in:
+11
-7
@@ -541,10 +541,14 @@ final class Iconv
|
||||
$start += $slen;
|
||||
}
|
||||
if (0 > $start) {
|
||||
return false;
|
||||
if (\PHP_VERSION_ID < 80000) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$start = 0;
|
||||
}
|
||||
if ($start >= $slen) {
|
||||
return false;
|
||||
return \PHP_VERSION_ID >= 80000 ? '' : false;
|
||||
}
|
||||
|
||||
$rx = $slen - $start;
|
||||
@@ -556,7 +560,7 @@ final class Iconv
|
||||
return '';
|
||||
}
|
||||
if (0 > $length) {
|
||||
return false;
|
||||
return \PHP_VERSION_ID >= 80000 ? '' : false;
|
||||
}
|
||||
|
||||
if ($length > $rx) {
|
||||
@@ -619,10 +623,10 @@ final class Iconv
|
||||
trigger_error(self::ERROR_ILLEGAL_CHARACTER);
|
||||
|
||||
return false;
|
||||
} else {
|
||||
$i += $ulen;
|
||||
}
|
||||
|
||||
$i += $ulen;
|
||||
|
||||
$u[$j++] = $uchr[0];
|
||||
|
||||
isset($uchr[1]) && 0 !== ($u[$j++] = $uchr[1])
|
||||
@@ -675,9 +679,9 @@ final class Iconv
|
||||
if ($ignore && (1 === $ulen || !($valid || preg_match('/^.$/us', $uchr)))) {
|
||||
++$i;
|
||||
continue;
|
||||
} else {
|
||||
$i += $ulen;
|
||||
}
|
||||
|
||||
$i += $ulen;
|
||||
}
|
||||
|
||||
if (isset($map[$uchr])) {
|
||||
|
||||
+23
-18
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
static $data = array (
|
||||
return array (
|
||||
'µ' => 'μ',
|
||||
'¼' => ' 1⁄4 ',
|
||||
'½' => ' 1⁄2 ',
|
||||
@@ -1393,13 +1393,13 @@ static $data = array (
|
||||
'廓' => '廓',
|
||||
'兀' => '兀',
|
||||
'嗀' => '嗀',
|
||||
'﨎' => ' | ||||