+ -
当前位置:首页 → 问答吧 → Zend Guard加密后网站运行时出现很多警告

Zend Guard加密后网站运行时出现很多警告

时间:2007-01-22

来源:互联网

加密前,网站运行正常;
加密后,运行时出现很多警告:
Warning:  preg_match() [function.preg-match]: No ending matching delimiter '>' found in c:\htdocs\hawa\include\functions.php on line 385

Warning:  preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in c:\htdocs\hawa\include\functions.php on line 385

Warning:  preg_match() [function.preg-match]: No ending delimiter '/' found in c:\htdocs\hawa\include\functions.php on line 385

。。。。。。

想修改都没办法,因为警告提示的是指加密后的。

不知道有什么办法解决?

作者: DeepBlue   发布时间: 2007-01-21

不要选 strong 加密选项试试~

作者: Ben   发布时间: 2007-01-21

Obfuscation level我选Basic或Encoding only;
Optimizations我选None;
也是同样的结果!:(

作者: DeepBlue   发布时间: 2007-01-22

加密前代码 error_reporting(E_ALL) 了吗?

作者: Ben   发布时间: 2007-01-22

我的php.ini中的设置是:

error_reporting  =  E_ALL & ~E_NOTICE
display_errors = On

加密前运行也没有警告和错误信息。

作者: DeepBlue   发布时间: 2007-01-23

方便的话把代码贴上来,或者报告给 Zend~:lol

作者: Ben   发布时间: 2007-01-23

给个代码调用的例子~

作者: Ben   发布时间: 2007-01-23

问题解决了,是preg_match函数的第一个参数:正则表达式有问题。
3Q,Ben!:)

作者: DeepBlue   发布时间: 2007-01-24