-
<b>strict standards</b>: Only variables should is passed by reference in <b>
1. If this error occurs when using End (), then the cause may be a parameter problem, let's find the end () function API in the manual;
-
2. You can see that the argument to end is a reference (reference), if you pass a variable reference as a parameter to the function, there is no problem, but if a variable's split expression is passed directly as a parameter to the end () function, this error will occur;
-
3. Solution:
<1> $temp = Explode (', ', $example);
Return end ($temp);
Divide the variables you want to split into groups, save them in a temporary variable, and then use the end () function
<2> Changing the error configuration:
Error_reporting (e_all ^ e_notice);
- 4
4. When installing Ecshop, the following error may be reported:
Strict standards:only variables should be passed by reference in E:\Tools\ECShop_V2.7.3_UTF8_release1106\upload\ Includes\cls_template.phpon Line 418
###########################################
# # # Solutions Ditto # # #
###########################################
Error in PHP using End method