gpt4 book ai didi

PHP 严格标准 : Only variables should be passed by reference//array_pop

转载 作者:行者123 更新时间:2023-12-05 08:23:46 26 4
gpt4 key购买 nike

<分区>

因为我在 PHP 5.6 中,所以我有这个警告(不在 PHP 5.2 中):

PHP Strict Standards:  Only variables should be passed by reference in blockcategories_top.php on line 157

这是第 157 行:

line 155    if ($cookie->last_visited_category) {
line 156 $c = new Category(intval($cookie->last_visited_category));
line 157 $oldies = array_pop($c->getParentsCategories());
line 158 $oldies = $oldies['id_category'];
line 159 $smarty->assign('oldies', $oldies);
line 160 }

请问,我该如何解决? :)

谢谢!

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com