Updated PHP wrapper to support PDF metadata options.