Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
The current version of PHPDocX doesn't allow to replace a variable by WordML, but in the future it will. The solution is to use replaceVariableByHTML. What issue do you find using this method?