lihancong / tonyenc

高性能、跨平台的 PHP7 代码加密扩展 (A high performance and cross-platform encrypt extension for PHP source code)
725 stars 202 forks source link

fix garbled bug #20

Closed tsln1998 closed 2 years ago

tsln1998 commented 5 years ago

19 修复内存泄漏问题后导致乱码

按照zend_fopen的实现,实际上第二个参数传NULL即可