repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/MONTH.php
tests/data/Calculation/DateTime/MONTH.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [1, 0], [12, 22269.0], [2, 30348.0], [6, 30843.0], [11, '11-Nov-1918'], [2, '28-Feb-1904'], [7, '01 Jul 2003'], [4, '38094'], [12, 'Dec 2003'], [12, '1960-12-25'], [11, '1918-11-01'], [ExcelError::VALUE(), '1918-13-11'], [ExcelError::NAN(), -10], [ExcelError::VALUE(), 'ABCD'], [1, false], [1, true], [3, 61], [2, 60], // because of fake leap day [12, 366], // because of fake leap day [1, 367], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/EOMONTH.php
tests/data/Calculation/DateTime/EOMONTH.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [39507.0, '15-Jan-2008', 1], [39447.0, '15-Jan-2008', -1], [39538.0, '15-Jan-2008', 2], [39202.0, '31-Mar-2007', 1], [39141.0, '31-Mar-2007', -1], [39507.0, '31-Mar-2008', -1], [39416.0, '31-Mar-2008', -4], [39141.0, '29-Feb-2008', -12], [39263.0, '15-Mar-2007', 3], [22281.0, 22269.0, 0], [22340.0, '22269.0', 2], [25627.0, 22269.0, 110], [18932.0, 22269.0, -110], [22371.0, 22269.0, 3], [22371.0, 22269.75, 3], [22371.0, 22269.0, 3.75], [ExcelError::VALUE(), '15-Mar-2007', false], [ExcelError::VALUE(), '15-Mar-2007', true], [ExcelError::VALUE(), '15-Mar-2007', 'ABC'], [ExcelError::VALUE(), 'Invalid', 12], [ExcelError::VALUE(), true, 12], [ExcelError::VALUE(), '2020-01-01', false], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/HOUR.php
tests/data/Calculation/DateTime/HOUR.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [6, 0.25], [18, 0.75], [12, 0.5], [14, 0.6], [11, '11-Nov-1918 11:11'], [23, '11:59 PM'], [23, '23:59:59'], [0, 3600], [ExcelError::VALUE(), '31:62:93'], [ExcelError::NAN(), -3600], [0, 7200], [0, 65535], [ExcelError::VALUE(), "1 O'Clock"], [0, false], [0, true], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/DATEVALUE.php
tests/data/Calculation/DateTime/DATEVALUE.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; // Date String, Result // Note that Excel fails ordinal number forms but PhpSpreadsheet parses them return [ [ExcelError::VALUE(), '25-Dec-1899'], [ExcelError::VALUE(), '31-Dec-1899'], [1, '1-Jan-1900'], [59, '1900/2/28'], [60, '29-02-1900'], [60, '29th February 1900'], // ordinal [61, '1900/3/1'], [713, '13-12-1901'], [714, '14-12-1901'], [1461, '1903/12/31'], [1462, '1-Jan-1904'], [1463, '2nd-Jan-1904'], // ordinal [22269, '19-12-1960'], [25569, '1st January 1970'], // ordinal [30292, '7-Dec-1982'], [39448, '1-1-2008'], [50424, '2038-01-19'], [39601, '2-6-2008'], [39807, 'December 25th 2008'], // ordinal [39448, '1 Jan-2008'], // MS Excel success or failure dependent on country settings [39813, '12-31-2008'], // PhpSpreadsheet tries to handle both US and UK formats, irrespective of country settings [39813, '31-12-2008'], // MS Excel success or failure dependent on country settings [39682, '8/22/2008'], // PhpSpreadsheet tries to handle both US and UK formats, irrespective of country settings [39682, '22/8/2008'], [39682, '22/8/08'], [39682, '22-AUG-2008'], [39501, '2008/02/23'], [39635, '6-7-2008'], // MS Excel success or failure dependent on country settings [39141, '28-2-2007'], // PhpSpreadsheet tries to handle both US and UK formats, irrespective of country settings [39141, '2-28-2007'], [ExcelError::VALUE(), '29-2-2007'], [36161, '1/1/1999'], [19925, '1954-07-20'], [36029, '22 August 98'], [39142, '1st March 2007'], // ordinal [ExcelError::VALUE(), 'The 1st day of March 2007'], ['Y-01-01', '1 Jan'], // Jan 1 of the current year ['Y-12-31', '31/12'], // Dec 31 of the current year // Excel reads as 1st December 1931, not 31st December in current year. // This result is locale-dependent in Excel, in a manner not // supported by PhpSpreadsheet. [11658, '12/31'], ['Y-07-05', '5-JUL'], // July 5 of the current year ['Y-07-05', '5 July'], // July 5 of the current year [39783, '12/2008'], [11963, '10/32'], [ExcelError::VALUE(), 11], [ExcelError::VALUE(), 1], [ExcelError::VALUE(), 12345], [ExcelError::VALUE(), 12], [40210, 'Feb-2010'], // implicit day of month is 1 [40221, '12-Feb-2010'], [40221, 'Feb-12-2010'], // MS Excel #VALUE! [40221, 'February-12-2010'], // MS Excel #VALUE! [40221, 'February 12 2010'], // MS Excel #VALUE! [40227, '18 Feb 2010'], [40254, '17th 3rd 2010'], // MS Excel #VALUE! [40227, 'Feb 18th 2010'], // MS Excel #VALUE! [40210, '1st Feb 2010'], // MS Excel #VALUE! [40210, '1st-Feb-2010'], // Excel #VALUE! [ExcelError::VALUE(), '1me Fev 2010'], // MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date [40210, 'February 1st 2010'], // Excel #VALUE! [40211, '2nd Feb 2010'], // Excel #VALUE! [ExcelError::VALUE(), 'Second Feb 2010'], [ExcelError::VALUE(), 'First August 2010'], [40391, '1st August 2010'], // Excel #VALUE! [0, '15:30:25'], [ExcelError::VALUE(), 'ABCDEFGHIJKMNOPQRSTUVWXYZ'], [ExcelError::VALUE(), 1999], [ExcelError::VALUE(), '32/32'], [ExcelError::VALUE(), '1910-'], [ExcelError::VALUE(), '10--'], [ExcelError::VALUE(), '--10'], [ExcelError::VALUE(), '--1910'], //[#VALUE!, -JUL-1910], We can parse this, Excel cant [ExcelError::VALUE(), '2008-08-'], [36751, '0-08-13'], [ExcelError::VALUE(), false], [ExcelError::VALUE(), true], 'do not try to parse if no digits' => [ExcelError::VALUE(), 'x'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/WEEKNUM1904.php
tests/data/Calculation/DateTime/WEEKNUM1904.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [52, '21-Dec-2000', 1], [1, '2000-01-01', 1], [2, '2000-01-02', 1], [1, '2000-01-01', 2], [2, '2000-01-03', 2], [1, '1995-01-01', 1], [1, '1995-01-07', 1], [2, '1995-01-08', 1], [1, '1995-01-01', 2], [2, '1995-01-02', 2], [28, '3/7/1977'], [ExcelError::VALUE(), '3/7/1977', 'A'], [ExcelError::NAN(), '3/7/1977', 0], [ExcelError::NAN(), '3/7/1977', -1], [ExcelError::VALUE(), 'Invalid', 1], [ExcelError::NAN(), -1], [53, '2019-12-29', 1], [52, '2019-12-29', 2], [ExcelError::NAN(), '2019-12-29', 3], [ExcelError::NAN(), '2019-12-29', 10], [52, '2019-12-29', 11], [52, '2019-12-29', 12], [53, '2019-12-29', 13], [53, '2019-12-29', 14], [53, '2019-12-29', 15], [53, '2019-12-29', 16], [53, '2019-12-29', 17], [ExcelError::NAN(), '2019-12-29', 18], [ExcelError::NAN(), '2019-12-29', 20], [ExcelError::NAN(), '2019-12-29', 22], [52, '2019-12-29', 21], [53, '2020-12-29', 21], [52, '2021-12-29', 21], [52, '2022-12-29', 21], [1, '2020-01-01', 21], [53, '2021-01-01', 21], [52, '2022-01-01', 21], [52, '2023-01-01', 21], [2, '2020-01-08', 21], [1, '2021-01-08', 21], [1, '2022-01-08', 21], [1, '2023-01-08', 21], [1, '2025-12-29', 21], [ExcelError::VALUE(), '1900-03-01'], [ExcelError::VALUE(), '1900-01-07', 2], [2, '1905-01-07', 2], [ExcelError::VALUE(), '1900-01-01'], [ExcelError::VALUE(), '1900-01-01', 2], [ExcelError::VALUE(), '1900-01-02', 2], [1, null, 11], [1, 0, 11], [1, 0, 12], [1, 0, 13], [1, 0, 14], [1, 0, 15], [1, 0, 16], [1, 0, 17], [1, '1905-01-01', 17], [1, 0], [1, null], [1, null, 2], [1, 0, 2], [1, '1906-01-01'], [ExcelError::VALUE(), true], [ExcelError::VALUE(), false, 21], [53, null, 21], [53, '1904-01-01', 21], [ExcelError::VALUE(), '1900-01-01', 21], [ExcelError::VALUE(), '1900-01-07', 21], [ExcelError::VALUE(), '1900-01-08', 21], [ExcelError::VALUE(), '1900-01-09', 21], [ExcelError::VALUE(), '1900-03-04', 21], [ExcelError::VALUE(), '1900-03-05', 21], [27, '2004-07-02'], [1, '1904-01-02'], [0, '1904-01-01'], [0, '1904-01-01', 1], [1, '1904-01-01', 2], [1, '1904-01-01', 11], [1, '1904-01-01', 12], [1, '1904-01-01', 13], [1, '1904-01-01', 14], [1, '1904-01-01', 15], [1, '1904-01-01', 16], [0, '1904-01-01', 17], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/DATE.php
tests/data/Calculation/DateTime/DATE.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [6890.0, 18, 11, 11], // year less than 1900, adds 1900 (1918-11-11) [44809.0, 122, 9, 5], // year less than 1900, adds 1900 (2022-09-05) [693845.0, 1899, 9, 5], // year less than 1900, adds 1900 (3799-09-05) [1.0, 1900, 1, 1], // Excel 1900 Calendar BaseDate [59.0, 1900, 2, 28], // Day before Excel mythical 1900 leap day [60.0, 1900, 2, 29], // Excel mythical 1900 leap day [61.0, 1900, 3, 1], // Day after Excel mythical 1900 leap day [713.0, 1901, 12, 13], // Day after actual 1904 leap day [714.0, 1901, 12, 14], // signed 32-bit Unix Timestamp Earliest Date [1461.0, 1903, 12, 31], // Day before Excel 1904 Calendar Base Date [1462.0, 1904, 1, 1], // Excel 1904 Calendar Base Date [1463.0, 1904, 1, 2], // Day after Excel 1904 Calendar Base Date [22269.0, 1960, 12, 19], [25569.0, 1970, 1, 1], // Unix Timestamp Base Date [30292.0, 1982, 12, 7], [39611.0, 2008, 6, 12], [50000.0, 2036, 11, 21], [50424.0, 2038, 1, 19], // 32-bit signed Unix Timestamp Latest Date [50425.0, 2038, 1, 20], // Day after 32-bit signed Unix Timestamp Latest Date [39448.0, 2008, 1, 1], [39446.0, 2008, 1, -1], [39417.0, 2008, 1, -30], [39416.0, 2008, 1, -31], [39082.0, 2008, 1, -365], [39508.0, 2008, 3, 1], [39506.0, 2008, 3, -1], [39142.0, 2008, 3, -365], [39387.0, 2008, -1, 1], [39083.0, 2008, -11, 1], [39052.0, 2008, -12, 1], [39022.0, 2008, -13, 1], [39051.0, 2008, -13, 30], [38991.0, 2008, -13, -30], [38990.0, 2008, -13, -31], [39814.0, 2008, 13, 1], [40210.0, 2008, 26, 1], [40199.0, 2008, 26, -10], [38686.0, 2008, -26, 61], [39641.0, 2010, -15, -50], [39741.0, 2010, -15, 50], [40552.0, 2010, 15, -50], [40652.0, 2010, 15, 50], [40179.0, 2010, 1.5, 1], [40178.0, 2010, 1.5, 0], [40148.0, 2010, 0, 1.5], [40179.0, 2010, 1, 1.5], [41075.0, 2012, 6, 15], [3819.0, 10, 6, 15], [ExcelError::NAN(), -20, 6, 15], [2958465.0, 9999, 12, 31], // Excel maximum date [ExcelError::NAN(), 10000, 1, 1], // Exceeded Excel maximum date [39670.0, 2008, 8, 10], [39813.0, 2008, 12, 31], [39692.0, 2008, 8, 32], [39844.0, 2008, 13, 31], [39813.0, 2009, 1, 0], [39812.0, 2009, 1, -1], 'month expressed as true' => [39812.0, 2009, true, -1], [39782.0, 2009, 0, 0], [39781.0, 2009, 0, -1], [39752.0, 2009, -1, 0], [39751.0, 2009, -1, -1], [40146.0, 2010, 0, -1], 'month expressed as false' => [40146.0, 2010, false, -1], 'month expressed as null' => [40146.0, 2010, null, -1], [40329.0, 2010, 5, 31], [40199.0, 2010, 1, '21st'], // Excel can't parse ordinal, PhpSpreadsheet can [40200.0, 2010, 1, '22nd'], // Excel can't parse ordinal, PhpSpreadsheet can [40201.0, 2010, 1, '23rd'], // Excel can't parse ordinal, PhpSpreadsheet can [40202.0, 2010, 1, '24th'], // Excel can't parse ordinal, PhpSpreadsheet can [40258.0, 2010, 'March', '21st'], // ordinal and month name // MS Excel will fail with a #VALUE return, but PhpSpreadsheet can parse this date [40258.0, 2010, 'March', 21], // Excel can't parse month name, PhpSpreadsheet can 'month expressed as string' => [40258.0, 2010, '03', 21], 'month expressed as invalid string' => [ExcelError::VALUE(), 2010, '03x', 21], [ExcelError::VALUE(), 'ABC', 1, 21], [ExcelError::VALUE(), 2010, 'DEF', 21], [ExcelError::VALUE(), 2010, 3, 'GHI'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/DAYS.php
tests/data/Calculation/DateTime/DAYS.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [ExcelError::VALUE(), '2007-1-10', 'ABC'], [ExcelError::VALUE(), 'DEF', '2007-1-1'], [9, '2007-1-10', '2007-1-1'], [-9, '2007-1-1', '2007-1-10'], [364, '2007-12-31', '2007-1-1'], [547, '2008-7-1', '2007-1-1'], [30, '2007-1-31', '2007-1-1'], [31, '2007-2-1', '2007-1-1'], [58, '2007-2-28', '2007-1-1'], [1, '2007-2-1', '2007-1-31'], [29, '2007-3-1', '2007-1-31'], [59, '2007-3-31', '2007-1-31'], [244, '2008-9-1', '2008-1-1'], [425, '2008-4-1', '2007-2-1'], [17358, '2008-6-28', '1960-12-19'], [9335, '2008-6-28', '1982-12-7'], [32, '2000-3-31', '2000-2-28'], [31, '2000-3-31', '2000-2-29'], [31, 36616, 36585], [-31, 36585, 36616], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/TIMEVALUE.php
tests/data/Calculation/DateTime/TIMEVALUE.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [0, '12:00:00 am'], [0.000717593, '12:01:02 am'], [0.502083333, '12:03 pm'], [0.504988426, '12:7:11 pm'], [0.176145833, '4:13:39'], [0.764085648, '6:20:17 pm'], [0.773229167, '18:33:27'], [0.143923611, '31/12/2007 03:27:15'], [0.906192133, '9:44:55 pm'], [ExcelError::VALUE(), 12], [0.5423611101, '13:01'], [0.40625, '33:45'], [ExcelError::VALUE(), '13:01PM'], [ExcelError::VALUE(), false], [ExcelError::VALUE(), true], 'do not try to parse if no digits' => [ExcelError::VALUE(), 'x'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/DAYS360.php
tests/data/Calculation/DateTime/DAYS360.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [ExcelError::VALUE(), 'ABC', '2007-1-10', false], [ExcelError::VALUE(), '2007-1-1', 'DEF', true], [ExcelError::VALUE(), '2007-1-1', '2007-1-10', 'XYZ'], [ExcelError::VALUE(), '2007-1-10', '2007-1-1', 1], [9, '2007-1-1', '2007-1-10', false], [9, '2007-1-1', '2007-1-10', true], [360, '2007-1-1', '2007-12-31'], [360, '2007-1-1', '2007-12-31', false], [359, '2007-1-1', '2007-12-31', true], [540, '2007-1-1', '2008-7-1', false], [540, '2007-1-1', '2008-7-1', true], [30, '2007-1-1', '2007-1-31', false], [29, '2007-1-1', '2007-1-31', true], [30, '2007-1-1', '2007-2-1', false], [30, '2007-1-1', '2007-2-1', true], [57, '2007-1-1', '2007-2-28', false], [57, '2007-1-1', '2007-2-28', true], [1, '2007-1-31', '2007-2-1', false], [1, '2007-1-31', '2007-2-1', true], [31, '2007-1-31', '2007-3-1', false], [31, '2007-1-31', '2007-3-1', true], [60, '2007-1-31', '2007-3-31', false], [60, '2007-1-31', '2007-3-31', true], [240, '2008-1-1', '2008-9-1', false], [240, '2008-1-1', '2008-9-1', true], [420, '2007-2-1', '2008-4-1', false], [420, '2007-2-1', '2008-4-1', true], [17109, '1960-12-19', '2008-6-28', false], [17109, '1960-12-19', '2008-6-28', true], [9201, '1982-12-7', '2008-6-28', false], [9201, '1982-12-7', '2008-6-28', true], [33, '2000-2-28', '2000-3-31', false], [32, '2000-2-28', '2000-3-31', true], [30, '2000-2-29', '2000-3-31', false], [31, '2000-2-29', '2000-3-31', true], [30, '2000-2-29', '2000-3-31'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/EDATE.php
tests/data/Calculation/DateTime/EDATE.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [39493.0, '15-Jan-2008', 1], [39431.0, '15-Jan-2008', -1], [39522.0, '15-Jan-2008', 2], [39202.0, '31-Mar-2007', 1], [39141.0, '31-Mar-2007', -1], [39507.0, '31-Mar-2008', -1], [39416.0, '31-Mar-2008', -4], [39141.0, '29-Feb-2008', -12], [39248.0, '15-Mar-2007', 3], [22269.0, 22269.0, 0], [22269.0, 22269, 0], [22331.0, 22269.0, 2], [22331.0, 22269.75, 2], [25618.0, 22269.0, '110'], [18920.0, 22269.0, -110], [ExcelError::VALUE(), '15-Mar-2007', 'ABC'], [ExcelError::VALUE(), 'Invalid', 12], [ExcelError::VALUE(), true, 12], [ExcelError::VALUE(), '2020-01-01', false], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/DAY.php
tests/data/Calculation/DateTime/DAY.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; // Excel Result, Argument return [ [19, 22269], [1, 30348], [10, 30843], [11, '11-Nov-1918'], [28, '28-Feb-1904'], [25, '1960-12-25'], [ExcelError::VALUE(), '30-Feb-1904'], [ExcelError::VALUE(), 'Invalid'], // The following will all differ between Excel and OpenOffice [ExcelError::NAN(), -1], [1, 1], [0, 0.5], [0, 0], [1, true], [0, false], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/ISOWEEKNUM1904.php
tests/data/Calculation/DateTime/ISOWEEKNUM1904.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [51, '21-Dec-2000'], [52, '2000-01-01'], [1, '2000-01-03'], [52, '1995-01-01'], [1, '1995-01-07'], [2, '1995-01-10'], [1, '2018-01-01'], [ExcelError::VALUE(), '1800-01-01'], [53, false], [53, true], [53, 0], [53, 1], [53, 2], [1, 3], [2, 10], [53, '1904-01-01'], [ExcelError::VALUE(), '1900-01-01'], [ExcelError::VALUE(), '1903-12-31'], [ExcelError::VALUE(), '1900-01-07'], [ExcelError::NAN(), -1], [39, 1000], [25, '2001'], [25, 2002], [25, 2003], [25, 2004], [26, 2005], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/MINUTE.php
tests/data/Calculation/DateTime/MINUTE.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [48, 0.2], [36, '0.4'], [24, 0.6], [12, 0.8], [15, '11-Nov-1918 11:15'], [59, '11:59 PM'], [59, '23:59:59'], [ExcelError::VALUE(), '31:62:93'], [0, 3600], [ExcelError::NAN(), -3600], [0, 12500], [0, 65535], [ExcelError::VALUE(), "Half past 1 O'Clock"], [0, false], [0, true], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/NETWORKDAYS.php
tests/data/Calculation/DateTime/NETWORKDAYS.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [8, '1-Jan-2007', '10-Jan-2007'], [3, '18-Jun-2008', '20-Jun-2008'], [5, '16-Jun-2008', '20-Jun-2008'], [5, '14-Jun-2008', '20-Jun-2008'], [1, '20-Jun-2008', '20-Jun-2008'], [0, '21-Jun-2008', '21-Jun-2008'], [0, '20-Jun-2008', '20-Jun-2008', ['20-Jun-2008']], [0, '20-Jun-2008', '20-Jun-2008', ['20-Jun-2008', '20-Jun-2008']], [8, '14-Jun-2008', '25-Jun-2008'], [17, '19-Dec-1960', '10-Jan-1961'], [-17, '10-Jan-1961', '19-Dec-1960'], [16, '19-Dec-1960', '10-Jan-1961', ['25-Dec-1960', '26-Dec-1960', '01-Jan-1961']], [-16, '10-Jan-1961', '19-Dec-1960', ['25-Dec-1960', '26-Dec-1960', '01-Jan-1961']], [65, '1-Jan-2007', '31-Mar-2007'], [23, '1-Jan-2007', '31-Jan-2007'], [24, '1-Jan-2007', '1-Feb-2007'], [43, '1-Jan-2007', '28-Feb-2007'], [2, '31-Jan-2007', '1-Feb-2007'], [ExcelError::VALUE(), 'ABQZ', '1-Feb-2007'], [ExcelError::VALUE(), '1-Feb-2007', 'ABQZ'], [10, '2021-02-13', '2021-02-27'], [10, '2021-02-14', '2021-02-27'], [3, '2021-02-14', '2021-02-17'], [8, '2021-02-14', '2021-02-24'], [9, '2021-02-14', '2021-02-25'], [10, '2021-02-14', '2021-02-26'], [9, '2021-02-13', '2021-02-25'], [10, '2021-02-12', '2021-02-25'], [ExcelError::VALUE(), '10-Jan-1961', '19-Dec-1960', ['25-Dec-1960', 'ABQZ', '01-Jan-1961']], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/YEARFRAC.php
tests/data/Calculation/DateTime/YEARFRAC.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [ 0.025, '2007-1-1', '2007-1-10', 0, ], [ 0.025, '2007-1-1', '2007-1-10', null, ], [ 0.025, '2007-1-10', '2007-1-1', 0, ], [ 0.024657534246580001, '2007-1-1', '2007-1-10', 1, ], [ 0.025, '2007-1-1', '2007-1-10', 2, ], [ 0.024657534246580001, '2007-1-1', '2007-1-10', 3, ], [ 0.025, '2007-1-1', '2007-1-10', 4, ], [ 1.0, '2007-1-1', '2007-12-31', 0, ], [ 0.99726027397259998, '2007-1-1', '2007-12-31', 1, ], [ 1.01111111111111, '2007-1-1', '2007-12-31', 2, ], [ 0.99726027397259998, '2007-1-1', '2007-12-31', 3, ], [ 0.99722222222222001, '2007-1-1', '2007-12-31', 4, ], [ 1.5, '2007-1-1', '2008-7-1', 0, ], [ 1.49658002735978, '2007-1-1', '2008-7-1', 1, ], [ 1.5194444444444399, '2007-1-1', '2008-7-1', 2, ], [ 1.4986301369863, '2007-1-1', '2008-7-1', 3, ], [ 1.5, '2007-1-1', '2008-7-1', 4, ], [ 0.083333333333329998, '2007-1-1', '2007-1-31', 0, ], [ 0.082191780821919996, '2007-1-1', '2007-1-31', 1, ], [ 0.083333333333329998, '2007-1-1', '2007-1-31', 2, ], [ 0.082191780821919996, '2007-1-1', '2007-1-31', 3, ], [ 0.080555555555560002, '2007-1-1', '2007-1-31', 4, ], [ 0.083333333333329998, '2007-1-1', '2007-2-1', 0, ], [ 0.084931506849319993, '2007-1-1', '2007-2-1', 1, ], [ 0.08611111111111, '2007-1-1', '2007-2-1', 2, ], [ 0.084931506849319993, '2007-1-1', '2007-2-1', 3, ], [ 0.083333333333329998, '2007-1-1', '2007-2-1', 4, ], [ 0.15833333333333, '2007-1-1', '2007-2-28', 0, ], [ 0.15890410958904, '2007-1-1', '2007-2-28', 1, ], [ 0.16111111111111001, '2007-1-1', '2007-2-28', 2, ], [ 0.15890410958904, '2007-1-1', '2007-2-28', 3, ], [ 0.15833333333333, '2007-1-1', '2007-2-28', 4, ], [ 0.0027777777777800001, '2007-1-31', '2007-2-1', 0, ], [ 0.0027397260273999999, '2007-1-31', '2007-2-1', 1, ], [ 0.0027777777777800001, '2007-1-31', '2007-2-1', 2, ], [ 0.0027397260273999999, '2007-1-31', '2007-2-1', 3, ], [ 0.0027777777777800001, '2007-1-31', '2007-2-1', 4, ], [ 0.08611111111111, '2007-1-31', '2007-3-1', 0, ], [ 0.07945205479452, '2007-1-31', '2007-3-1', 1, ], [ 0.080555555555560002, '2007-1-31', '2007-3-1', 2, ], [ 0.07945205479452, '2007-1-31', '2007-3-1', 3, ], [ 0.08611111111111, '2007-1-31', '2007-3-1', 4, ], [ 0.16666666666666999, '2007-1-31', '2007-3-31', 0, ], [ 0.16164383561644, '2007-1-31', '2007-3-31', 1, ], [ 0.16388888888889, '2007-1-31', '2007-3-31', 2, ], [ 0.16164383561644, '2007-1-31', '2007-3-31', 3, ], [ 0.16666666666666999, '2007-1-31', '2007-3-31', 4, ], [ 0.66666666666666996, '2008-1-1', '2008-9-1', 0, ], [ 0.66666666666666996, '2008-1-1', '2008-9-1', 1, ], [ 0.67777777777778003, '2008-1-1', '2008-9-1', 2, ], [ 0.66849315068492998, '2008-1-1', '2008-9-1', 3, ], [ 0.66666666666666996, '2008-1-1', '2008-9-1', 4, ], [ 1.1666666666666701, '2007-2-1', '2008-4-1', 0, ], [ 1.16279069767442, '2007-2-1', '2008-4-1', 1, ], [ 1.18055555555556, '2007-2-1', '2008-4-1', 2, ], [ 1.16438356164384, '2007-2-1', '2008-4-1', 3, ], [ 1.1666666666666701, '2007-2-1', '2008-4-1', 4, ], [ 47.524999999999999, '1960-12-19', '2008-6-28', 0, ], [ 47.52162252765670, '1960-12-19', '2008-6-28', 1, ], [ 48.216666666666697, '1960-12-19', '2008-6-28', 2, ], [ 47.556164383561601, '1960-12-19', '2008-6-28', 3, ], [ 47.524999999999999, '1960-12-19', '2008-6-28', 4, ], [ 25.558333333333302, '1982-12-7', '2008-6-28', 0, ], [ 25.5571892111134, '1982-12-7', '2008-6-28', 1, ], [ 25.9305555555556, '1982-12-7', '2008-6-28', 2, ], [ 25.575342465753401, '1982-12-7', '2008-6-28', 3, ], [ 25.558333333333302, '1982-12-7', '2008-6-28', 4, ], [ 0.163934426, '1960-01-01', '1960-03-01', 1, ], [ 0.161643836, '1961-01-01', '1961-03-01', 1, ], [ 0.161643836, '1963-03-01', '1963-01-01', 1, ], [ 1.086183311, '1960-01-01', '1961-02-01', 1, ], [ 1.084931507, '1961-01-01', '1962-02-01', 1, ], [ 1.083447332, '1963-01-01', '1964-02-01', 1, ], [ 1.162790698, '1963-01-01', '1964-03-01', 1, ], [ 0.841530055, '2020-02-28', '2021-01-01', 1, ], [ 0.764383562, '2020-03-28', '2021-01-01', 1, ], [ 0.841530055, '2023-04-28', '2024-03-01', 1, ], [ 0.838797814, '2023-04-28', '2024-02-29', 1, ], [ 0.838356164, '2023-04-28', '2024-02-28', 1, ], [ 0.753424658, '2023-04-28', '2024-01-28', 1, ], [ 0.753424658, '2022-04-28', '2023-01-28', 1, ], [ 1.0, '2020-01-01', '2021-01-01', 1, ], [ 0.99726776, '2020-02-28', '2021-02-27', 1, ], [ 0.764383562, '2020-03-28', '2021-01-01', 1, ], [ 0.841530055, '2023-04-28', '2024-03-01', 1, ], [ 0.838797814, '2023-04-28', '2024-02-29', 1, ], [ 0.838356164, '2023-04-28', '2024-02-28', 1, ], [ 0.753424658, '2023-04-28', '2024-01-28', 1, ], [ 0.753424658, '2022-04-28', '2023-01-28', 1, ], [ 1.082191781, '2022-04-28', '2023-05-28', 1, ], [ 1.002739726, '2022-04-27', '2023-04-28', 1, ], [ 0.084699454, '2024-04-27', '2024-05-28', 1, ], [ 0.084931507, '2023-04-27', '2023-05-28', 1, ], [ 2.085766423, '2023-04-27', '2025-05-28', 1, ], [ExcelError::VALUE(), '2023-04-27', 'ABQZ', 1], [ExcelError::VALUE(), 'ABQZ', '2023-04-07', 1], [ExcelError::NAN(), '2023-04-27', '2025-05-28', 6], [0, null, null], // Excel 1900 calendar gets all of the following wrong (null second arg). // PhpSpreadsheet is bug-compatible. [108, '2007-12-30', null], [107.11111111, '2007-02-10', null], [107, '2006-12-30', null], [107.00277778, '2006-12-31', null], [107.00277778, '2007-01-01', null], [106.99722222, null, '2006-12-29'], [100.419444, '2000-06-01', null, 0], [100.419572, '2000-06-01', null, 1], [101.883333, '2000-06-01', null, 2], [100.487671, '2000-06-01', null, 3], [100.419444, '2000-06-01', null, 4], [108.555556, '2006-12-29', null, 2], [108.558333, '2006-12-30', null, 2], [108.561111, '2006-12-31', null, 2], [108.563889, '2007-01-01', null, 2], [108.566667, '2007-01-02', null, 2], // Excel 1900 calendar gets all of the following wrong (null first arg). // PhpSpreadsheet is bug-compatible. [107, null, '2006-12-30'], [107.00277778, null, '2006-12-31'], [107.00277778, null, '2007-01-01'], [107.00555556, null, '2007-01-02'], [107.06849315, null, '2006-12-29', 3], [107.07123288, null, '2006-12-30', 3], [107.07397260, null, '2006-12-31', 3], [107.07671233, null, '2007-01-01', 3], [107.07945205, null, '2007-01-02', 3], [100.419444, null, '2000-06-01', 0], [100.419572, null, '2000-06-01', 1], [101.883333, null, '2000-06-01', 2], [100.487671, null, '2000-06-01', 3], [100.419444, null, '2000-06-01', 4], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/WORKDAY.php
tests/data/Calculation/DateTime/WORKDAY.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [ExcelError::VALUE(), '1-Jan-2007', 'ABC'], [39094.0, '1-Jan-2007', 9], [39619.0, '18-Jun-2008', 2], [39619.0, '16-Jun-2008', 4], [39622.0, '14-Jun-2008', 6], [39629.0, '14-Jun-2008', 11], [39611.0, '14-Jun-2008', -2], [39605.0, '14-Jun-2008', -6], [39815.0, '19-Dec-2008', 10], [39820.0, '19-Dec-2008', 10, ['25-Dec-2008', '26-Dec-2008', '01-Jan-2009']], [39820.0, '19-Dec-2008', 10, [['25-Dec-2008', '26-Dec-2008', '01-Jan-2009']]], [39821.0, '19-Dec-2008', 10, [['25-Dec-2008', '26-Dec-2008'], ['01-Jan-2009', '02-Jan-2009']]], [39801.0, 39820, -10, [['25-Dec-2008', '26-Dec-2008', '01-Jan-2009']]], // this had been 41010, which is wrong - confirmed with Excel [41011.0, '5-Apr-2012', 3, [['6-Apr-2012', '9-Apr-2012']]], [44242.0, '15-Feb-2021', 0], [ExcelError::VALUE(), '5-Apr-2012', 3, [['6-Apr-2012', 'ABQZ']]], [39598.0, '2008-06-12', -9], [44273.0, '2021-03-15', 3], // issue 1936 Monday [44274.0, '2021-03-16', 3], // issue 1936 Tuesday [44277.0, '2021-03-17', 3], // issue 1936 Wednesday [44278.0, '2021-03-18', 3], // issue 1936 Thursday [44279.0, '2021-03-19', 3], // issue 1936 Friday [44279.0, '2021-03-20', 3], // issue 1936 Saturday [44279.0, '2021-03-21', 3], // issue 1936 Sunday [44276.0, '2021-03-21', 0], // issue 1936 Sunday doesn't change for 0 [44258.0, '2021-03-15', -8], // issue 1936 Monday [44259.0, '2021-03-16', -8], // issue 1936 Tuesday [44260.0, '2021-03-17', -8], // issue 1936 Wednesday [44263.0, '2021-03-18', -8], // issue 1936 Thursday [44264.0, '2021-03-19', -8], // issue 1936 Friday [44265.0, '2021-03-20', -8], // issue 1936 Saturday [44265.0, '2021-03-21', -8], // issue 1936 Sunday ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/WEEKDAY.php
tests/data/Calculation/DateTime/WEEKDAY.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [5, '24-Oct-1968'], [5, '24-Oct-1968', 1], [4, '24-Oct-1968', 2], [3, '24-Oct-1968', 3], [ExcelError::NAN(), '24-Oct-1968', 4], [ExcelError::NAN(), '24-Oct-1968', 0], [ExcelError::NAN(), '24-Oct-1968', -1], [4, '2000-06-14'], [3, '2000-06-14', 2], [2, '2000-06-14', 3], [4, '1996-07-24'], [3, '1996-07-24', 2], [2, '1996-07-24', 3], [7, '1996-07-27'], [6, '1996-07-27', 2], [5, '1996-07-27', 3], [1, '1977-7-31'], [7, '1977-7-31', 2], [6, '1977-7-31', 3], [2, '1977-8-1'], [1, '1977-8-1', 2], [0, '1977-8-1', 3], [7, '1900-2-5', 2], [4, '1900-2-1'], [6, 38093], [6, 38093, 1], [5, 38093, 2], [4, 38093, 3], [ExcelError::VALUE(), '3/7/1977', 'A'], [ExcelError::NAN(), '3/7/1977', 0], [ExcelError::VALUE(), 'Invalid', 1], [ExcelError::NAN(), -1], [1, false], [2, true], [1, '1900-01-01'], [7, '1900-01-01', 2], [7, '1900-02-05', 2], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/ISOWEEKNUM.php
tests/data/Calculation/DateTime/ISOWEEKNUM.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [51, '21-Dec-2000'], [52, '2000-01-01'], [1, '2000-01-03'], [52, '1995-01-01'], [1, '1995-01-07'], [2, '1995-01-10'], [1, '2018-01-01'], [ExcelError::VALUE(), '1800-01-01'], [52, false], [52, true], [52, 0], [52, 1], [1, 2], [1, 8], [2, 9], [53, '1904-01-01'], [52, '1900-01-01'], [1, '1900-01-07'], [1, '1900-01-08'], [2, '1900-01-09'], [9, '1900-03-04'], [10, '1900-03-05'], [ExcelError::NAN(), -1], [39, 1000], [25, '2001'], [25, 2002], [25, 2003], [26, 2004], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/YEAR.php
tests/data/Calculation/DateTime/YEAR.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [1900, 0], [1900, 1], [1991, 33333.33], [1960, '22269.0'], [1983, 30348.0], [1984, 30843.0], [2525, '01 Jan 2525'], [1918, '11-Nov-1918'], [1904, '28-Feb-1904'], [ExcelError::NAN(), -10], [ExcelError::VALUE(), '31-Dec-1899'], [ExcelError::VALUE(), 'ABCD'], [1900, false], [1900, true], [1900, 366], // because of fake leap day [1901, 367], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/DateTime/WEEKNUM.php
tests/data/Calculation/DateTime/WEEKNUM.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [52, '21-Dec-2000', 1], [1, '2000-01-01', 1], [2, '2000-01-02', 1], [1, '2000-01-01', 2], [2, '2000-01-03', 2], [1, '1995-01-01', 1], [1, '1995-01-07', 1], [2, '1995-01-08', 1], [1, '1995-01-01', 2], [2, '1995-01-02', 2], [28, '3/7/1977'], [ExcelError::VALUE(), '3/7/1977', 'A'], [ExcelError::NAN(), '3/7/1977', 0], [ExcelError::NAN(), '3/7/1977', -1], [ExcelError::VALUE(), 'Invalid', 1], [ExcelError::NAN(), -1], [53, '2019-12-29', 1], [52, '2019-12-29', 2], [ExcelError::NAN(), '2019-12-29', 3], [ExcelError::NAN(), '2019-12-29', 10], [52, '2019-12-29', 11], [52, '2019-12-29', 12], [53, '2019-12-29', 13], [53, '2019-12-29', 14], [53, '2019-12-29', 15], [53, '2019-12-29', 16], [53, '2019-12-29', 17], [ExcelError::NAN(), '2019-12-29', 18], [ExcelError::NAN(), '2019-12-29', 20], [ExcelError::NAN(), '2019-12-29', 22], [52, '2019-12-29', 21], [53, '2020-12-29', 21], [52, '2021-12-29', 21], [52, '2022-12-29', 21], [1, '2020-01-01', 21], [53, '2021-01-01', 21], [52, '2022-01-01', 21], [52, '2023-01-01', 21], [2, '2020-01-08', 21], [1, '2021-01-08', 21], [1, '2022-01-08', 21], [1, '2023-01-08', 21], [1, '2025-12-29', 21], [9, '1900-03-01'], [2, '1900-01-07', 2], [2, '1905-01-07', 2], [1, '1900-01-01'], [1, '1900-01-01', 2], [2, '1900-01-02', 2], [1, null, 11], [1, 0, 11], [1, 0, 12], [1, 0, 13], [1, 0, 14], [1, 0, 15], [1, 0, 16], [0, 0, 17], [1, '1905-01-01', 17], [0, 0], [0, null, null], [1, null, 2], [1, 0, 2], [1, '1906-01-01'], [ExcelError::VALUE(), true], [ExcelError::VALUE(), false, 21], [52, null, 21], [53, '1904-01-01', 21], [52, '1900-01-01', 21], [1, '1900-01-07', 21], [1, '1900-01-08', 21], [2, '1900-01-09', 21], [9, '1900-03-04', 21], [10, '1900-03-05', 21], [52, '21-Dec-2000'], [52, '21-Dec-2000', null], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/COMBIN.php
tests/data/Calculation/MathTrig/COMBIN.php
<?php declare(strict_types=1); // NumObjs, NumInSet, Result return [ [ 35, 7, 3, ], [ 28, 8, 2, ], [ 56, 8, 3, ], [ 70, 8, 4, ], [ 161700, 100, 3, ], [ '#NUM!', -7, -10, ], [ '#NUM!', -7, 10, ], [ '#NUM!', 7, -10, ], [ '#NUM!', 2, 3, ], [ 1, 2, 2, ], [ 2, 2, 1, ], [ 1, 2, 0, ], [ 1, 2.5, 2, ], [ '#VALUE!', 'ABCD', 2, ], [ '#VALUE!', 3, 'EFGH', ], [ 252, 10, 5, ], [ 120, 10, 3, ], [ 20349, 21, 5, ], [ 6, 6, 1, ], [ 15, 6, 2, ], [ 20, 6, 3, ], [ 15, 6, 4, ], [ 6, 6, 5, ], [ 1, 6, 6, ], [ '#NUM!', 6, 7, ], [1, 0, 0], ['#NUM!', 0, 1], ['#VALUE!', 1, true], ['#VALUE!', 1, null], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUMWITHINDEXMATCH.php
tests/data/Calculation/MathTrig/SUMWITHINDEXMATCH.php
<?php declare(strict_types=1); return [ [ 64, '=SUM(4 * INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)))', ], [ 64, '=SUM(INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)) * 4)', ], [ 20, '=SUM(4 + INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)))', ], [ 20, '=SUM(INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)) + 4)', ], [ -12, '=SUM(4 - INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)))', ], [ 12, '=SUM(INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)) - 4)', ], [ 0.25, '=SUM(4 / INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)))', ], [ 4, '=SUM(INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)) / 4)', ], 'divide by zero' => [ '#DIV/0!', '=SUM(INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)) / 0)', ], 'invalid divisor' => [ '#VALUE!', '=SUM(INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)) / "xyz")', ], [ 4294967296, '=SUM(4 ^ INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)))', ], [ 65536, '=SUM(INDEX(Lookup!B2, MATCH(A2, Lookup!A2, 0)) ^ 4)', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/MDETERM.php
tests/data/Calculation/MathTrig/MDETERM.php
<?php declare(strict_types=1); return [ [ 0, [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ], ], [ 0, [ [1.1, 2.2, 3.3], [4.4, 5.5, 6.6], [7.7, 8.8, 9.9], ], ], [ 0, [ [10, 20, 30], [40, 50, 60], [70, 80, 90], ], ], [ -360.0, [ [8, 1, 6], [3, 5, 7], [4, 9, 2], ], ], [ -9, [ [5, 2], [7, 1], ], ], [ 40, [ [6, 4, 2], [3, 5, 3], [2, 3, 4], ], ], [ 1.81, [ [0.20, 1.0], [0.35, 10.8], ], ], [ -2, [ [1, 2], [3, 4], ], ], [ -3, [ [1, 2, 1], [3, 4, 2], [1, 1, 2], ], ], [ 88, [ [1, 3, 8, 5], [1, 3, 6, 1], [1, 1, 1, 0], [7, 3, 10, 2], ], ], [ 1, [ [3, 6, 1], [1, 1, 0], [3, 10, 2], ], ], [ -3, [ [3, 6], [1, 1], ], ], [ -3, [ [3, '=6'], [1, 1], ], ], [ '#VALUE!', // null in array [ [0.20, 1.00, -0.90], [0.35, 10.80, 4.00], [-3.15, 5.00, null], ], ], [ '#VALUE!', // string in array [ [0.20, 1.00, -0.90], [0.35, 10.80, '="4.00"'], [-3.15, 5.00, 6.00], ], ], [ '#VALUE!', // string in array [ [0.20, 1.00, -0.90], [0.35, 10.80, 'Y'], [-3.15, 5.00, 6.00], ], ], [ '#VALUE!', // not square [ [1, 3, 8, 5], [1, 3, 6, 1], ], ], [1, '{3,6,1;1,1,0;3,10,2}'], // bracket notation [2, 2], // scalar treated as 1x1 ['#VALUE!', '"y"'], // invalid scalar treated as 1x1 ['#VALUE!', '"2"'], // invalid scalar treated as 1x1 ['#VALUE!', '{3,6,1;1,1,0}'], // not square ['#VALUE!', '{3,6, "y";1,1,0;3,10,2}'], // first row has string entry ['exception', ''], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/TAN.php
tests/data/Calculation/MathTrig/TAN.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [0, '0'], [1.557407725, '1'], [-2.185039863, '"2"'], [1, 'PI() / 4'], ['#DIV/0!', 'PI() / 2'], ['#DIV/0!', '-PI() / 2'], ['#DIV/0!', '3 * PI() / 2'], [0, 'Q15'], [0, 'false'], [1.557407725, 'true'], [1.557407725, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/BASE.php
tests/data/Calculation/MathTrig/BASE.php
<?php declare(strict_types=1); return [ [ '111', 7, 2, ], [ '64', 100, 16, ], [ 'CA', 202, 16, ], [ '0000001111', 15, 2, 10, ], [ '0000001111', 15.3, 2.6, 10, ], [ '#VALUE!', 'ABC', 2, 10, ], [ '#VALUE!', 15, 'ABC', 10, ], [ '#VALUE!', 15, 2, 'ABC', ], [ '#NUM!', -1, 2, ], [ '#NUM!', 15, -1, ], ['#VALUE!', 15, -1, '"X"'], ['#NUM!', 15, 37], // radix > 36 ['#NUM!', 2 ** 54, 16], // number > 2 ** 53 ['00000120', 15, 3, 8.1], ['exception'], ['exception', 1], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/RANDBETWEEN.php
tests/data/Calculation/MathTrig/RANDBETWEEN.php
<?php declare(strict_types=1); return [ ['#VALUE!', 'y', 3], ['#VALUE!', 3, 'y'], ['#NUM!', 3, -3], ['#NUM!', 30, 10], [0, '20', 30], [0, 20, '30'], [0, 20, 30], [0, null, 30], [0, false, 30], [0, true, 30], [0, -30, true], [0, -30, false], [0, -30, null], ['exception', -30], ['exception'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/COS.php
tests/data/Calculation/MathTrig/COS.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [1, '0'], [0, 'PI() / 2'], [0.540302306, '1.0'], [0.540302306, '-1.0'], [-0.416146837, '2.0'], [-0.416146837, '-2.0'], [1, 'Q15'], [1, 'false'], [0.540302306, 'true'], [-0.416146837, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/MULTINOMIAL.php
tests/data/Calculation/MathTrig/MULTINOMIAL.php
<?php declare(strict_types=1); return [ [ 1260, 2, 3, 4, ], [ 27720, 3, 1, 2, 5, ], [1, 0], ['#NUM!', 3, -1], ['#VALUE!', 3, 'X'], ['#VALUE!', 3, null], ['#VALUE!', 3, true], ['exception'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUMX2PY2.php
tests/data/Calculation/MathTrig/SUMX2PY2.php
<?php declare(strict_types=1); return [ [ 64, [5, 2, 3], [3, -1, 4], ], [ 521, [2, 3, 9, 1, 8, 7, 5], [6, 5, 11, 7, 5, 4, 4], ], [ 204, [[1, 2], [3, 4]], [[5, 6], [7, 8]], ], [30, [1, 2], [3, 4]], [30, [1, '=2'], [3, 4]], [10, [1, ''], [3, 4]], [10, [1, '2'], [3, 4]], [10, [1, '="2"'], [3, 4]], [10, [1, 'X'], [3, 4]], [10, [1, false], [3, 4]], [20, [1, 2], [null, 4]], [20, [1, 2], [true, 4]], ['#N/A', [1, 2], [3, 4, 5]], // different dimensions ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/CEILINGPRECISE.php
tests/data/Calculation/MathTrig/CEILINGPRECISE.php
<?php declare(strict_types=1); return [ [3, '2.5, 1'], [-2, '-2.5, -2'], [-2, '-2.5, 2'], [4, '2.5, -2'], [0.0, '0.0, 1'], [0.0, '123.456, 0'], [1.5, '1.5, 0.1'], [0.24, '0.234, 0.01'], [124, '123.456, 1'], ['#VALUE!', '"ABC"'], [18, '17, 3'], [20, '19, 4'], ['exception', ''], ['#VALUE!', '25, "ABC"'], [0, ',1'], [0, 'false,1'], [1, 'true,1'], ['#VALUE!', '"", 1'], [2, 'A2, 1'], [3, 'A3, 1'], [-3, 'A4, 1'], [-5, 'A5, 1'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/LOG.php
tests/data/Calculation/MathTrig/LOG.php
<?php declare(strict_types=1); // number, base, result return [ [ '#VALUE!', 'ABC', ], [ '#VALUE!', '123ABC', ], [ 0.091491094267951101, 1.2344999999999999, ], [ '#NUM!', -1.5, -0.75, ], [ '#NUM!', 0, -0.75, ], [ '#NUM!', 3.75, -0.75, ], [ '#NUM!', -1.5, 0, ], [ '#NUM!', 0, 0, ], [ '#NUM!', 3.75, 0, ], [ '#NUM!', -0.75, 0.75, ], [ '#NUM!', 0, 0.75, ], [ 1.0, 0.75, 0.75, ], [ -1.40942083965321, 1.5, 0.75, ], [ -2.8188416793064199, 2.25, 0.75, ], [ -3.8188416793064199, 3, 0.75, ], [ -4.5945019399978904, 3.75, 0.75, ], [ -5.2282625189596299, 4.5, 0.75, ], [ '#NUM!', -0.75, 1.5, ], [ '#NUM!', 0, 1.5, ], [ -0.70951129135145496, 0.75, 1.5, ], [ 1.0, 1.5, 1.5, ], [ 2.0, 2.25, 1.5, ], [ 2.7095112913514501, 3, 1.5, ], [ 3.25985100456466, 3.75, 1.5, ], [ 3.7095112913514501, 4.5, 1.5, ], [ '#NUM!', -0.75, 2.25, ], [ '#NUM!', 0, 2.25, ], [ -0.35475564567572698, 0.75, 2.25, ], [ 0.5, 1.5, 2.25, ], [ 1.0, 2.25, 2.25, ], [ 1.3547556456757299, 3, 2.25, ], [ 1.62992550228233, 3.75, 2.25, ], [ 1.8547556456757299, 4.5, 2.25, ], [ '#NUM!', -0.75, 3, ], [ '#NUM!', 0, 3, ], [ -0.261859507142915, 0.75, 3, ], [ 0.36907024642854303, 1.5, 3, ], [ 0.73814049285708505, 2.25, 3, ], [ 1.0, 3, 3, ], [ 1.20311401357501, 3.75, 3, ], [ 1.36907024642854, 4.5, 3, ], [ '#NUM!', -0.75, 3.75, ], [ '#NUM!', 0, 3.75, ], [ -0.21765144798273001, 0.75, 3.75, ], [ 0.306762486567556, 1.5, 3.75, ], [ 0.61352497313511101, 2.25, 3.75, ], [ 0.83117642111784096, 3, 3.75, ], [ 1.0, 3.75, 3.75, ], [ 1.1379389076854001, 4.5, 3.75, ], [ '#NUM!', -0.75, 4.5, ], [ '#NUM!', 0, 4.5, ], [ -0.19126813092755501, 0.75, 4.5, ], [ 0.26957728969081501, 1.5, 4.5, ], [ 0.53915457938163003, 2.25, 4.5, ], [ 0.73042271030918504, 3, 4.5, ], [ 0.87878179860642203, 3.75, 4.5, ], [ 1.0, 4.5, 4.5, ], [ 6, 64, 2, ], [ 2, 100, ], [ -2, 4, 0.5, ], [ 2.6989700043360001, 500, ], [ 1, 10, ], [ 3, 8, 2, ], [ 4.454347342888, 86, 2.7182818000000002, ], [ 1.3010299956639999, 20, ], [ 1.3010299956639999, 20, 10, ], [ 0.93067655807299998, 20, 25, ], [ 1.9756909715740001, 25, 5.0999999999999996, ], [ 4.82273630215, 200, 3, ], ['exception'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ABS.php
tests/data/Calculation/MathTrig/ABS.php
<?php declare(strict_types=1); return [ ['exception'], // exception - not enough args ['#VALUE!', 'ABC'], [35.51, '35.51'], [35.51, '=35.51'], [35.51, '="35.51"'], [35.51, 35.51], [35.51, -35.51], [6, '6'], [7, '-7'], [0, 0], [0, null], [0, false], [1, true], ['#VALUE!', ''], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ATAN.php
tests/data/Calculation/MathTrig/ATAN.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [0, '0'], [M_PI / 4, '"1"'], [1.107149, '2'], [-M_PI / 4, '-1'], [M_PI / 2, '10000000'], // ['#NUM!', 2], Believe NAN is not possible [0, 'Q15'], [0, 'false'], [M_PI / 4, 'true'], [1.373400767, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/CEILING.php
tests/data/Calculation/MathTrig/CEILING.php
<?php declare(strict_types=1); return [ [3.0, '2.5, 1'], [-4.0, '-2.5, -2'], [1.5, '1.5, 0.1'], [0.24, '0.234, 0.01'], [-2.4, '-2.341, -0.1'], [0.0, '8, 0'], [9.0, '8, 1.5'], ['#NUM!', '8, -1.5'], 'changed with pr 4466 #1' => [-7.5, '-8, 1.5'], [-9.0, '-8, -1.5'], [8.3, '8.26, 0.05'], [2.35, '2.341, 0.05'], ['#VALUE!', '123.456, "abc"'], ['exception', '123.456'], ['#VALUE!', '"PhpSpreadsheet", 1'], ['exception', '"PhpSpreadsheet"'], [211.0, '210.67, 1'], [210.70, '210.67, 0.05'], [210.65, '210.63, 0.05'], [4.0, '2.98, 2'], 'changed with pr 4466 #2' => [-2, '-2.98, 2'], [-5.0, '-4.5, -1'], [0, ',1'], [0, 'false,1'], [1, 'true,1'], ['#VALUE!', '"", 1'], [2, 'A2, 1'], [3, 'A3, 1'], [-4, 'A4, -1'], [-6, 'A5, -1'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/CSCH.php
tests/data/Calculation/MathTrig/CSCH.php
<?php declare(strict_types=1); return [ ['#VALUE!', '"ABC"'], [-0.00009079985971, -10], [-0.00373489848829, '-PI() * 2'], [-0.01347650583059, '"-5"'], [-0.08658953753005, '-PI()'], [-0.43453720809470, '-PI() / 2'], [-9.98335275729611, -0.1], ['#DIV/0!', 0.0], [9.98335275729611, 0.1], [0.43453720809470, 'PI() / 2'], [0.08658953753005, 'PI()'], [0.01347650583059, 5], [0.00373489848829, 'PI() * 2'], [0.00009079985971, 10], [0.850918128, 'true'], ['#DIV/0!', 'false'], ['#DIV/0!', 'null'], ['#DIV/0!', 'Q15'], [-0.044763946, 'A4'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ATAN2.php
tests/data/Calculation/MathTrig/ATAN2.php
<?php declare(strict_types=1); // x_num, y_num, Result return [ ['#DIV/0!', '0, 0'], [M_PI_4, '1, 1'], [-3 * M_PI_4, '-1, -1'], [3 * M_PI_4, '-1, 1'], [-M_PI_4, '1, -1'], [1.107148717, '0.5, 1'], [1.815774989, '-0.5, 2'], [0.674740942, '1, 0.8'], [-0.643501109, '0.8, -0.6'], [-1.460139105, '1, -9'], [0.0, '0.2, 0'], [1.107148718, '0.1, 0.2'], [M_PI_2, '0, 0.2'], ['#VALUE!', '"A", 0.2'], ['#VALUE!', '0.2, "A"'], [M_PI_4, 'true, 1'], [-M_PI_2, 'false, -2.5'], ['exception', ''], ['exception', '1'], [0.876058051, 'A2, A3'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/PI.php
tests/data/Calculation/MathTrig/PI.php
<?php declare(strict_types=1); return [ [3.141592653589793], 'should not supply any arguments' => ['exception', 1], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/CSC.php
tests/data/Calculation/MathTrig/CSC.php
<?php declare(strict_types=1); return [ ['#VALUE!', '"ABC"'], [1.83816396088967, -10], [1.04283521277141, '"-5"'], [-1.0, '-PI() / 2'], [-10.01668613163480, -0.1], ['#DIV/0!', 0.0], ['#DIV/0!', 'PI()'], ['#DIV/0!', '-PI()'], [10.01668613163480, 0.1], [1.0, 'PI() / 2'], [-1.04283521277141, 5], [-1.83816396088967, 10], [1.188395106, 'true'], ['#DIV/0!', 'false'], ['#DIV/0!', 'null'], ['#DIV/0!', 'Q15'], [1.634366435, 'A4'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ACOS.php
tests/data/Calculation/MathTrig/ACOS.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [M_PI_2, '0'], [M_PI, '"-1"'], [0, '1'], ['#NUM!', '2'], [M_PI_2, 'Q15'], [M_PI_2, 'false'], [0, 'true'], [1.047197551, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ACOT.php
tests/data/Calculation/MathTrig/ACOT.php
<?php declare(strict_types=1); return [ ['#VALUE!', '"ABC"'], [3.04192400109863, -10], [2.98376146330163, '-PI() * 2'], [2.94419709373991, '"-5"'], [2.83342358247381, '-PI()'], [2.57468114864878, '-PI() / 2'], [1.67046497928606, -0.1], [1.57079632679490, 0.0], [1.47112767430373, 0.1], [0.56691150494101, 'PI() / 2'], [0.30816907111599, 'PI()'], [0.19739555984988, 5], [0.15783119028816, 'PI() * 2'], [0.09966865249116, 10], [1.57079632679490, 'Q15'], [1.57079632679490, 'null'], [1.57079632679490, 'false'], [0.785398163, 'true'], [2.94419709373991, 'A5'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUMSQ.php
tests/data/Calculation/MathTrig/SUMSQ.php
<?php declare(strict_types=1); return [ [ 25, 3, 4, ], [ 39, 5, 2, 1, 3, ], [ 66, 5, 2, 1, 6, ], [ 10, 1, 3, ], [ 30, 1, 3, 2, 4, ], [ 83, 3, 5, 7, ], [ 14, 1, 2, 3, ], [14, 1, '2', 3], [14, 1, '=2', 3], [14, 1, '="2"', 3], ['#VALUE!', 1, 'X', 3], ['#VALUE!', 1, '', 3], ['#VALUE!', false, 2, 3], ['#VALUE!', 1, 2, true], [5, 1, 2, null], [10, 1, null, 3, null], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/EVEN.php
tests/data/Calculation/MathTrig/EVEN.php
<?php declare(strict_types=1); return [ [0, 'null'], [6, 5.4], [-6, -5.4], [2, 1.5], [2, 0.1], [4, '"3"'], [2, 2], [-2, -2], [-2, -1], ['#VALUE!', '"ABC"'], [2, 'true'], [0, 'false'], [0, 0], [212, 210.6], [4, 2.98], [-4, -2.98], [6, 6], ['exception', ''], ['4', 'A2'], ['0', 'Q15'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/MMULT.php
tests/data/Calculation/MathTrig/MMULT.php
<?php declare(strict_types=1); return [ [ [ [7, 10], [15, 22], ], [ [1, 2], [3, 4], ], [ [1, 2], [3, 4], ], ], [ [ [30, 36, 42], [66, 81, 96], [102, 126, 150], ], [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ], [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ], ], [ [ [10.08, 14.40], [21.60, 31.68], ], [ [1.2, 2.4], [3.6, 4.8], ], [ [1.2, 2.4], [3.6, 4.8], ], ], [ [ [20.48, 30.60], [50.40, 79.88], ], [ [1.2, 3.4], [5.6, 7.8], ], [ [1.2, 3.4], [5.6, 7.8], ], ], [ [ [62.00, 49.46], [176.40, 144.50], ], [ [1.2, 2.3, 3.4, 4.5], [5.6, 6.7, 7.8, 8.9], ], [ [9.8, 8.7], [7.6, 6.5], [5.4, 4.3], [3.2, 2.1], ], ], [ [ [17], [39], ], [ [1, 2], [3, 4], ], [ [5], [6], ], ], [ '#VALUE!', // null in first array [ [1, 2], [null, 4], ], [ [5], [6], ], ], [ '#VALUE!', // string in second array [ [1, 2], [3, 4], ], [ ['5'], [6], ], ], // Mismatched dimensions (2x2) and (1x1) [ '#VALUE!', [ [1, 2], [3, 4], ], [ [2], ], ], // Mismatched dimensions (2x2) and individual cell [ '#VALUE!', [ [1, 2], [3, 4], ], [ 2, ], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ACOSH.php
tests/data/Calculation/MathTrig/ACOSH.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [1.316958, '2'], [0, '1'], ['#NUM!', '0'], ['#NUM!', '-1'], ['#NUM!', 'Q15'], ['#NUM!', 'false'], [0, 'true'], [0.96242365, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/COTH.php
tests/data/Calculation/MathTrig/COTH.php
<?php declare(strict_types=1); return [ ['#VALUE!', '"ABC"'], [-1.00000000412231, -10], [-1.00000697470904, '-PI() * 2'], [-1.00009080398202, '"-5"'], [-1.00374187319732, '-PI()'], [-1.09033141072737, '-PI() / 2'], [-10.03331113225400, -0.1], ['#DIV/0!', 0.0], [10.03331113225400, 0.1], [1.09033141072737, 'PI() / 2'], [1.00374187319732, 'PI()'], [1.00009080398202, 5], [1.00000697470904, 'PI() * 2'], [1.00000000412231, 10], ['exception', ''], ['#DIV/0!', 'Q15'], ['#DIV/0!', 'null'], ['#DIV/0!', 'false'], [1.313035285, 'true'], [-1.000060867, 'A5'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ASIN.php
tests/data/Calculation/MathTrig/ASIN.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [M_PI_2, '1'], [-M_PI_2, '"-1"'], [0, '0'], ['#NUM!', '2'], [0, 'Q15'], [0, 'false'], [M_PI_2, 'true'], [0.523598776, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SIN.php
tests/data/Calculation/MathTrig/SIN.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [0, '0'], [1, 'PI() / 2'], [0.89120736, '"1.1"'], [-0.89120736, '-1.1'], [0.909297427, '2.0'], [0, 'Q15'], [0, 'false'], [0.841470985, 'true'], [0.909297427, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/POWER.php
tests/data/Calculation/MathTrig/POWER.php
<?php declare(strict_types=1); return [ [ '#NUM!', -1.5, -1.5, ], [ '#NUM!', -0.75, -1.5, ], [ '#DIV/0!', 0, -1.5, ], [ 1.5396007178390001, 0.75, -1.5, ], [ 0.54433105395182002, 1.5, -1.5, ], [ 0.2962962962963, 2.25, -1.5, ], [ 0.19245008972988001, 3, -1.5, ], [ 0.13770607453181999, 3.75, -1.5, ], [ 0.10475656017579001, 4.5, -1.5, ], [ '#NUM!', -1.5, -0.75, ], [ '#NUM!', -0.75, -0.75, ], [ '#DIV/0!', 0, -0.75, ], [ 1.2408064788027999, 0.75, -0.75, ], [ 0.73778794646687995, 1.5, -0.75, ], [ 0.54433105395182002, 2.25, -0.75, ], [ 0.43869133765083002, 3, -0.75, ], [ 0.37108769116182999, 3.75, -0.75, ], [ 0.32366118113822001, 4.5, -0.75, ], [ 1, -1.5, 0, ], [ 1, -0.75, 0, ], [ '#NUM!', 0, 0, ], [ 1, 0.75, 0, ], [ 1, 1.5, 0, ], [ 1, 2.25, 0, ], [ 1, 3, 0, ], [ 1, 3.75, 0, ], [ 1, 4.5, 0, ], [ '#NUM!', -1.5, 0.75, ], [ '#NUM!', -0.75, 0.75, ], [ 0, 0, 0.75, ], [ 0.80592744886765999, 0.75, 0.75, ], [ 1.3554030054147701, 1.5, 0.75, ], [ 1.8371173070873801, 2.25, 0.75, ], [ 2.2795070569547802, 3, 0.75, ], [ 2.6947808397231299, 3.75, 0.75, ], [ 3.0896507158606799, 4.5, 0.75, ], [ '#NUM!', -1.5, 1.5, ], [ '#NUM!', -0.75, 1.5, ], [ 0, 0, 1.5, ], [ 0.64951905283833, 0.75, 1.5, ], [ 1.8371173070873801, 1.5, 1.5, ], [ 3.375, 2.25, 1.5, ], [ 5.1961524227066302, 3, 1.5, ], [ 7.2618437741389101, 3.75, 1.5, ], [ 9.5459415460183905, 4.5, 1.5, ], [ '#NUM!', -1.5, 2.25, ], [ '#NUM!', -0.75, 2.25, ], [ 0, 0, 2.25, ], [ 0.52346523324492999, 0.75, 2.25, ], [ 2.4900343193257202, 1.5, 2.25, ], [ 6.2002709114199197, 2.25, 2.25, ], [ 11.8446661165724, 3, 2.25, ], [ 19.569077463612199, 3.75, 2.25, ], [ 29.4936251312199, 4.5, 2.25, ], [ -3.375, -1.5, 3, ], [ -0.421875, -0.75, 3, ], [ 0, 0, 3, ], [ 0.421875, 0.75, 3, ], [ 3.375, 1.5, 3, ], [ 11.390625, 2.25, 3, ], [ 27, 3, 3, ], [ 52.734375, 3.75, 3, ], [ 91.125, 4.5, 3, ], [ '#NUM!', -1.5, 3.75, ], [ '#NUM!', -0.75, 3.75, ], [ 0, 0, 3.75, ], [ 0.34000064249104001, 0.75, 3.75, ], [ 4.5744851432748401, 1.5, 3.75, ], [ 20.9259143260422, 2.25, 3.75, ], [ 61.546690537779, 3, 3.75, ], [ 142.10758334477501, 3.75, 3.75, ], [ 281.54442148280401, 4.5, 3.75, ], [ '#NUM!', -1.5, 4.5, ], [ '#NUM!', -0.75, 4.5, ], [ 0, 0, 4.5, ], [ 0.27401585041616999, 0.75, 4.5, ], [ 6.2002709114199197, 1.5, 4.5, ], [ 38.443359375, 2.25, 4.5, ], [ 140.29611541307901, 3, 4.5, ], [ 382.94879277685698, 3.75, 4.5, ], [ 869.87392338092604, 4.5, 4.5, ], ['#VALUE!', 'x', 2], ['#VALUE!', 2, 'x'], 'exponent is null' => [1, 2, null], 'base is null' => [0, null, 2], 'both null' => ['#NUM!', null, null], 'exponent is bool' => [2, 2, true], 'base is bool' => [0, false, 2], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/DEGREES.php
tests/data/Calculation/MathTrig/DEGREES.php
<?php declare(strict_types=1); return [ ['exception'], // exception not enough args ['#VALUE!', 'ABC'], [45, M_PI / 4], [0, 0], [0, null], [0, false], ['#VALUE!', ''], [57.29577951, true], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUBTOTALHIDDEN.php
tests/data/Calculation/MathTrig/SUBTOTALHIDDEN.php
<?php declare(strict_types=1); return [ [21, 101], [5, 102], [5, 103], [55, 104], [1, 105], [48620, 106], [23.1840462387393, 107], [20.7364413533277, 108], [105, 109], [537.5, 110], [430, 111], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/CEILINGMATH.php
tests/data/Calculation/MathTrig/CEILINGMATH.php
<?php declare(strict_types=1); return [ [3, '2.5, 1'], [-2, '"-2.5", "-2"'], [-2, '-2.5, 2'], [4, '2.5, -2'], [0.0, '0.0, 1'], ['0', '123.456, 0'], [1.5, '1.5, 0.1'], [0.24, '0.234, 0.01'], [124, '123.456'], ['#VALUE!', '"ABC"'], [18, '17, 3'], [20, '19, 4'], [25, '24.3, 5'], [7, '6.7, 1'], [-8, '-8.1, 2'], [-6, '-5.5, 2, -1'], [-6, '-5.5, 2, 1'], [-4, '-5.5, 2, 0'], ['exception', ''], [0, ','], [0, ', 2'], [0, 'false'], [1, 'true'], ['#VALUE!', '"", 2'], [2, 'A2'], [3, 'A3'], [-3, 'A4'], [-5, 'A5'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/QUOTIENT.php
tests/data/Calculation/MathTrig/QUOTIENT.php
<?php declare(strict_types=1); return [ [ 2, 5, 2, ], [ 1, 4.5, 3.1000000000000001, ], [ -3, -10, 3, ], [ 4, 10, 2.2000000000000002, ], [ 2, 5.5, 2.6669999999999998, ], [ -3, -7, 2, ], ['#VALUE!', 'X', 5], ['#VALUE!', 5, 'X'], ['#DIV/0!', 5, 0], ['#DIV/0!', 5, null], ['#DIV/0!', 0, 0], [0, 0, 5], ['exception'], ['exception', 1], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/MINVERSE.php
tests/data/Calculation/MathTrig/MINVERSE.php
<?php declare(strict_types=1); return [ [ [ [0.147222222222222, -0.14444444444444399, 0.063888888888888898], [-0.061111111111111102, 0.022222222222222199, 0.105555555555556], [-0.0194444444444444, 0.18888888888888899, -0.102777777777778], ], [ [8, 1, 6], [3, 5, 7], [4, 9, 2], ], ], [ [ [4, -1], [2, 0], ], [ [0.0, 0.5], [-1.0, 2.0], ], ], [ [ [1, 2, 1], [3, 4, -1], [0, 2, 0], ], [ [0.25, 0.25, -0.75], [0.00, 0.00, 0.50], [0.75, -0.25, -0.25], ], ], [ [ [-0.4545454545455, 1.8181818181818, 0.2727272727273, -0.4545454545455], [-0.4545454545455, 1.8181818181818, -0.7272727272727, -0.4545454545455], [0.9090909090909, 1.3636363636364, 0.4545454545455, 0.9090909090909], [2.2727272727273, 0.9090909090909, 5.6363636363636, 3.2727272727273], ], [ [3.2, -4.8, 2.8, -1.0], [0.2, 0.2, 0.2, 0.0], [1.0, -1.0, 0.0, 0.0], [-4.0, 5.0, -2.0, 1.0], ], ], [ [ [1, 2], [3, 4], ], [ [-2.0, 1.0], [1.5, -0.5], ], ], [ [ [1, 2, 1], [3, 4, 2], [1, 1, 2], ], [ [-2, 1, 0], [1.3333333333333299, -0.33333333333332998, -0.33333333333332998], [0.33333333333332998, -0.33333333333332998, 0.66666666666666996], ], ], [ [ [2, 3], [4, 5], ], [ [-2.5, 1.5], [2.0, -1.0], ], ], [ [ [5, 8], [7, 9], ], [ [-0.81818181818181801, 0.72727272727272696], [0.63636363636363602, -0.45454545454545497], ], ], [ [ [45, 78], [17, 50], ], [ [0.054112554112554001, -0.084415584415584], [-0.018398268398268001, 0.048701298701299002], ], ], [ [ [2, 2], [2, 1], ], [ [-0.5, 1.0], [1.0, -1.0], ], ], [ '#VALUE!', // Not Square [ [-0.5, 1.0, 1.5], [1.0, -1.0, 2.0], ], ], [ '#NUM!', // Determinant is 0 [ [3, 4], [6, 8], ], ], [ '#VALUE!', // null in array [ [3, null], [6, 8], ], ], [ '#VALUE!', // string in array [ [3, 4], ['6', 8], ], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/LCM.php
tests/data/Calculation/MathTrig/LCM.php
<?php declare(strict_types=1); return [ [ 10, 5, 2, ], [ 72, 24, 36, ], [ 84, 3, 7, 12, ], [ 72, 24.899999999999999, 36.899999999999999, ], [ 726, 6, 22, 121, ], [ '#VALUE!', 6, 'ABC', ], [ '#NUM!', 24, -12, ], [ 0, 3, 0, ], [ 5, 1, 5, ], [ 150, 15, 10, 25, ], [ 24, 1, 8, 12, ], [ 14, 7, 2, ], ['#NUM!', 7, 0, -1], ['#VALUE!', 7, 0, 'X'], [18, 9.1, 6.7], [12, 6, null, 4], ['#VALUE!', null, null, null], ['#VALUE!', null], ['#VALUE!', 6, false, 4], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUMX2MY2.php
tests/data/Calculation/MathTrig/SUMX2MY2.php
<?php declare(strict_types=1); return [ [ 12, [5, 2, 3], [3, -1, 4], ], [ -55, [2, 3, 9, 1, 8, 7, 5], [6, 5, 11, 7, 5, 4, 4], ], [ -144, [[1, 2], [3, 4]], [[5, 6], [7, 8]], ], [-20, [1, 2], [3, 4]], [-20, [1, '=2'], [3, 4]], [-8, [1, '2'], [3, 4]], [-8, [1, '="2"'], [3, 4]], [-8, [1, 'X'], [3, 4]], [-8, [1, false], [3, 4]], [-12, [1, 2], ['', 4]], [-12, [1, 2], [null, 4]], [-12, [1, 2], [true, 4]], ['#N/A', [1, 2], [3, 4, 5]], // different dimensions ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUM.php
tests/data/Calculation/MathTrig/SUM.php
<?php declare(strict_types=1); return [ [50, 5, 15, 30], [52, 5, 15, 30, 2], [53.1, 5.7, 15, 30, 2.4], [52.1, 5.7, '14', 30, 2.4], [52.2, 5.7, '14.1', 30, 2.4], [38.1, 5.7, 'X', 30, 2.4], // error if entered in formula, but not in cell [38.1, 5.7, '', 30, 2.4], // error if entered in formula, but not in cell [38.1, 5.7, null, 30, 2.4], [38.1, 5.7, false, 30, 2.4], [39.1, 5.7, true, 30, 2.4], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/TANH.php
tests/data/Calculation/MathTrig/TANH.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [0, '0'], [0.761594156, '1'], [-0.761594, '-1'], [0.970452, '2.1'], [0, 'Q15'], [0, 'false'], [0.761594156, 'true'], [0.761594156, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/LN.php
tests/data/Calculation/MathTrig/LN.php
<?php declare(strict_types=1); return [ ['exception'], // exception not enough args ['#VALUE!', 'ABC'], ['#NUM!', 0], ['#NUM!', -1], [-2.302585, 0.1], [0, 1], [2.302585, 10], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SEQUENCE.php
tests/data/Calculation/MathTrig/SEQUENCE.php
<?php declare(strict_types=1); return [ [ [2, 2], [ [1, 2], [3, 4], ], ], [ [2, 3], [ [1, 2, 3], [4, 5, 6], ], ], [ [3, 2], [ [1, 2], [3, 4], [5, 6], ], ], [ [3], [ [1], [2], [3], ], ], [ [null, 3], [ [1, 2, 3], ], ], [ [3, 1, 10, 5], [ [10], [15], [20], ], ], [ [3, 2, 10, 5], [ [10, 15], [20, 25], [30, 35], ], ], [ [1, 3, 10, -5], [ [10, 5, 0], ], ], [ [1, 6, -10, 2], [ [-10, -8, -6, -4, -2, 0], ], ], [ [3, 3, -10, 2.5], [ [-10, -7.5, -5], [-2.5, 0, 2.5], [5, 7.5, 10], ], ], [ [3, 3, 10, -2.5], [ [10, 7.5, 5], [2.5, 0, -2.5], [-5, -7.5, -10], ], ], [ [2, 2, 1, 0], [ [1, 1], [1, 1], ], ], [ [2, 2, 'A', 0], '#VALUE!', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/LOG10.php
tests/data/Calculation/MathTrig/LOG10.php
<?php declare(strict_types=1); return [ ['exception'], // exception not enough args ['#VALUE!', 'ABC'], ['#NUM!', 0], ['#NUM!', -1], [-1, 0.1], [0, 1], [0.301030, 2], [1, 10], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/EXP.php
tests/data/Calculation/MathTrig/EXP.php
<?php declare(strict_types=1); return [ ['exception'], // exception not enough args ['#VALUE!', 'ABC'], [2.7182818284590, 1], [2.7182818284590, true], [1, false], [1, null], ['#VALUE!', ''], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SERIESSUM.php
tests/data/Calculation/MathTrig/SERIESSUM.php
<?php declare(strict_types=1); return [ [ 3905, 5, 1, 1, [ [ 1, 1, 1, 1, 1, ], ], ], [ 3186, 2, 1, 2, [ [ 1, 2, 3, 4, 5, ], ], ], ['#VALUE!', 'X', 1, 2, [1, 2, 3, 4, 5]], ['#VALUE!', 2, 'X', 2, [1, 2, 3, 4, 5]], ['#VALUE!', 2, 1, 'X', [1, 2, 3, 4, 5]], ['#VALUE!', 2, 1, 2, [1, 'X', 3, 4, 5]], ['#VALUE!', true, 1, 2, [1, 'X', 3, 4, 5]], ['#VALUE!', 2, 1, 2, [1, false, 3, 4, 5]], [780, 5, 1, 1, [1, 1, null, 1, 1]], [3780, 5, 1, 1, [1, 1, 0, 1, 1]], [756, 5, 0, 1, [1, 1, 0, 1, 1]], [756, 5, null, 1, [1, 1, 0, 1, 1]], [151.2, 5, -1, 1, [1, 1, 0, 1, 1]], [138.7, 5, -1, 1, [1, 1, -2.5, 1, 1]], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ROUND.php
tests/data/Calculation/MathTrig/ROUND.php
<?php declare(strict_types=1); return [ [0, '0,2'], [663, '662.79, 0'], [662.8, '662.79, 1'], [50, '54.1, -1'], [60, '55.1, -1'], [-23.7, '-23.67 ,1'], [3, '3.2, 0'], [3, '3.2, 0.01'], [77, '76.9, 0'], [3.142, '3.14159, 3'], [-3.1, '-3.14159, 1'], [31400, '31415.92654, "-2"'], [31420, '31415.92654, -1'], [4.44, '4.4400, 2'], [5.20, '2.26 + 2.941, 2'], [-4.44, '-4.4400, 2'], [-5.20, '-2.26 - 2.94, 2'], ['#VALUE!', '"ABC", 1'], ['#VALUE!', '1.234, "ABC"'], [0, ', 0'], [0, 'false, 0'], [1, 'true, 0'], ['#VALUE!', '"", 0'], [1, 'A2, 0'], [3, 'A3, 0'], [-4, 'A4, 0'], [-5, 'A5, 0'], [0, 'B1, 0'], ['exception', ''], ['exception', '35.51'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ASINH.php
tests/data/Calculation/MathTrig/ASINH.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [0, '0'], [0.881374, '1'], [1.443635, '"2"'], [-0.881374, '-1'], [14.508658, '1000000'], // ['#NUM!', 2], Don't know if NAN is possible [0, 'Q15'], [0, 'false'], [0.881373587, 'true'], [0.481211825, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ARABIC.php
tests/data/Calculation/MathTrig/ARABIC.php
<?php declare(strict_types=1); return [ [ 0, ' ', ], [ 49, 'XLIX', ], [ 50, 'L', ], [ 2012, 'MMXII', ], [ 999, 'CMXCIX', ], [ 499, 'CDXCIX', ], [ 2018, 'MMXVIII', ], [ -2018, '-MMXVIII', ], [ 499, 'CDXCIX', ], [ 499, 'LDVLIV', ], [ 499, 'XDIX', ], [ 499, 'VDIV', ], [ 499, 'ID', ], [ '#VALUE!', 'WRONG', ], [ 0, '', ], [ '#NUM!', '-', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/COMBINA.php
tests/data/Calculation/MathTrig/COMBINA.php
<?php declare(strict_types=1); // NumObjs, NumInSet, Result return [ [ 84, 7, 3, ], [ 36, 8, 2, ], [ 120, 8, 3, ], [ 330, 8, 4, ], [ 171700, 100, 3, ], [ '#NUM!', -7, -10, ], [ '#NUM!', -7, 10, ], [ '#NUM!', 7, -10, ], [ 4, 2, 3, ], [ 3, 2, 2, ], [ 2, 2, 1, ], [ 1, 2, 0, ], [ 3, 2.5, 2, ], [ '#VALUE!', 'ABCD', 2, ], [ '#VALUE!', 3, 'EFGH', ], [ 2002, 10, 5, ], [ 220, 10, 3, ], [ 53130, 21, 5, ], [ 6, 6, 1, ], [ 21, 6, 2, ], [ 56, 6, 3, ], [ 126, 6, 4, ], [ 252, 6, 5, ], [ 462, 6, 6, ], [ 792, 6, 7, ], [1, 0, 0], ['#NUM!', 0, 1], ['#VALUE!', 1, true], ['#VALUE!', 1, null], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUMXMY2.php
tests/data/Calculation/MathTrig/SUMXMY2.php
<?php declare(strict_types=1); return [ [ 6, [5, 2, 3], [3, 1, 2], ], [ 79, [2, 3, 9, 1, 8, 7, 5], [6, 5, 11, 7, 5, 4, 4], ], [ 64, [[1, 2], [3, 4]], [[5, 6], [7, 8]], ], [8, [1, 2], [3, 4]], [8, [1, '=2'], [3, 4]], [4, [1, ''], [3, 4]], [4, [1, '2'], [3, 4]], [4, [1, '="2"'], [3, 4]], [4, [1, 'X'], [3, 4]], [4, [1, false], [3, 4]], [4, [1, 2], [null, 4]], [4, [1, 2], [true, 4]], ['#N/A', [1, 2], [3, 4, 5]], // different dimensions ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/COT.php
tests/data/Calculation/MathTrig/COT.php
<?php declare(strict_types=1); return [ ['#VALUE!', '"ABC"'], [-1.54235104535692, -10], [0.29581291553275, '"-5"'], [0.0, '-PI() / 2'], [-9.96664442325924, -0.1], ['#DIV/0!', 0.0], ['#DIV/0!', 'PI()'], ['#DIV/0!', '-PI()'], [9.96664442325924, 0.1], [0.0, 'PI() / 2'], [-0.29581291553275, 5], [1.54235104535692, 10], ['exception', ''], ['#DIV/0!', 'Q15'], ['#DIV/0!', 'null'], ['#DIV/0!', 'false'], [0.642092616, 'true'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SEC.php
tests/data/Calculation/MathTrig/SEC.php
<?php declare(strict_types=1); return [ ['#VALUE!', '"ABC"'], [-1.1917935066879, -10], [1.0, '-PI() * 2'], [3.52532008581609, '"-5"'], [-1.0, '-PI()'], ['#DIV/0!', 'PI() / 2'], ['#DIV/0!', '-PI() / 2'], [14.13683290296990, -1.5], [1.00502091840046, -0.1], [1.0, 0.0], [1.00502091840046, 0.1], [14.13683290296990, 1.5], [-1.0, 'PI()'], [3.52532008581609, 5], [1.0, 'PI() * 2'], [-1.19179350668790, 10], ['exception', ''], [1, 'Q15'], [1.850815718, 'true'], [1, 'false'], [3.738334127, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUMLITERALS.php
tests/data/Calculation/MathTrig/SUMLITERALS.php
<?php declare(strict_types=1); return [ [50, '5, 15, 30'], [52, '5, 15, 30, 2'], [53.1, '5.7, 15, 30, 2.4'], [52.1, '5.7, "14", 30, 2.4'], [52.2, '5.7, "14.1", 30, 2.4'], ['#VALUE!', '5.7, "X", 30, 2.4'], // error if entered in formula, but not in cell ['#VALUE!', '5.7, "", 30, 2.4'], // error if entered in formula, but not in cell [38.1, '5.7, , 30, 2.4'], [38.1, '5.7, false, 30, 2.4'], [39.1, '5.7, true, 30, 2.4'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SQRTPI.php
tests/data/Calculation/MathTrig/SQRTPI.php
<?php declare(strict_types=1); return [ [ '#VALUE!', 'ABC', ], [ '#NUM!', -1.5, ], [ '#NUM!', -1, ], [ '#NUM!', -0.5, ], [ 0.0, 0, ], [ 1.2533141373154999, 0.5, ], [ 1.7724538509055201, 1, ], [ 2.1708037636748001, 1.5, ], [ 2.5066282746309998, 2, ], [ 2.80249560819896, 2.5, ], [ 3.0699801238394699, 3, ], [ 3.31595752197827, 3.5, ], [ 3.54490770181103, 4, ], [ 3.7599424119465001, 4.5, ], [ 3.9633272976060101, 5, ], ['#VALUE!', true], ['#VALUE!', false], ['0', null], ['exception', 'omitted'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/FACTDOUBLE.php
tests/data/Calculation/MathTrig/FACTDOUBLE.php
<?php declare(strict_types=1); return [ [ 1, 0, ], [ 48, 6, ], [ 105, 7, ], [ 15, 5, ], [ 384, 8, ], [ 135135, 13, ], [ '#NUM!', -1, ], [ '#VALUE!', 'ABC', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUBTOTAL.php
tests/data/Calculation/MathTrig/SUBTOTAL.php
<?php declare(strict_types=1); return [ [19.3333333333333, 1], [12, 2], [12, 3], [89, 4], [0, 5], [0, 6], [27.5196899207337, 7], [26.3480971271593, 8], [232, 9], [757.3333333333330, '10'], [694.2222222222220, 11.1], ['#VALUE!', 0], ['#VALUE!', -1], ['#VALUE!', 12], ['#VALUE!', '"X"'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/TRUNC.php
tests/data/Calculation/MathTrig/TRUNC.php
<?php declare(strict_types=1); return [ [3.14, '3.14159, 2'], [3.141, '3.14159, 3'], [-3.14, '-3.14159, 2'], [-3.141, '-3.14159, 3'], [31415.92654, '31415.92654, 10'], [-31415.92654, '-31415.92654, 10'], [31415.92, '31415.92654, 2'], [31400, '31415.92654, -2'], 'negative number and precision' => [-31400, '-31415.92654, -2'], [0, '31415.92654, -10'], [0, '-31415.92654, -10'], [12000, '12345.6789, -3'], [12300, '12345.6789, -2'], [12340, '12345.6789, -1'], [12345, '12345.6789, 0'], [12345.6, '12345.6789, 1'], [12345.67, '12345.6789, 2'], [12345.678, '12345.6789, 3'], ['#VALUE!', '"ABC", 2'], ['#VALUE!', '31415.92654, "ABC"'], ['#VALUE!', '""'], [1, 'true'], [0, 'false'], [0, '0'], ['exception', ''], [1, 'A2'], [2, 'A3'], [-3, 'A4'], [-5, 'A5'], [0, 'B1'], 'issue4113' => [1.0, '1.01, 1'], 'issue4113 negative' => [-1.0, '-1.01, 1'], 'issue4113 additional' => [10.04, '10.04, 2'], 'issue4113 additional negative' => [-10.04, '-10.04, 2'], 'issue4113 small fraction keep all' => [0.04, '0.04, 2'], 'issue4113 small negative fraction keep all' => [-0.04, '-0.04, 2'], 'issue4113 small fraction lose some' => [0.0, '0.01, 1'], 'issue4113 small negative fraction lose some' => [0.0, '-0.001, 1'], 'issue4113 example 3' => [-43747, '-43747.99122596, 0'], 'issue4113 example 3 positive' => [43747, '43747.99122596, 0'], 'issue4113 example 4' => [-9.11, '-9.1196419, 2'], 'issue4113 example 5' => [-42300.65, '-42300.65099338, 3'], 'issue4113 example 6 variant 1' => [0.000012, '0.0000123, 6'], 'issue4113 example 6 variant 2' => [0.0000123, '0.0000123, 8'], 'issue4113 example 6 variant 3' => [-0.000012, '-0.0000123, 6'], 'issue4113 example 6 variant 4' => [-0.0000123, '-0.0000123, 8'], 'issue4113 example 6 variant 5' => [0.000012, '1.23E-5, 6'], 'issue4113 example 6 variant 6' => [-0.0000123, '-1.23E-5, 8'], 'exceed 32-bit int max' => [3123456780, '3123456789, -1'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/COSH.php
tests/data/Calculation/MathTrig/COSH.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [1, '0'], [1.543081, '"1"'], [1.543081, '-1.0'], [3.762196, '2.0'], [11013.23292, '10'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/GCD.php
tests/data/Calculation/MathTrig/GCD.php
<?php declare(strict_types=1); return [ [ 1, 5, 2, ], [ 12, 24, 36, ], [ 1, 7, 1, ], [ 5, 5, 0, ], [ 5, 30, 15, 10, ], [ 14, 42, 56, 140, ], [ 4, 24, 28, 40, ], [ 9, 27, 45, 54, ], [ 14, 84, 126, 196, ], [ 1, 3, 5, 7, ], [ 1, 3, 5, 0, ], [ '#NUM!', 3, 5, -7, ], [ 3, 3, 6, 12, ], [ 3, 3, 6, '12', ], [ '#VALUE!', 3, 6, 'ABC', ], [ 3, 3, ], [ 5, 15, 10, 25, ], [ 4, 0, 8, 12, ], [ 1, 7, 2, ], [ 0, 0, 0, ], [ 2, 10.5, 2.6, ], [ 4, 16.9, 12.1, ], [ 13, 182, 481, 143, ], [13, 182, 481, null, 143], ['#VALUE!', null, null, null, null], ['#VALUE!', null], ['exception'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/RADIANS.php
tests/data/Calculation/MathTrig/RADIANS.php
<?php declare(strict_types=1); return [ ['exception'], // exception not enough args ['#VALUE!', 'ABC'], [M_PI / 4, 45], [0, 0], [0, null], [0, false], ['#VALUE!', ''], ['#VALUE!', '=15+""'], [0, '=15+"-15"'], [0.017453293, true], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ROUNDDOWN.php
tests/data/Calculation/MathTrig/ROUNDDOWN.php
<?php declare(strict_types=1); return [ [0, '0,2'], [662, '662.79,0'], [662.7, '662.79, 1'], [50, '54.1, -1'], [50, '55.1, -1'], [-23.6, '-23.67, 1'], [3, '3.2, 0'], [3, '3.2, 0.01'], [76, '76.9, 0'], [3.141, '3.14159, 3'], [-3.1, '-3.14159,1'], [31400, '31415.92654,"-2"'], [31410, '31415.92654,-1'], [4.44, '4.4400,2'], [5.20, '2.26 + 2.94, 2'], [-4.44, '-4.4400,2'], [-5.20, '-2.26 - 2.94, 2'], ['#VALUE!', '"ABC",1'], ['#VALUE!', '1.234,"ABC"'], [0, ', 0'], [0, 'false, 0'], [1, 'true, 0'], ['#VALUE!', '"", 0'], [1, 'A2, 0'], [2, 'A3, 0'], [-3, 'A4, 0'], [-5, 'A5, 0'], [0, 'B1, 0'], ['exception', ''], ['exception', '35.51'], 'negative number and precision ROUNDDOWN' => [-31400, '-31415.92654, -2'], 'issue 4213 #1' => [249.0, '249.9975, 0'], 'issue 4213 #2' => [-249.0, '-249.9975, 0'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/PRODUCT.php
tests/data/Calculation/MathTrig/PRODUCT.php
<?php declare(strict_types=1); return [ [ 2250, 5, 15, 30, ], [ 4500, 5, 15, 30, 2, ], [ 1440, 3, 6, 2, 8, 5, ], [ 12, 3, 4, ], [ 54, 3, 4, 4.5, ], [ -366.12, 3, 4, 4.5, -6.7800000000000002, ], [ 732.24000000000001, 3, 4, 4.5, -6.7800000000000002, -2, ], [ 31.25, 12.5, null, 2.5, ], [ 31.25, 12.5, 2.5, null, ], [ 12.5, 12.5, null, null, ], [ 0.0, null, null, null, ], ['#VALUE!', 1, 'y', 3], [6, 1, '2', 3], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/MROUND.php
tests/data/Calculation/MathTrig/MROUND.php
<?php declare(strict_types=1); return [ [9, '10,3'], [-9, '-10,-3'], [1.4, '1.3,0.2'], [0, '5,0'], [3.142, '3.14159, 0.002'], [-3.140, '-3.14159,-0.02'], [31420, '"31415.92654", 10'], [31416, '31415.92654,"1"'], [0, '0,5'], ['#NUM!', '5,-2'], ['#VALUE!', '"ABC",1'], ['#VALUE!', '1.234, "ABC"'], [0, ', 2'], ['#VALUE!', 'false, 2'], ['#VALUE!', 'true, 2'], ['#VALUE!', '"", 2'], ['exception', ''], ['exception', '5'], [1, 'A2, 1'], [3, 'A3, 1'], [-4, 'A4, -1'], [-5, 'A5, -1'], [0, 'B1, 1'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/FACTGNUMERIC.php
tests/data/Calculation/MathTrig/FACTGNUMERIC.php
<?php declare(strict_types=1); return [ [ 120, 5, ], [ 1.82735508062404, 1.9, ], [ 1, 0, ], [ '#NUM!', -4, ], [ 1, 1, ], [ 6, 3, ], [ 720, 6, ], [ 3628800, 10, ], [ 7.75668953579318, 3.2, ], [ '#VALUE!', 'ABC', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/FLOOR.php
tests/data/Calculation/MathTrig/FLOOR.php
<?php declare(strict_types=1); return [ [2, '2.5, 1'], [-2, '-2.5, -2'], [-4, '-2.5, 2'], [0.0, '0.0, 1'], ['#NUM!', '2.5, -2'], [-4, '-2.5, 2'], ['#DIV/0!', '123.456, 0'], [1.5, '1.5, 0.1'], [0.23, '0.234, 0.01'], ['exception', '123.456'], ['#VALUE!', '"ABC", 1'], [15, '"17", "3"'], [16, '19, 4'], [0, ',1'], [0, 'false,1'], [1, 'true,1'], ['#VALUE!', '"", 1'], [1, 'A2, 1'], [2, 'A3, 1'], [-4, 'A4, 1'], [-6, 'A5, 1'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUMIF.php
tests/data/Calculation/MathTrig/SUMIF.php
<?php declare(strict_types=1); return [ [ 15, [ [1], [5], [10], ], '>=5', ], [ 10, [ ['text'], [2], ], 'text', [ [10], [100], ], ], [ 10, // fixed by PR #2561 [ ['"text with quotes"'], [2], ], '"text with quotes"', [ [10], [100], ], ], [ 10, [ ['"text with quotes"'], [''], ], '>"', // Compare to the single character " (double quote) [ [10], [100], ], ], [ 100, [ [''], ['anything'], ], '>"', // Compare to the single character " (double quote) [ [10], [100], ], ], [ 10, [ [1], [2], ], '<>', // any content [ ['non-numeric value'], // ignored in SUM [10], ], ], [ 100, [ ['0'], ['some text'], ], 0, // Compare integer with string [ [100], [1], ], ], [ 100, [ [0], ['some text'], ], 0, // Compare integer with integer [ [100], [1], ], ], [ 3, [ [1], [0], [1], ], 1, [ [3], [4], // less elements in sum array ], ], [ 3, [ [1], [0], // less elements in condition array ], 1, [ [3], [4], [5], ], ], [ 157559, [['Jan'], ['Jan'], ['Jan'], ['Jan'], ['Feb'], ['Feb'], ['Feb'], ['Feb']], 'Feb', [[36693], [22100], [53321], [34440], [29889], [50090], [32080], [45500]], ], [ 66582, [['North 1'], ['North 2'], ['South 1'], ['South 2'], ['North 1'], ['North 2'], ['South 1'], ['South 2']], 'North 1', [[36693], [22100], [53321], [34440], [29889], [50090], [32080], [45500]], ], [ 138772, [['North 1'], ['North 2'], ['South 1'], ['South 2'], ['North 1'], ['North 2'], ['South 1'], ['South 2']], 'North ?', [[36693], [22100], [53321], [34440], [29889], [50090], [32080], [45500]], ], [ '#DIV/0!', [['North 1'], ['North 2'], ['South 1'], ['South 2'], ['North 1'], ['North 2'], ['South 1'], ['South 2']], 'North ?', [['=3/0'], [22100], [53321], [34440], [29889], [50090], [32080], [45500]], ], [ 138772, [['North 1'], ['North 2'], ['South 1'], ['South 2'], ['North 1'], ['North 2'], ['South 1'], ['South 2']], 'North ?', [[36693], [22100], ['=3/0'], [34440], [29889], [50090], [32080], [45500]], ], [ 23, [['n'], [''], ['y'], [''], ['n'], ['n'], ['n'], [''], []], '', [[1], [2], [3], [4], [5], [6], [7], [8], [9]], ], [ 0, [['n'], [''], ['y'], [''], ['n'], ['n'], ['n'], [''], []], null, [[1], [2], [3], [4], [5], [6], [7], [8], [9]], ], [ 19, [['n'], [''], ['y'], [''], ['n'], ['n'], ['n'], [''], []], 'n', [[1], [2], [3], [4], [5], [6], [7], [8], [9]], ], [ 2, [ [null], ['abc123fff'], ], 'abc123*', [ [1], [2], ], ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/FLOORPRECISE.php
tests/data/Calculation/MathTrig/FLOORPRECISE.php
<?php declare(strict_types=1); return [ [2, '2.5, 1'], [-4, '-2.5, -2'], [-4, '-2.5, 2'], [2, '2.5, -2'], [0.0, '0.0, 1'], 'corrected with PR 4446' => [0.0, '123.456, 0'], [1.5, '1.5, 0.1'], [0.23, '0.234, 0.01'], [123, '123.456'], ['#VALUE!', '"ABC"'], [15, '17, 3'], [16, '19, 4'], ['exception', ''], ['#VALUE!', '25, "ABC"'], [0, ',1'], [0, 'false,1'], [1, 'true,1'], ['#VALUE!', '"", 1'], [1, 'A2, 1'], [2, 'A3, 1'], [-4, 'A4, 1'], [-6, 'A5, 1'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/INT.php
tests/data/Calculation/MathTrig/INT.php
<?php declare(strict_types=1); return [ ['exception', ''], [5, '5.4'], [-6, '-5.4'], [-4, '-3.2'], [1, '"1.5"'], [0, '0.1'], [-1, '-0.1'], [3, '3'], [2, '2'], [-3, '-2.01'], [-2, '-2'], [-1, '-1'], ['#VALUE!', '"ABC"'], ['#VALUE!', '""'], [1, 'true'], [0, 'false'], [0, '0'], [-4, '"-3.5"'], [8, '8.9'], [-9, '-8.9'], [1, 'A2'], [2, 'A3'], [-4, 'A4'], [-6, 'A5'], [0, 'B1'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SIGN.php
tests/data/Calculation/MathTrig/SIGN.php
<?php declare(strict_types=1); return [ [-1, -1.5], [-1, -1], [-1, '"-0.5"'], [0, 0], [1, 0.5], [1, 1], [1, 1.5], [1, 2], [1, 2.5], ['#VALUE!', '"ABC"'], [1, 'true'], [0, 'false'], [0, 'null'], [-1, '-3.5'], [0, 'Q15'], [1, 'A2'], [0, 'A3'], [-1, 'A4'], ['exception', ''], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ROMAN.php
tests/data/Calculation/MathTrig/ROMAN.php
<?php declare(strict_types=1); return [ ['XLIX', '49'], ['L', '50'], ['MMXII', '2012'], ['CMXCIX', '999'], ['CDXCIX', '499'], ['MMXVIII', '2018'], ['#VALUE!', '4000'], ['#VALUE!', '-1'], ['#VALUE!', '0, 5'], ['#VALUE!', '0, -1'], ['exception', ''], ['', '0'], ['', '0, 0'], ['', '0, 1'], ['', '0, 2'], ['', '0, 3'], ['', '0, 4'], // 5 different results ['CMXCIX', '999'], ['CMXCIX', '999, true'], ['CMXCIX', '999, 0'], ['LMVLIV', '999, 1'], ['XMIX', '999, 2'], ['VMIV', '999, 3'], ['IM', '999, 4'], ['IM', '999, false'], // 4 different results ['MMMCDXCVIII', '3498'], ['MMMCDXCVIII', '3498, 0'], ['MMMLDVLIII', '3498, 1'], ['MMMXDVIII', '3498, 2'], ['MMMVDIII', '3498, 3'], ['MMMVDIII', '3498, 4'], // 3 different results ['CDXC', '490'], ['CDXC', '490, 0'], ['LDXL', '490, 1'], ['XD', '490, 2'], ['XD', '490, 3'], ['XD', '490, 4'], // 2 different results ['XLV', '45'], ['XLV', '45, 0'], ['VL', '45, 1'], ['VL', '45, 2'], ['VL', '45, 3'], ['VL', '45, 4'], // all 5 results the same ['I', '1'], ['I', '1, 0'], ['I', '1, 1'], ['I', '1, 2'], ['I', '1, 3'], ['I', '1, 4'], // other tests ['XLIX', 'A3'], ['IL', 'A3, 4'], ['', 'C3'], ['#VALUE!', '"ABC"'], ['#VALUE!', '46, "ABC"'], ['MMMCMXCIX', '3999'], ['MMMIM', '3999, 4'], ['MMMIM', '"3999", "4"'], ['I', 'true'], ['', 'false'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ROUNDUP.php
tests/data/Calculation/MathTrig/ROUNDUP.php
<?php declare(strict_types=1); return [ [0, '0,2'], [663, '662.79, 0'], [662.8, '662.79,1'], [60, '54.1,-1'], [60, '55.1,-1'], [-23.7, '-23.67,1'], [4, '3.2,0'], [4, '3.2,0.01'], [77, '76.9,0'], [3.142, '3.14159,3'], [-3.2, '-3.14159,1'], [31500, '31415.92654,"-2"'], [31420, '31415.92654,-1'], [4.44, '4.4400,2'], [5.20, '2.26 + 2.94, 2'], [-4.44, '-4.4400,2'], [-5.20, '-2.26 - 2.94, 2'], ['#VALUE!', '"ABC",1'], ['#VALUE!', '1.234,"ABC"'], [0, ', 0'], [0, 'false, 0'], [1, 'true, 0'], ['#VALUE!', '"", 0'], [2, 'A2, 0'], [3, 'A3, 0'], [-4, 'A4, 0'], [-6, 'A5, 0'], [0, 'B1, 0'], ['exception', ''], ['exception', '35.51'], 'negative number and precision' => [-31500, '-31415.92654, -2'], 'issue 4213 #1' => [250.0, '249.9975, 0'], 'issue 4213 #2' => [-250.0, '-249.9975, 0'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/MOD.php
tests/data/Calculation/MathTrig/MOD.php
<?php declare(strict_types=1); return [ [ 2, 19, 17, ], [ -7, 19, -13, ], [ 0, 34, 17, ], [ '#DIV/0!', 34, 0, ], [ 1, 3, 2, ], [ 1, -3, 2, ], [ -1, 3, -2, ], [ -1, -3, -2, ], [ 1.2, 2.5, 1.3, ], [ '#VALUE!', // had been 0, which was wrong '', 1, ], [0, null, 5], [0, false, 5], [1, true, 5], ['#VALUE!', 'XYZ', 2], ['#VALUE!', 2, 'XYZ'], ['exception', 2], ['exception'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ODD.php
tests/data/Calculation/MathTrig/ODD.php
<?php declare(strict_types=1); return [ [1, 'null'], [7, 5.4], [-7, -5.4], [3, 1.5], [1, 0.1], [3, 3], [3, 2], [-3, -2], [-1, -1], ['#VALUE!', '"ABC"'], [1, 'true'], [1, 'false'], [1, 0], ['exception', ''], ['5', 'A2'], ['1', 'Q15'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SINH.php
tests/data/Calculation/MathTrig/SINH.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [0, '0'], [1.175201194, '1'], [-1.175201194, '-1.0'], [3.626860, '"2.0"'], [0, 'Q15'], [0, 'false'], [1.175201194, 'true'], [3.626860408, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ATANH.php
tests/data/Calculation/MathTrig/ATANH.php
<?php declare(strict_types=1); return [ ['exception', ''], ['#VALUE!', '"ABC"'], [0, '0'], [1.472219, '"0.9"'], [-1.472219, '-0.9'], ['#NUM!', '1'], ['#NUM!', '-1'], [0, 'Q15'], [0, 'false'], ['#NUM!', 'true'], [1.098612289, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/FACT.php
tests/data/Calculation/MathTrig/FACT.php
<?php declare(strict_types=1); return [ [ 120, 5, ], [ 1, 1.9, ], [ 1, 0, ], [ '#NUM!', -4, ], [ 1, 1, ], [ 6, 3, ], [ 720, 6, ], [ 3628800, 10, ], [ 6, 3.2, ], [ '#VALUE!', 'ABC', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/FLOORMATH.php
tests/data/Calculation/MathTrig/FLOORMATH.php
<?php declare(strict_types=1); return [ [2, '2.5, 1'], [-4, '"-2.5", "-2"'], [-4, '-2.5, 2'], [2, '2.5, -2'], [0.0, '0.0, 1'], 'corrected with PR 4466' => [0.0, '123.456, 0'], [1.5, '1.5, 0.1'], [0.23, '0.234, 0.01'], [123, '123.456'], ['#VALUE!', '"ABC"'], [15, '17, 3'], [16, '19, 4'], [20, '24.3, 5'], [6, '6.7, 1'], [-10, '-8.1, 2'], [-4, '-5.5, 2, -1'], [-4, '-5.5, 2, 1'], [-6, '-5.5, 2, 0'], ['exception', ''], [0, ','], [0, ', 2'], [0, 'false'], [1, 'true'], ['#VALUE!', '"", 2'], [1, 'A2'], [2, 'A3'], [-4, 'A4'], [-6, 'A5'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SQRT.php
tests/data/Calculation/MathTrig/SQRT.php
<?php declare(strict_types=1); return [ ['exception'], // exception not enough args ['#VALUE!', 'ABC'], [0, 0], [0, null], [0, false], ['#VALUE!', ''], [1, true], [1.5, 2.25], [1.5, '2.25'], [1.5, '="2.25"'], [1.772454, M_PI], ['#NUM!', -2.1], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUMPRODUCT.php
tests/data/Calculation/MathTrig/SUMPRODUCT.php
<?php declare(strict_types=1); return [ [ 29, [1, 2, 3], [5, 6, 4], ], [ 156, [[3, 4], [8, 6], [1, 9]], [[2, 7], [6, 7], [5, 3]], ], [ 70, [[1, 2], [3, 4]], [[5, 6], [7, 8]], ], ['#VALUE!', [1, 2], [5, 6, 4]], // mismatched dimensions [17, [1, 2, 3], [5, 'y', 4]], [17, [1, 2, 3], [5, 0, 4]], [19, [1, 2, 3], [5, 1, 4]], [145, [1, 2, 3], [5, 1, 4], [9, 8, 7]], [61, [1, 2, 3], [5, 1, 4], [9, 8, '="7"']], // string treated as 0 [100, ['="1"', 2, 3], [5, 1, 4], [9, 8, 7]], // string treated as 0 [100, [null, 2, 3], [5, 1, 4], [9, 8, 7]], // null treated as 0 [100, [true, 2, 3], [5, 1, 4], [9, 8, 7]], // true treated as 0 [61, [1, 2, 3], [5, 1, 4], [9, 8, true]], // true treated as 0 ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/ACOTH.php
tests/data/Calculation/MathTrig/ACOTH.php
<?php declare(strict_types=1); return [ ['#VALUE!', '"ABC"'], [-0.10033534773108, -10], [-0.16051955750789, '-PI() * 2'], [-0.20273255405408, '"-5"'], [-0.32976531495670, '-PI()'], [-0.75246926714193, '-PI() / 2'], ['#NUM!', -0.1], ['#NUM!', 0.0], ['#NUM!', 0.1], [0.75246926714193, 'PI() / 2'], [0.32976531495670, 'PI()'], [0.20273255405408, 5], [0.16051955750789, 'PI() * 2'], [0.10033534773108, 10], ['#NUM!', 'Q15'], ['#NUM!', 'null'], ['#NUM!', 'false'], ['#NUM!', 'true'], [-0.10033534773108, 'A5'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SUMIFS.php
tests/data/Calculation/MathTrig/SUMIFS.php
<?php declare(strict_types=1); return [ [ 0, ], [ 2, [ [1], [1], [1], ], [ ['Y'], ['Y'], ['N'], ], '=Y', [ ['H'], ['H'], ['H'], ], '=H', ], [ 1, [ [1], [1], [1], ], [ ['A'], ['B'], ['C'], ], '=B', [ ['C'], ['B'], ['A'], ], '=B', ], [ 348000, [223000, 125000, 456000, 322000, 340000, 198000, 310000, 250000, 460000, 261000, 389000, 305000], [1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4], 1, ['North', 'North', 'South', 'North', 'North', 'South', 'North', 'North', 'South', 'North', 'North', 'South'], 'North', ], [ 571000, [223000, 125000, 456000, 322000, 340000, 198000, 310000, 250000, 460000, 261000, 389000, 305000], [1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4], '>2', ['Jeff', 'Chris', 'Carol', 'Jeff', 'Chris', 'Carol', 'Jeff', 'Chris', 'Carol', 'Jeff', 'Chris', 'Carol'], 'Jeff', ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/MathTrig/SECH.php
tests/data/Calculation/MathTrig/SECH.php
<?php declare(strict_types=1); return [ ['#VALUE!', '"ABC"'], [0.00009079985934, -10], [0.00373487243864, '-PI() * 2'], [0.01347528222130, '"-5"'], [0.08626673833405, '-PI()'], [0.39853681533839, '-PI() / 2'], [0.99502074895323, -0.1], [1.0, 0.0], [0.99502074895323, 0.1], [0.39853681533839, 'PI() / 2'], [0.08626673833405, 'PI()'], [0.01347528222130, 5], [0.00373487243864, 'PI() * 2'], [0.00009079985934, 10], ['exception', ''], [1, 'Q15'], [0.648054274, 'true'], [1, 'false'], [0.507378751, 'A2'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/Web/URLENCODE.php
tests/data/Calculation/Web/URLENCODE.php
<?php declare(strict_types=1); return [ [ 'http%3A%2F%2Fcontoso.sharepoint.com%2Fteams%2FFinance%2FDocuments%2FApril%20Reports%2FProfit%20and%20Loss%20Statement.xlsx', 'http://contoso.sharepoint.com/teams/Finance/Documents/April Reports/Profit and Loss Statement.xlsx', ], [ '#VALUE!', 123, ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false