22:07:07 Create new PHPExcel object
22:07:07 Set document properties
22:07:07 Set default font
22:07:07 Add some data
22:07:07 Rename worksheet
22:07:07 Write to Excel5 format
22:07:07 File written to 02types-xls.xls
22:07:07 File written to 02types-xls.xlsx
Call time to write Workbook was 0.0057 seconds
22:07:07 Current memory usage: 2 MB
22:07:07 Reload workbook from saved file
Call time to reload Workbook was 0.0039 seconds
22:07:07 Current memory usage: 2 MB
array(14) { [0]=> array(3) { [0]=> string(6) "String" [1]=> string(6) "Simple" [2]=> string(8) "PHPExcel" } [1]=> array(3) { [0]=> string(6) "String" [1]=> string(7) "Symbols" [2]=> string(15) "!+&=()~§±æþ" } [2]=> array(3) { [0]=> string(6) "String" [1]=> string(5) "UTF-8" [2]=> string(60) "Создать MS Excel Книги из PHP скриптов" } [3]=> array(3) { [0]=> string(6) "Number" [1]=> string(7) "Integer" [2]=> float(12) } [4]=> array(3) { [0]=> string(6) "Number" [1]=> string(5) "Float" [2]=> float(34.56) } [5]=> array(3) { [0]=> string(6) "Number" [1]=> string(8) "Negative" [2]=> float(-7.89) } [6]=> array(3) { [0]=> string(7) "Boolean" [1]=> string(4) "True" [2]=> bool(true) } [7]=> array(3) { [0]=> string(7) "Boolean" [1]=> string(5) "False" [2]=> bool(false) } [8]=> array(3) { [0]=> string(9) "Date/Time" [1]=> string(4) "Date" [2]=> string(10) "2024-04-27" } [9]=> array(3) { [0]=> string(9) "Date/Time" [1]=> string(4) "Time" [2]=> string(8) "21:07:07" } [10]=> array(3) { [0]=> string(9) "Date/Time" [1]=> string(13) "Date and Time" [2]=> string(13) "27/4/24 21:07" } [11]=> array(3) { [0]=> string(4) "NULL" [1]=> NULL [2]=> NULL } [12]=> array(3) { [0]=> string(9) "Rich Text" [1]=> NULL [2]=> string(65) "你好 你 好 吗?, unless specified otherwise on the invoice." } [13]=> array(3) { [0]=> NULL [1]=> NULL [2]=> string(19) "black text red text" } } 22:07:07 Peak memory usage: 2 MB
22:07:07 Done testing file
File has been created in /var/www/erp/PHPExcel-1.8-/Examples