Generate PHP code programattically.