mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-22 08:09:15 +00:00
Fix PHP8.2 str_split function returns empty arrays for empty strings
This commit is contained in:
@@ -24,4 +24,5 @@ return [
|
||||
[-2147483648, '"ff80000000"'],
|
||||
[2147483648, '"80000000"'],
|
||||
[2147483647, '"7fffffff"'],
|
||||
[0, '""'],
|
||||
];
|
||||
|
||||
@@ -17,4 +17,5 @@ return [
|
||||
['#NUM!', '"37777777770"'], // too many digits
|
||||
[536870911, '"3777777777"'], // highest positive
|
||||
[-536870912, '"4000000000"'], // lowest negative
|
||||
['0', '""'],
|
||||
];
|
||||
|
||||
@@ -57,4 +57,8 @@ return [
|
||||
'#VALUE!',
|
||||
'WRONG',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user