Deprecated:
preg_replace(): The /e modifier is deprecated, use
preg_replace_callback instead in
E:\phpStudy\WWW\ecshop\includes\cls_template.php on line
300
将cls_template.php
return
preg_replace("/{([^\}\{\n]*)}/e", "\$this->select('\\1');",
$source);
替换
return
preg_replace_callback("/{([^\}\{\n]*)}/", function($r) { return
$this->select($r[1]); }, $source);
Strict Standards: Only
variables should be passed by reference in
E:\phpStudy\WWW\ecshop\includes\cls_template.php on line
423
将cls_template.php
$tag_sel =
array_shift(explode(' ', $tag));
替换
$tag_tmp = (explode('
', $tag));
$tag_sel =
array_shift($tag_tmp);
Deprecated:
preg_replace(): The /e modifier is deprecated, use
preg_replace_callback instead in
E:\phpStudy\WWW\ecshop\includes\cls_template.php on line
1074
将cls_template.php
$pattern
= '/.*? /se';
$replacement =
"'{include file='.strtolower('\\1'). '}'";
$source
=
preg_replace($pattern, $replacement, $source);
替换
$pattern = '/ .*?
/s';
$source =
preg_replace_callback($pattern, function($r){return '{include
file='.strtolower($r[1]). '}';}, $source);
Deprecated:
preg_replace(): The /e modifier is deprecated, use
preg_replace_callback instead in
E:\phpStudy\WWW\ecshop\includes\cls_template.php on line
496
将cls_template.php
$out = "