码迷,mamicode.com
首页 > 其他好文 > 详细

调用函数不能用&

时间:2015-12-02 20:17:28      阅读:134      评论:0      收藏:0      [点我收藏+]

标签:

Deprecated function: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of a(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file indrupal_load() (line 1112 of D:\phpStudy\WWW\drupal7\includes\bootstrap.inc).

 

function a($abc){
   print $abc + 1;
}
function b(){
 $abc = ‘123‘;   
 a(&$abc);
}

 

调用函数不能用&

标签:

原文地址:http://www.cnblogs.com/qinqiu/p/5013864.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!