Call-time pass-by-reference has been deprecated 警告

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of saveInventoryProductDetails(). 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 in D:\Dkits\Apache2.2\htdocs\logoworld\crm\modules\SalesOrder\SalesOrder.php on line 133

在PHP程序运行时,得到上面的错误:Warning: Call-time pass-by-reference has been deprecated;
[attach]383[/attach]

可以通过修改PHP的配置文件:allow_call_time_pass_reference = Offallow_call_time_pass_reference = On来消除这个警告。

[attach]384[/attach]

修改成功后需要重新启动Apache服务器来使修改生效。
[attach]386[/attach]