mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-20 19:40:43 +00:00
35b65bef8c
* First steps toward array-enabling the information functions Also includes moving unit tests out from Functions and into a separate, dedicated Information folder * Resolve issue with IF(), branch pruning and calculation cache (ensure that we don't convert the if condition to a bool before we've tested to see if it evaluates to an error) More refactoring
65 lines
649 B
PHP
65 lines
649 B
PHP
<?php
|
|
|
|
return [
|
|
[
|
|
true,
|
|
null,
|
|
],
|
|
[
|
|
false,
|
|
-1,
|
|
],
|
|
[
|
|
false,
|
|
0,
|
|
],
|
|
[
|
|
false,
|
|
9,
|
|
],
|
|
[
|
|
false,
|
|
1.5,
|
|
],
|
|
[
|
|
false,
|
|
'',
|
|
],
|
|
[
|
|
false,
|
|
'-1',
|
|
],
|
|
[
|
|
false,
|
|
'2',
|
|
],
|
|
[
|
|
false,
|
|
'-1.5',
|
|
],
|
|
[
|
|
false,
|
|
'ABC',
|
|
],
|
|
[
|
|
false,
|
|
'#VALUE!',
|
|
],
|
|
[
|
|
false,
|
|
'#N/A',
|
|
],
|
|
[
|
|
false,
|
|
'TRUE',
|
|
],
|
|
[
|
|
false,
|
|
true,
|
|
],
|
|
[
|
|
false,
|
|
false,
|
|
],
|
|
];
|