ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
20readexcel5.php File Reference

Go to the source code of this file.

Namespaces

 PHPExcel
 

Variables

const EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'
 
 if (!file_exists("14excel5.xls"))
 Include PHPExcel_IOFactory. More...
 
Load workbook from Excel5 file
 
 $callStartTime = microtime(true)
 
 $objPHPExcel = PHPExcel_IOFactory::load("14excel5.xls")
 
 $callEndTime = microtime(true)
 
 $callTime = $callEndTime - $callStartTime
 
sprintf('%.4f', $callTime) seconds
 
memory_get_usage(true)/1024/1024) MB
 
Write to Excel2007 format
 
 $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007')
 
File written to
 
Peak memory usage
 

Variable Documentation

◆ $callEndTime

$callEndTime = microtime(true)

Definition at line 51 of file 20readexcel5.php.

◆ $callStartTime

$callStartTime = microtime(true)

Definition at line 47 of file 20readexcel5.php.

◆ $callTime

$callTime = $callEndTime - $callStartTime

Definition at line 52 of file 20readexcel5.php.

◆ $objPHPExcel

$objPHPExcel = PHPExcel_IOFactory::load("14excel5.xls")

Definition at line 49 of file 20readexcel5.php.

◆ $objWriter

$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007')

Definition at line 63 of file 20readexcel5.php.

◆ EOL

getcwd () EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'

Definition at line 34 of file 20readexcel5.php.

◆ file

Done reading file

Definition at line 42 of file 20readexcel5.php.

◆ format

Write to Excel2007 format

Definition at line 60 of file 20readexcel5.php.

◆ if

if(!file_exists("14excel5.xls"))

Include PHPExcel_IOFactory.

Definition at line 42 of file 20readexcel5.php.

◆ MB

Peak memory memory_get_peak_usage (true)/1024/1024) MB

Definition at line 56 of file 20readexcel5.php.

◆ seconds

sprintf ('%.4f', $callTime) seconds

Definition at line 54 of file 20readexcel5.php.

◆ to

File written to

Definition at line 68 of file 20readexcel5.php.

◆ usage

Peak memory usage

Definition at line 75 of file 20readexcel5.php.