Code generator for PHP