jmkp100 发表于 2012-4-2 11:33:41

试了一下PHP自己插件为什么会这样?

<?php
error_reporting(E_ERROR | E_WARNING | E_PARSE);


        preg_match_all('\w+', '123', $LabelArray['标题']);


echo serialize($LabelArray);
?>




PHP插件执行错误,返回代码:

Warning: preg_match_all(): Delimiter must not be alphanumeric or backslash in D:\LocoySpider_V7.2_Build20120331.Free\Plugins\LocoySpider\Noname1.php on line 19
a:4:{s:8:"PageType";s:4:"Save";s:6:"标题";s:0:"";s:6:"内容";s:0:"";s:6:"时间";s:0:"";}

那错了还是其它?
页: [1]
查看完整版本: 试了一下PHP自己插件为什么会这样?