I gang

PSP to PHP conversion