小编Mik*_*hev的帖子

PHP通过引用传递?

前段时间,我在php写了一个网站,现在我正在我的网络服务器上设置它.回到我写的时候,一切都很好,但现在,它产生了这些错误:

Strict Standards: Only variables should be passed by reference in /home/dragonto/public_html/source/navbar.php on line 4
class="current">Home Strict Standards: Only variables should be passed by reference in /home/dragonto/public_html/source/navbar.php on line 4
>About Strict Standards: Only variables should be passed by reference in /home/dragonto/public_html/source/navbar.php on line 4
>Contact Us Strict Standards: Only variables should be passed by reference in /home/dragonto/public_html/source/navbar.php on line 4
>Projects Strict Standards: Only variables should be passed by reference in /home/dragonto/public_html/source/navbar.php on line 4
>Tutorials 
Run Code Online (Sandbox Code Playgroud)

我不确定这些是什么意思.我做过关于在PHP中传递ref的研究,看起来我没有做任何违规.这是有问题的脚本:

<?php
    function …
Run Code Online (Sandbox Code Playgroud)

php pass-by-reference

0
推荐指数
1
解决办法
48
查看次数

标签 统计

pass-by-reference ×1

php ×1