call-time-pass-by-reference

PHP 5.4 Call-time pass-by-reference - How to fix it?

假如想象 提交于 2019-12-11 18:45:26
问题 I have the problem that I get the error PHP Fatal error: Call-time pass-by-reference has been removed in.... I discovered some similar questions e.g. PHP 5.4 Call-time pass-by-reference - Easy fix available? Call-time pass-by-reference warning But nothing offers a reals answers how situations be can solved where you NEED to declare the passed value as refference by runtime for e.g. buildin function which you cant change function declaration ??. e.g. for this example third array_walk parameter