在使用 dompdf 的时候,需要关闭 xdebug,否则会报下面的错误:
DOMElement::setAttribute(): Not yet implemented
详情:http://www.phpdocx.com/en/forum/default/topic/985
使用dompdf时,关掉xdebug was originally published by ETY001 at DoMyself on September 08, 2015.