PHP-ification