Files
PhpSpreadsheet/tests/data/Calculation/Functions/IF_CONDITION.php
2026-10-12 11:55:46 -07:00

83 lines
1.1 KiB
PHP

<?php
declare(strict_types=1);
return [
[
'<"A"',
'<A',
],
[
'>"A"',
'>A',
],
[
'<="A"',
'<=A',
],
[
'>"A"',
'>A',
],
[
'>="A"',
'>=A',
],
[
'<>"A"',
'<>A',
],
[
'<"<A"',
'<<A',
],
[
'="A"',
'=A',
],
[
'="""A"""',
'="A"',
],
[
'="""A""B"""',
'="A"B"',
],
[
'<>"< PLEASE SELECT >"',
'<>< Please Select >',
],
[
'<>""',
'<>',
],
[
'=""',
'""',
],
'text TRUE matches logical TRUE' => [
'=TRUE',
'TRUE',
],
'text true matches logical TRUE' => [
'=TRUE',
'true',
],
'text FALSE matches logical FALSE' => [
'=FALSE',
'FALSE',
],
'text =TRUE is unchanged' => [
'=TRUE',
'=TRUE',
],
'bool TRUE matches logical TRUE' => [
'=TRUE',
true,
],
'bool FALSE matches logical FALSE' => [
'=FALSE',
false,
],
];