DRYing PHP code with a helper file; could become a standard for all laguages