Simple helper for generating PHP code.