My common php utils