ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
07reader.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("05featuredemo.xlsx"))
 Include PHPExcel_IOFactory. More...
 
Load from Excel2007 file
 
 $callStartTime = microtime(true)
 
 $objPHPExcel = PHPExcel_IOFactory::load("05featuredemo.xlsx")
 
 $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 49 of file 07reader.php.

◆ $callStartTime

$callStartTime = microtime(true)

Definition at line 45 of file 07reader.php.

◆ $callTime

$callTime = $callEndTime - $callStartTime

Definition at line 50 of file 07reader.php.

◆ $objPHPExcel

$objPHPExcel = PHPExcel_IOFactory::load("05featuredemo.xlsx")

Definition at line 47 of file 07reader.php.

◆ $objWriter

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

Definition at line 59 of file 07reader.php.

◆ EOL

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

Definition at line 32 of file 07reader.php.

◆ file

Done writing file

Definition at line 40 of file 07reader.php.

◆ format

Write to Excel2007 format

Definition at line 56 of file 07reader.php.

◆ if

if(!file_exists("05featuredemo.xlsx"))

Include PHPExcel_IOFactory.

Definition at line 40 of file 07reader.php.

◆ MB

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

Definition at line 53 of file 07reader.php.

◆ seconds

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

Definition at line 51 of file 07reader.php.

◆ to

File written to

Definition at line 65 of file 07reader.php.

◆ usage

Peak memory usage

Definition at line 72 of file 07reader.php.