Feature/remove php4 support