PHPFatalerror: Call-timepass-by-referencehasbeenremove. This means that the reference parameter has been removed during the call, that is, the function cannot be called using function ($. solution: View Your php. ini configuration file, put the allo
This means that the reference parameter has been removed during the call, that is, the function cannot be called through function (& $.
Solution:
Check your php. ini configuration file, set the allow_call_time_pass_reference parameter to true, and restart the server.
==============================================
In addition, this error may occur when the previous php code is upgraded to php 5.4:
When we use a function (or class) like this, an error is generated:
Foo (& $ var );
In fact, this is an error, but the previous error level is only Deprecated.
The correct method of use should be when the function is defined:
Function foo (& $ var ){
// Other code
}
The parameter can be directly transferred during the call: foo ($ var );
Callback ($ a) calls the function by passing parameters in this way. Solution: View Your php. ini configuration file and put the allo...