zend gurad 6.0 加密后不能运行(已解决)

浏览:1228 发布日期:2016/04/11
3.2.2 - 严重 - 未处理
(通过设置把公共文件提出不缓冲到编译文件中,问题即解决)
3.2.2版下,通过zend gurad加密后,因为PHP内容都被加密为二进制,而在正式状态下(非调试)ThinkPHP会把相关库文件等合进一个common~runtime.php,导致__halt_compiler()不能再最外层调用,和命名空间上的报错:
Fatal error: __HALT_COMPILER() can only be used from the outermost scope in D:\phpStudy\WWW\test\Application\Runtime\common~runtime.php on line 4

Fatal error: Cannot mix bracketed namespace declarations with unbracketed namespace declarations in D:\phpStudy\WWW\ThinkPHP\Library\Think\Log.class.php on line 11

望能解决
评论(
后面还有条评论,点击查看>>