>> im wondering if is there a new way/function in duplicating cell's data type.
>> Can you please give some example.
I am not sure you want to duplicate data types? Normally, one should set the data type when one sets the cell value. Example:
Where do you see any need for duplicating the data type?
>> is there a wiki abbout getcell? what is explicit value?
When you type values in MS Office Excel it automatically determines the data type based on what you are typing. This can sometimes be annoying and it can be difficult the enter text if it looks like a number. Therefore
setValueExplit() was introduced. It gives you better control. Example:
$cell->setValueExplicit('123', PHPExcel_Cell_DataType::TYPE_NUMERIC); // will be number
$cell->setValueExplicit('123', PHPExcel_Cell_DataType::TYPE_STRING); // will be string
If you are generating large workbooks I recommend that you use
setValueExplicit(<value>, <dataType>) whenever possible. It is faster than
setValue(<value>) and can make a difference, typically approx. 10% faster because it skips certain checks.