If your goal is to store the number as text (and not do math on it later) and the PHP is exporting as a CSV, a simple solution would be to export the number as a CONCATENATE
function.
=CONCATENATE(123123123123)
renders as 123123123123
in text format when the CSV is opened in Excel (this is for Excel 2010).