Files
PhpSpreadsheet/tests/data/Calculation/TextData/SUBSTITUTE.php
T
Mark Baker 1a7b9a446a First phase of refactoring the Excel Text functions (#1945)
* Refactoring the Excel Text functions
* More unit tests for utf-8 handling, for edge cases, and for argument validations
2021-03-23 13:34:28 +01:00

77 lines
1.3 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
return [
[
'QWDFGYUIOP',
'QWERTYUIOP',
'ERT',
'DFG',
],
[
'Mxrk Bxker',
'Mark Baker',
'a',
'x',
],
[
'Mxrk Baker',
'Mark Baker',
'a',
'x',
1,
],
[
'Mark Bxker',
'Mark Baker',
'a',
'x',
2,
],
[
'Mark Bakker',
'Mark Baker',
'k',
'kk',
2,
],
[
'Mark Baker',
'Mark Baker',
'x',
'a',
1,
],
[
'Ενα δύο αρία αέσσερα πέναε',
'Ενα δύο τρία τέσσερα πέντε',
'τ',
'α',
],
[
'Ενα δύο τρία αέσσερα πέντε',
'Ενα δύο τρία τέσσερα πέντε',
'τ',
'α',
2,
],
[
'Ενα δύο τρία ατέσσερα πέντε',
'Ενα δύο τρία τέσσερα πέντε',
'τ',
'ατ',
2,
],
'Unicode equivalence is not supported' => [
"\u{0061}\u{030A}",
"\u{0061}\u{030A}",
"\u{00E5}",
'x',
],
'Multibytes are supported' => [
'x',
"\u{00E5}",
"\u{00E5}",
'x',
],
];