php7.4 tcpdf chr() expects parameter 1 to be int
最近升级服务器PHP版本到7.4,结果PDF不能展示了,直接报错:chr() expects parameter 1 to be int, string given百度了很久没结果,然后跑去谷歌了一下,结果在git上发现了作者的回复,低版本......
Thinkphp5.1 pdf tecnickcom/tcpdf tcpdf
记录一下Thinkphp5.1输出PDF预览效果:composer require tecnickcom/tcpdfapplication/common.php里的方法:/** * setPdf 输出PDF * @par......