I have installed phpdocx (pro trial) and the examples I have tried (from the examples directory) work fine.
However, running check.php dumps garbage to the browser screen. I did some analysis and isolated the problem to the following statements:
require_once 'classes/PhpdocxUtilities.inc';
require_once 'classes/GenerateDocx.inc';
When these execute, the content of each file is being output to the browser window. Subsequently, echo $output fails. If I echo $output before these statements, I get all of the nicely formatted test results before the trash appears on the browser.
Tidy, ZipArchive, and XSLT are enabled.
Ideas?