generalize..history php init