Initial pass of PHP support