在php中传递此变量作为引用

时间:2013-12-18 19:05:05

标签: php

在PHP5中,当在代码下运行时传递此变量作为参考时,我收到一条丑陋的警告消息..,

<?php 
random_string_function($string1, $string2, $p); 
echo "Percent: $p%"; 
?>

任何帮助?

1 个答案:

答案 0 :(得分:3)

可以在 php.ini 中配置,只做allow_call_time_pass_reference = Off