saving current working state of php assignment