php adjustments to 0.2.0