Thanks for your reply. Please find the following details of my system:
- PHP: 5.5.3
- PHPDocx: 3.3 (pro)
The array contain string value, it is a multidimensional array. I would say it is comparable to an array of size 75-100 which contain text. However, the array itself does not cause any problem when dump the content to a single variable (string) which later is used to build HTML file.
As dumping the value to HTML does not cause any problem, the temporary solution which is working for me at the moment, is to create a .docx template and use replaceTemplateVariableByHTML.