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/TextData/VALUE.php
tests/data/Calculation/TextData/VALUE.php
<?php declare(strict_types=1); return [ [ '1000', '1000', ], [ '1000', '1 000', ], [ '1000', '$1 000', ], [ '#VALUE!', '£1 000', ], [ '1.1', '1.1', ], [ '1000.1', '1 000.1', ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/CHAR.php
tests/data/Calculation/TextData/CHAR.php
<?php declare(strict_types=1); return [ [ '#VALUE!', 'ABC', ], [ '#VALUE!', -5, ], [ '#VALUE!', 0, ], [ 'A', 65, ], [ '{', 123, ], [ '~', 126, ], [ ['Á', 'Á', '¡'...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/NUMBERVALUE.php
tests/data/Calculation/TextData/NUMBERVALUE.php
<?php declare(strict_types=1); return [ [ 1234567.89, '1,234,567.890', ], [ 1234567.89, '1 234 567,890', ',', ' ', ], [ -1234567.89, '-1 234 567,890', ',', ' ', ], [ '#VALUE!', '1 234 567,890-', ',', ' ', ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/PROPER.php
tests/data/Calculation/TextData/PROPER.php
<?php declare(strict_types=1); return [ [ 'Mark Baker', 'MARK BAKER', ], [ 'Buenos Días', 'BUENOS DÍAS', ], [ 'Καλημερα', 'ΚΑΛΗΜΕΡΑ', ], [ 'Доброе Утро', 'ДОБРОЕ УТРО', ], [ 'True', true, ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/FIXED.php
tests/data/Calculation/TextData/FIXED.php
<?php declare(strict_types=1); return [ [ '123,456.79', 123456.789, 2, false, ], [ '123456.8', 123456.789, 1, true, ], [ '123456.79', 123456.789, 2, true, ], [ '-123456.79', -123...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/ARRAYTOTEXT.php
tests/data/Calculation/TextData/ARRAYTOTEXT.php
<?php declare(strict_types=1); return [ [ "1, 2, 3, a, b, c, TRUE, FALSE, #DIV/0!, 44774, 1, 44777, 12345.6789, -2.4, Hello\nWorld", [ [1, 2, 3], ['a', 'b', 'c'], [true, false, '=12/0'], ['=DATE(2022,8,1)', '1', '=A4+3'], [12345.6789, '=-...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/CONCAT.php
tests/data/Calculation/TextData/CONCAT.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Cell\DataType; return [ [ 'ABCDEFGHIJ', 'ABCDE', 'FGHIJ', ], [ '123', 1, 2, 3, ], [ 'Boolean-TRUE', 'Boolean', '-', true, ], 'no arguments' =...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/SEARCH.php
tests/data/Calculation/TextData/SEARCH.php
<?php declare(strict_types=1); return [ [ 3, 'E', 'QWERTYUIOP', ], [ 4, 'D', 'ABCDEFGHI', ], [ 4, 'E', true, ], [ 5, 'E', false, ], [ 2, 'A', 'Mark Baker', ],...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/OpenOffice.php
tests/data/Calculation/TextData/OpenOffice.php
<?php declare(strict_types=1); return [ 'OO allows CHAR(0)' => ["\x00", '=CHAR(0)'], 'OO treats CODE(bool) as 0/1' => [48, '=CODE(FALSE)'], 'OO treats UNICODE(bool) as 0/1' => [49, '=UNICODE(TRUE)'], 'OO treats bool as string as 0/1 to REPT' => ['111', '=REPT(true, 3)'], 'OO treats bool as string ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/TEXT.php
tests/data/Calculation/TextData/TEXT.php
<?php declare(strict_types=1); return [ [ '$123.46', 123.456, '$#,##0.00', ], [ '$-123.46', -123.456, '$#,##0.00', ], [ '123.46', 123.456, '#,##0.00', ], [ '123', 123.456, '#,##0', ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/RIGHT.php
tests/data/Calculation/TextData/RIGHT.php
<?php declare(strict_types=1); return [ [ '', null, 1, ], [ '', '', 1, ], [ '#VALUE!', 'QWERTYUIOP', -1, ], [ '#VALUE!', 'QWERTYUIOP', 'NaN', ], 'null length defaults to 0' => [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/CONCATENATE.php
tests/data/Calculation/TextData/CONCATENATE.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Cell\DataType; return [ /*[ 'ABCDEFGHIJ', 'ABCDE', 'FGHIJ', ], [ '123', 1, 2, 3, ], [ 'Boolean-TRUE', 'Boolean', '-', true, ], 'no arguments'...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/TEXTSPLIT.php
tests/data/Calculation/TextData/TEXTSPLIT.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; return [ [ [['Hello', 'World']], [ 'Hello World', ' ', '', ], ], [ [['Hello'], ['World']], [ 'Hello World', '...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Calculation/TextData/REPLACE.php
tests/data/Calculation/TextData/REPLACE.php
<?php declare(strict_types=1); return [ [ 'QWDFGYUIOP', 'QWERTYUIOP', 3, 3, 'DFG', ], [ 'QWERDFGIOP', 'QWERTYUIOP', 5, 3, 'DFG', ], [ 'QWDFGERTYUIOP', 'QWERTYUIOP', 3, 0, 'DFG', ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Functional/TypeAttributePreservation/Formula.php
tests/data/Functional/TypeAttributePreservation/Formula.php
<?php declare(strict_types=1); return [ [ ['string'], ], [ ['="string"'], ], [ [1], ], [ [0], ], [ [true], ], [ [false], ], [ ['=TRUE()'], ], [ ['=ISFORMULA(B1)', '=1+2'], ], [ [...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/ConvertFormulaToA1FromR1C1Relative.php
tests/data/Cell/ConvertFormulaToA1FromR1C1Relative.php
<?php declare(strict_types=1); return [ 'Basic addition' => ['=D3+F7+G4+C6+5', '=R[-2]C[-1]+R[2]C[1]+R[-1]C[2]+R[1]C[-2]+5', 5, 5], 'Basic subtraction' => ['=D3-F7-G4-C6-5', '=R[-2]C[-1]-R[2]C[1]-R[-1]C[2]-R[1]C[-2]-5', 5, 5], 'Basic multiplication' => ['=D3*F7*G4*C6*5', '=R[-2]C[-1]*R[2]C[1]*R[-1]C[2]*R[...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/CoordinateIsInsideRange.php
tests/data/Cell/CoordinateIsInsideRange.php
<?php declare(strict_types=1); return [ [true, 'A1:E20', 'B4'], [false, 'A1:E20', 'F36'], [true, '$A$1:$E$20', '$B$4'], [false, '$A$1:$E$20', '$F$36'], [true, '$A$1:$E$20', 'B4'], [false, '$A$1:$E$20', 'F36'], [true, 'A1:E20', '$B$4'], [false, 'A1:E20', '$F$36'], [true, 'Sheet!A1:E...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/R1C1ConversionToA1Relative.php
tests/data/Cell/R1C1ConversionToA1Relative.php
<?php declare(strict_types=1); return [ ['C3', 'R[2]C[2]'], ['O18', 'R[2]C[2]', 16, 13], ['O14', 'R[-2]C[2]', 16, 13], ['K18', 'R[2]C[-2]', 16, 13], ['K14', 'R[-2]C[-2]', 16, 13], ['P16', 'RC[3]', 16, 13], ['J16', 'RC[-3]', 16, 13], ['M20', 'R[4]C', 16, 13], ['M12', 'R[-4]C', 16, 1...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/SetValueExplicit.php
tests/data/Cell/SetValueExplicit.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError; use PhpOffice\PhpSpreadsheet\Cell\DataType; return [ [ 1234567890123456789, '01234567890123456789', DataType::TYPE_NUMERIC, ], [ 1234567890123456789, 1234567890123456789...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/ConvertFormulaToA1FromSpreadsheetXml.php
tests/data/Cell/ConvertFormulaToA1FromSpreadsheetXml.php
<?php declare(strict_types=1); return [ 'Basic addition' => ['=D3+F7+G4+C6+5', 'of:=[.D3]+[.F7]+[.G4]+[.C6]+5'], 'Basic subtraction' => ['=D3-F7-G4-C6-5', 'of:=[.D3]-[.F7]-[.G4]-[.C6]-5'], 'Basic multiplication' => ['=D3*F7*G4*C6*5', 'of:=[.D3]*[.F7]*[.G4]*[.C6]*5'], 'Basic division' => ['=D3/F7/G4/C6...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/SetValueExplicitTypeArguments.php
tests/data/Cell/SetValueExplicitTypeArguments.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Cell\DataType; // This member will be used to validate both: // Cell::setValueExplicit // Worksheet::setCellValueExplicit return [ 'string with default type' => ['default string', null, 'default string', DataType::TYPE_STRING], 'integer with defaul...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/DefaultValueBinder.php
tests/data/Cell/DefaultValueBinder.php
<?php declare(strict_types=1); return [ [ 'null', null, ], [ 'e', '#NULL!', ], [ 'b', false, ], [ 'b', true, ], [ 's', 'FALSE', ], [ 's', 'TRUE', ], [ 's', ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/IndexesFromString.php
tests/data/Cell/IndexesFromString.php
<?php declare(strict_types=1); return [ [ [ 1, 1, 'A', ], 'A1', ], [ [ 1, 12, 'A', ], 'A12', ], [ [ 10, 1, 'J', ], 'J1...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/R1C1ConversionToA1Absolute.php
tests/data/Cell/R1C1ConversionToA1Absolute.php
<?php declare(strict_types=1); return [ ['A1', 'R1C1'], ['B2', 'R2C2'], ['L5', 'R5C12'], ['Z1024', 'R1024C26'], ['AA2048', 'R2048C27'], ['AZ4096', 'R4096C52'], ['BA8192', 'R8192C53'], ['IV65535', 'R65535C256'], ['K1', 'RC11'], ['A16', 'R16C'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/A1ConversionToR1C1Absolute.php
tests/data/Cell/A1ConversionToR1C1Absolute.php
<?php declare(strict_types=1); return [ ['R1C1', 'A1'], ['R1C1', '$A$1'], ['R1C1', '$A1'], ['R1C1', 'A$1'], ['R2C2', 'B2'], ['R5C12', 'L5'], ['R1024C26', 'Z1024'], ['R2048C27', 'AA2048'], ['R4096C52', 'AZ4096'], ['R8192C53', 'BA8192'], ['R65535C256', 'IV65535'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/R1C1ConversionToA1Exception.php
tests/data/Cell/R1C1ConversionToA1Exception.php
<?php declare(strict_types=1); return [ ['RICE'], ['R[-1]C'], ['RC[-1]'], ['R-1C'], ['RC-1'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/ConvertFormulaToA1FromR1C1Absolute.php
tests/data/Cell/ConvertFormulaToA1FromR1C1Absolute.php
<?php declare(strict_types=1); return [ 'Basic addition' => ['=D3+F7+G4+C6+5', '=R3C4+R7C6+R4C7+R6C3+5'], 'Basic subtraction' => ['=D3-F7-G4-C6-5', '=R3C4-R7C6-R4C7-R6C3-5'], 'Basic multiplication' => ['=D3*F7*G4*C6*5', '=R3C4*R7C6*R4C7*R6C3*5'], 'Basic division' => ['=D3/F7/G4/C6/5', '=R3C4/R7C6/R4C7...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/A1ConversionToR1C1Relative.php
tests/data/Cell/A1ConversionToR1C1Relative.php
<?php declare(strict_types=1); return [ ['R[2]C[2]', 'O18', 16, 13], ['R18C15', '$O$18', 16, 13], ['R[-2]C[2]', 'O14', 16, 13], ['R[-2]C15', '$O14', 16, 13], ['R[2]C[-2]', 'K18', 16, 13], ['R18C[-2]', 'K$18', 16, 13], ['R[-2]C[-2]', 'K14', 16, 13], ['RC[3]', 'P16', 16, 13], ['R16C[...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/CoordinateIsInsideRangeException.php
tests/data/Cell/CoordinateIsInsideRangeException.php
<?php declare(strict_types=1); return [ ['First argument needs to be a range', 'invalidRange', 'B4'], ['Second argument needs to be a single coordinate', 'A1:E20', 'invalidCoordinate'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/SetValueExplicitException.php
tests/data/Cell/SetValueExplicitException.php
<?php declare(strict_types=1); use PhpOffice\PhpSpreadsheet\Cell\DataType; return [ 'invalid numeric' => ['XYZ', DataType::TYPE_NUMERIC, 'Invalid numeric value'], 'invalid array' => [[], DataType::TYPE_STRING, 'Unable to convert to string'], 'invalid unstringable object' => [new DateTime(), DataType::TYP...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Cell/A1ConversionToR1C1Exception.php
tests/data/Cell/A1ConversionToR1C1Exception.php
<?php declare(strict_types=1); return [ ['A11Y'], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/CodePage.php
tests/data/Shared/CodePage.php
<?php declare(strict_types=1); return [ // ANSI Latin I (BIFF4-BIFF7) [ 'CP1252', 0, ], // ASCII [ 'ASCII', 367, ], // OEM US [ 'CP437', 437, ], // OEM Greek [ 'CP737', 737, ], // OEM Baltic [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/InchSizeToPixels.php
tests/data/Shared/InchSizeToPixels.php
<?php declare(strict_types=1); return [ [ 9.5999999999999996, 0.10000000000000001, ], [ 19.199999999999999, 0.20000000000000001, ], [ 48.0, 0.5, ], [ 96.0, 1.0, ], [ 192.0, 2.0, ], ];
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/PasswordHashes.php
tests/data/Shared/PasswordHashes.php
<?php declare(strict_types=1); return [ [ 'BCDE', 'PhpSpreadsheet', ], [ '877D', 'Mark Baker', ], [ 'C0EA', '!+&=()~§±æþ', ], [ 'C07E', '秘密口令', ], [ '99E8', 'leyndarmál lykilorð', ], [ '...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/CentimeterSizeToPixels.php
tests/data/Shared/CentimeterSizeToPixels.php
<?php declare(strict_types=1); return [ [ 3.7795275590999999, 0.10000000000000001, ], [ 7.5590551181999999, 0.20000000000000001, ], [ 18.8976377955, 0.5, ], [ 37.795275590999999, 1.0, ], [ 75.590551181999999, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/FontSizeToPixels.php
tests/data/Shared/FontSizeToPixels.php
<?php declare(strict_types=1); return [ [ 8, 6, ], [ 9, 7, ], [ 10, 8, ], [ 12, 9, ], [ 13, 10, ], [ 14, 11, ], [ 16, 12, ], [ 18, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Date/TimestampToExcel1900.php
tests/data/Shared/Date/TimestampToExcel1900.php
<?php declare(strict_types=1); // Unix TimeStamp Result Comments return [ // PHP 32-bit Earliest Date 14-Dec-1901 [ 714, -2147472000, ], // 31-Dec-1903 [ 1461, -2082931200, ], // Excel 1904 Calendar Base Date 01-Jan-1904 [ 1462, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Date/ExcelToTimestamp1904.php
tests/data/Shared/Date/ExcelToTimestamp1904.php
<?php declare(strict_types=1); // Excel DateTimeStamp Result Comments return [ [ -1956528000, 1462, ], [ -1956441600, 1463, ], [ -158803200, 22269, ], [ 126316800, 25569, ], [ 534384000, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Date/ExcelToTimestamp1900.php
tests/data/Shared/Date/ExcelToTimestamp1900.php
<?php declare(strict_types=1); // Excel DateTimeStamp Result Comments return [ // PHP 32-bit Earliest Date 14-Dec-1901 [ -2147472000, 714, ], // 31-Dec-1903 [ -2082931200, 1461, ], // Excel 1904 Calendar Base Date 01-Jan-1904 [ -20828...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Date/DateTimeToExcel.php
tests/data/Shared/Date/DateTimeToExcel.php
<?php declare(strict_types=1); // DateTime object Result Comments return [ // Excel 1900 base calendar date [ 1.0, new DateTime('1900-01-01'), ], // This and next test show gap for the mythical [ 59.0, new DateTime('1900-02-28'), ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Date/FormattedPHPToExcel1900.php
tests/data/Shared/Date/FormattedPHPToExcel1900.php
<?php declare(strict_types=1); // Year Month Day Hours Minutes Seconds Result Comments return [ // PHP 32-bit Earliest Date 14-Dec-1901 [ 714, 1901, 12, 14, ], // 31-Dec-1903 [ 1461, 1903, 12, 31, ], // Exce...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Date/TimestampToExcel1904.php
tests/data/Shared/Date/TimestampToExcel1904.php
<?php declare(strict_types=1); // Excel DateTimeStamp Result return [ [ 1462, -1956528000, ], [ 1463, -1956441600, ], [ 22269, -158803200, ], [ 25569, 126316800, ], [ 30292, 534384000, ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Date/ExcelToTimestamp1900Timezone.php
tests/data/Shared/Date/ExcelToTimestamp1900Timezone.php
<?php declare(strict_types=1); // Excel DateTimeStamp Timezone Result Comments return [ // 19-Dec-1960 00:00:00 EST => 19-Dec-1960 05:00:00 UTC [ -285102000, 22269, 'America/New_York', ], // 01-Jan-1970 00:00:00 EST => 01-Jan-1970 05:00:00 UTC PHP B...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Date/FormatCodes.php
tests/data/Shared/Date/FormatCodes.php
<?php declare(strict_types=1); // Excel Format Code Result return [ [ false, 'General', ], [ false, '@', ], [ false, '0', ], [ false, '0.00', ], [ false, '#,##0.00', ], [ ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Trend/ExponentialBestFit.php
tests/data/Shared/Trend/ExponentialBestFit.php
<?php declare(strict_types=1); return [ [ 'expectedSlope' => [0.8, 0.813512072856517], 'expectedIntersect' => [20.7, 20.671878197177865], 'expectedGoodnessOfFit' => [0.904868, 0.9048681877346413], 'expectedEquation' => 'Y = 20.67 * 0.81^X', 'yValues' => [3, 10, 3, 6, 8, 12,...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/tests/data/Shared/Trend/LinearBestFit.php
tests/data/Shared/Trend/LinearBestFit.php
<?php declare(strict_types=1); return [ [ 'expectedSlope' => [-1.1, -1.1064189189190], 'expectedIntersect' => [14.1, 14.081081081081], 'expectedGoodnessOfFit' => [0.873138, 0.8731378215564962], 'expectedEquation' => 'Y = 14.08 + -1.11 * X', 'yValues' => [3, 10, 3, 6, 8, 12,...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Bootstrap.php
samples/Bootstrap.php
<?php /** * Bootstrap for PhpSpreadsheet classes. */ // This sucks, but we have to try to find the composer autoloader $paths = [ __DIR__ . '/../vendor/autoload.php', // In case PhpSpreadsheet is cloned directly __DIR__ . '/../../../autoload.php', // In case PhpSpreadsheet is a composer dependency. ]; for...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/index.php
samples/index.php
<?php require_once __DIR__ . '/Header.php'; $requirements = [ 'PHP 8.1' => version_compare(PHP_VERSION, '8.1', '>='), 'PHP extension XML' => extension_loaded('xml'), 'PHP extension xmlwriter' => extension_loaded('xmlwriter'), 'PHP extension mbstring' => extension_loaded('mbstring'), 'PHP extension...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/download.php
samples/download.php
<?php require_once __DIR__ . '/Bootstrap.php'; use PhpOffice\PhpSpreadsheet\Helper\Downloader; use PhpOffice\PhpSpreadsheet\Helper\Sample; use PhpOffice\PhpSpreadsheet\Shared\StringHelper; $filename = basename(StringHelper::convertToString($_GET['name'] ?? '')); $filetype = StringHelper::convertToString($_GET['type'...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Header.php
samples/Header.php
<?php /** * Header file. */ use PhpOffice\PhpSpreadsheet\Helper\Sample; error_reporting(E_ALL); require_once __DIR__ . '/Bootstrap.php'; $helper = new Sample(); // Return to the caller script when runs by CLI if ($helper->isCli()) { return; } ?> <html> <head> <title><?php echo $helper->getPageTitle(); ?...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/ComplexNumbers1/COMPLEX.php
samples/ComplexNumbers1/COMPLEX.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'COMPLEX'; $description = 'Converts real and imaginary coefficients into a complex number of the form x + yi or x + yj'; $helper->t...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/ComplexNumbers1/IMARGUMENT.php
samples/ComplexNumbers1/IMARGUMENT.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'IMARGUMENT'; $description = 'Returns the argument Theta, an angle expressed in radians'; $helper->titles($category, $functionName,...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/ComplexNumbers1/IMREAL.php
samples/ComplexNumbers1/IMREAL.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'IMREAL'; $description = 'Returns the real coefficient of a complex number in x + yi or x + yj text format'; $helper->titles($categ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/ComplexNumbers1/IMAGINARY.php
samples/ComplexNumbers1/IMAGINARY.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'IMAGINARY'; $description = 'Returns the imaginary coefficient of a complex number in x + yi or x + yj text format'; $helper->title...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/ComplexNumbers1/IMCONJUGATE.php
samples/ComplexNumbers1/IMCONJUGATE.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'IMCONJUGATE'; $description = 'Returns the complex conjugate of a complex number in x + yi or x + yj text format'; $helper->titles(...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/ComplexNumbers1/IMABS.php
samples/ComplexNumbers1/IMABS.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'IMABS'; $description = 'Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format'; $helper->titles...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Bitwise/BITAND.php
samples/Bitwise/BITAND.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'BITAND'; $description = "Returns a bitwise 'AND' of two numbers"; $helper->titles($category, $functionName, $description); // Cre...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Bitwise/BITRSHIFT.php
samples/Bitwise/BITRSHIFT.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'BITRSHIFT'; $description = 'Returns a number shifted right by the specified number of bits'; $helper->titles($category, $functionN...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Bitwise/BITOR.php
samples/Bitwise/BITOR.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'BITOR'; $description = "Returns a bitwise 'OR' of two numbers"; $helper->titles($category, $functionName, $description); // Creat...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Bitwise/BITLSHIFT.php
samples/Bitwise/BITLSHIFT.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'BITLSHIFT'; $description = 'Returns a number shifted left by the specified number of bits'; $helper->titles($category, $functionNa...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Bitwise/BITXOR.php
samples/Bitwise/BITXOR.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $category = 'Engineering'; $functionName = 'BITXOR'; $description = "Returns a bitwise 'XOR' of two numbers"; $helper->titles($category, $functionName, $description); // Cre...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/SortExcel.php
samples/LookupRef/SortExcel.php
<?php namespace PhpOffice\PhpSpreadsheet\Calculation\LookupRef; use Exception; use PhpOffice\PhpSpreadsheet\Helper\Sample; use PhpOffice\PhpSpreadsheet\Helper\TextGridRightAlign; use Stringable; class SortExcel { public const ASCENDING = 1; public const DESCENDING = -1; private int $arrayCol; priva...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/COLUMNS.php
samples/LookupRef/COLUMNS.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Returns the number of columns in an array or reference.'); // Create new PhpSpreadsheet object $spreadsheet = new Spreadsheet(); $worksheet = $spreadsheet->getA...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/SortExcelCols.php
samples/LookupRef/SortExcelCols.php
<?php namespace PhpOffice\PhpSpreadsheet\Calculation\LookupRef; use Exception; use PhpOffice\PhpSpreadsheet\Helper\Sample; use PhpOffice\PhpSpreadsheet\Helper\TextGridRightAlign; use Stringable; // this is the same class as in sortExcel class SortExcelCols { public const ASCENDING = 1; public const DESCENDIN...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/COLUMN.php
samples/LookupRef/COLUMN.php
<?php use PhpOffice\PhpSpreadsheet\Calculation\Calculation; use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Returns the column index of a cell.'); // Create new PhpSpreadsheet object $spreadsheet = new Spreadsheet(...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/INDEX.php
samples/LookupRef/INDEX.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Returns the row index of a cell.'); // Create new PhpSpreadsheet object $spreadsheet = new Spreadsheet(); $worksheet = $spreadsheet->getActiveSheet(); $data1 =...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/ROW.php
samples/LookupRef/ROW.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Returns the row index of a cell.'); // Create new PhpSpreadsheet object $spreadsheet = new Spreadsheet(); $worksheet = $spreadsheet->getActiveSheet(); $workshe...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/INDIRECT.php
samples/LookupRef/INDIRECT.php
<?php use PhpOffice\PhpSpreadsheet\NamedRange; use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Returns the cell specified by a text string.'); // Create new PhpSpreadsheet object $spreadsheet = new Spreadsheet(); $...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/ROWS.php
samples/LookupRef/ROWS.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Returns the row index of a cell.'); // Create new PhpSpreadsheet object $spreadsheet = new Spreadsheet(); $worksheet = $spreadsheet->getActiveSheet(); $workshe...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/ADDRESS.php
samples/LookupRef/ADDRESS.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Returns a text reference to a single cell in a worksheet.'); // Create new PhpSpreadsheet object $spreadsheet = new Spreadsheet(); $worksheet = $spreadsheet->ge...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/VLOOKUP.php
samples/LookupRef/VLOOKUP.php
<?php use PhpOffice\PhpSpreadsheet\Shared\StringHelper; use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Searches for a value in the top row of a table or an array of values, and then returns a value ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/LookupRef/OFFSET.php
samples/LookupRef/OFFSET.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Returns a cell range that is a specified number of rows and columns from a cell or range of cells.'); // Create new PhpSpreadsheet object $spreadsheet = new Spr...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Wizards/Header.php
samples/Wizards/Header.php
<?php require __DIR__ . '/../Header.php';
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Wizards/NumberFormat/Number.php
samples/Wizards/NumberFormat/Number.php
<?php use PhpOffice\PhpSpreadsheet\Exception as SpreadsheetException; use PhpOffice\PhpSpreadsheet\Helper\Sample; use PhpOffice\PhpSpreadsheet\Shared\StringHelper; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; require __DIR__ . '/../Header.php'; /** @var Samp...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Wizards/NumberFormat/Currency.php
samples/Wizards/NumberFormat/Currency.php
<?php use PhpOffice\PhpSpreadsheet\Exception as SpreadsheetException; use PhpOffice\PhpSpreadsheet\Shared\StringHelper; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard\CurrencyNegative; use PhpOffice\PhpSpre...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Wizards/NumberFormat/Percentage.php
samples/Wizards/NumberFormat/Percentage.php
<?php use PhpOffice\PhpSpreadsheet\Exception as SpreadsheetException; use PhpOffice\PhpSpreadsheet\Helper\Sample; use PhpOffice\PhpSpreadsheet\Shared\StringHelper; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; require __DIR__ . '/../Header.php'; /** @var Samp...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Wizards/NumberFormat/Accounting.php
samples/Wizards/NumberFormat/Accounting.php
<?php use PhpOffice\PhpSpreadsheet\Exception as SpreadsheetException; use PhpOffice\PhpSpreadsheet\Shared\StringHelper; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper *...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Wizards/NumberFormat/Scientific.php
samples/Wizards/NumberFormat/Scientific.php
<?php use PhpOffice\PhpSpreadsheet\Exception as SpreadsheetException; use PhpOffice\PhpSpreadsheet\Helper\Sample; use PhpOffice\PhpSpreadsheet\Shared\StringHelper; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard; require __DIR__ . '/../Header.php'; /** @var Samp...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reading_workbook_data/Custom_properties.php
samples/Reading_workbook_data/Custom_properties.php
<?php use PhpOffice\PhpSpreadsheet\IOFactory; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileType = 'Xlsx'; $inputFileName = __DIR__ . '/sampleData/example1.xlsx'; // Create a new Reader of the type defined in $inputFileType $reader = IOFactory::createReader(...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reading_workbook_data/Properties.php
samples/Reading_workbook_data/Properties.php
<?php use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\Shared\Date; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileType = 'Xls'; $inputFileName = __DIR__ . '/sampleData/example1.xls'; // Create a new Reader of the type defined in $inputFil...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reading_workbook_data/Custom_property_names.php
samples/Reading_workbook_data/Custom_property_names.php
<?php use PhpOffice\PhpSpreadsheet\IOFactory; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileType = 'Xlsx'; $inputFileName = __DIR__ . '/sampleData/example1.xlsx'; // Create a new Reader of the type defined in $inputFileType $reader = IOFactory::createReader(...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reading_workbook_data/Worksheet_count_and_names.php
samples/Reading_workbook_data/Worksheet_count_and_names.php
<?php use PhpOffice\PhpSpreadsheet\IOFactory; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileType = 'Xls'; $inputFileName = __DIR__ . '/sampleData/example2.xls'; // Create a new Reader of the type defined in $inputFileType $reader = IOFactory::createReader($i...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/15_Simple_file_reader_for_tab_separated_value_file_using_the_Advanced_Value_Binder.php
samples/Reader2/15_Simple_file_reader_for_tab_separated_value_file_using_the_Advanced_Value_Binder.php
<?php use PhpOffice\PhpSpreadsheet\Cell\AdvancedValueBinder; use PhpOffice\PhpSpreadsheet\Cell\Cell; use PhpOffice\PhpSpreadsheet\Reader\Csv; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ Cell::setValueBinder(new AdvancedValueBinder()); $inputFileName = __DIR__ . '/sa...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/22_Reader_formscomments.php
samples/Reader2/22_Reader_formscomments.php
<?php use PhpOffice\PhpSpreadsheet\IOFactory; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Start'); $inputFileType = 'Xlsx'; $inputFileName = __DIR__ . '/sampleData/formscomments.xlsx'; $helper->log('Loading file ' . $inputFileName . ' using IOFactory ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/23_iterateRowsYield.php
samples/Reader2/23_iterateRowsYield.php
<?php /** * Use rangeToArrayYieldRows() to efficiently iterate over all rows. */ use PhpOffice\PhpSpreadsheet\Shared\StringHelper; require __DIR__ . '/../Header.php'; $inputFileName = __DIR__ . '/../Reader/sampleData/example1.xls'; $spreadsheet = PhpOffice\PhpSpreadsheet\IOFactory::load( $inputFileName, ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/16_Handling_loader_exceptions_using_TryCatch.php
samples/Reader2/16_Handling_loader_exceptions_using_TryCatch.php
<?php use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\Reader\Exception as ReaderException; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileName = __DIR__ . '/sampleData/non-existing-file.xls'; $helper->log('Loading file ' . pathinfo($inputF...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/21_Reader_CSV_Long_Integers_with_String_Value_Binder.php
samples/Reader2/21_Reader_CSV_Long_Integers_with_String_Value_Binder.php
<?php use PhpOffice\PhpSpreadsheet\Cell\Cell; use PhpOffice\PhpSpreadsheet\Cell\StringValueBinder; use PhpOffice\PhpSpreadsheet\IOFactory; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ Cell::setValueBinder(new StringValueBinder()); $inputFileType = 'Csv'; $inputFileNa...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/19_Reading_worksheet_information_without_loading_entire_file.php
samples/Reader2/19_Reading_worksheet_information_without_loading_entire_file.php
<?php use PhpOffice\PhpSpreadsheet\Reader\Xls; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileType = 'Xls'; $inputFileName = __DIR__ . '/sampleData/example1.xls'; $helper->log('Loading file ' . pathinfo($inputFileName, PATHINFO_BASENAME) . ' information using...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/20_Reader_worksheet_hyperlink_image.php
samples/Reader2/20_Reader_worksheet_hyperlink_image.php
<?php use PhpOffice\PhpSpreadsheet\Shared\File; use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileType = 'Xlsx'; $helper->log('Start'); $spreadsheet = new Spreadsheet(); $aSheet = $spreadsheet->getActiveSheet(); $gdIm...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/14_Reading_a_large_CSV_file_in_chunks_to_split_across_multiple_worksheets.php
samples/Reader2/14_Reading_a_large_CSV_file_in_chunks_to_split_across_multiple_worksheets.php
<?php namespace Samples\Sample14; use PhpOffice\PhpSpreadsheet\Reader\Csv; use PhpOffice\PhpSpreadsheet\Reader\IReadFilter; use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var \PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileName = __DIR__ . '/sampleData/example2.csv'; ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/22_Reader_issue1767.php
samples/Reader2/22_Reader_issue1767.php
<?php use PhpOffice\PhpSpreadsheet\IOFactory; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Start'); $inputFileType = 'Xlsx'; $inputFileName = __DIR__ . '/sampleData/issue.1767.xlsx'; $helper->log('Loading file ' . $inputFileName . ' using IOFactory wit...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/17_Simple_file_reader_loading_several_named_worksheets.php
samples/Reader2/17_Simple_file_reader_loading_several_named_worksheets.php
<?php use PhpOffice\PhpSpreadsheet\Reader\Xls; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileName = __DIR__ . '/sampleData/example1.xls'; $helper->log('Loading file ' . pathinfo($inputFileName, PATHINFO_BASENAME) . ' using Xls reader'); $reader = new Xls(); ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/13_Simple_file_reader_for_multiple_CSV_files.php
samples/Reader2/13_Simple_file_reader_for_multiple_CSV_files.php
<?php use PhpOffice\PhpSpreadsheet\Reader\Csv; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileNames = [__DIR__ . '/sampleData/example1.csv', __DIR__ . '/sampleData/example2.csv']; $reader = new Csv(); $inputFileName = array_shift($inputFileNames); $helper->lo...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Reader2/18_Reading_list_of_worksheets_without_loading_entire_file.php
samples/Reader2/18_Reading_list_of_worksheets_without_loading_entire_file.php
<?php use PhpOffice\PhpSpreadsheet\Reader\Xls; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $inputFileName = __DIR__ . '/sampleData/example1.xls'; $helper->log('Loading file ' . pathinfo($inputFileName, PATHINFO_BASENAME) . ' information using Xls reader'); $reader ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Basic/01_Simple_download_xlsx.php
samples/Basic/01_Simple_download_xlsx.php
<?php use PhpOffice\PhpSpreadsheet\Helper\Sample; use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\Spreadsheet; require_once __DIR__ . '/../Bootstrap.php'; $helper = new Sample(); if ($helper->isCli()) { $helper->log('This example should only be run from a Web Browser' . PHP_EOL); return...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Basic/09_Pagebreaks.php
samples/Basic/09_Pagebreaks.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ // Create new Spreadsheet object $helper->log('Create new Spreadsheet object'); $spreadsheet = new Spreadsheet(); // Set do...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Basic/01_Simple.php
samples/Basic/01_Simple.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->log('Create new Spreadsheet object'); $spreadsheet = new Spreadsheet(); // Set document properties $helper->log('Set document properties'); $spreadsheet->getProperti...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Basic/08_Conditional_formatting_2.php
samples/Basic/08_Conditional_formatting_2.php
<?php use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Style\Color; use PhpOffice\PhpSpreadsheet\Style\Conditional; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ // Create new Spreadsheet object $h...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Basic/06_Largescale.php
samples/Basic/06_Largescale.php
<?php require __DIR__ . '/../Header.php'; /** @var PhpOffice\PhpSpreadsheet\Spreadsheet */ $spreadsheet = require __DIR__ . '/../templates/largeSpreadsheet.php'; // Save /** @var PhpOffice\PhpSpreadsheet\Helper\Sample $helper */ $helper->write($spreadsheet, __FILE__);
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false
PHPOffice/PhpSpreadsheet
https://github.com/PHPOffice/PhpSpreadsheet/blob/e33834b4ea2a02088becbb41fb8954d915b46b12/samples/Basic/02_Types.php
samples/Basic/02_Types.php
<?php use PhpOffice\PhpSpreadsheet\Cell\DataType; use PhpOffice\PhpSpreadsheet\RichText\RichText; use PhpOffice\PhpSpreadsheet\Shared\Date; use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Style\Color; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; require __DIR__ . '/../Header.php'; /** @var ...
php
MIT
e33834b4ea2a02088becbb41fb8954d915b46b12
2026-01-04T15:02:44.305364Z
false