PHP mysqli wrapper: passing by reference with __call() and call_user_func_array()

后端 未结 3 1488
情话喂你
情话喂你 2021-01-14 21:03

I\'m a long running fan of stackoverflow, first time poster. I\'d love to see if someone can help me with this. Let me dig in with a little code, then I\'ll explain my probl

3条回答
  •  隐瞒了意图╮
    2021-01-14 21:38

    I'm guessing this is because the original function signature specifies that it expects references, whereas your __call cannot do so. Therefore, try not using __call but explicitly adding the bind_result with the same function signature as the original.

提交回复
热议问题