Error with variadic parameters
koriym opened this issue · comments
Akihito Koriyama commented
The cause was refactoring to use the original argument as it is for speeding up.
This is wrong, and it can not do such a thing when it is a variable argument, and can not do it without getting with func_get_args (). Slow but safe.
原因は高速化のために、元の引数をそのまま使おうとしたリファクタリング。
これが間違っていて、可変引数の時はそのようなことができずfunc_get_args()で取得しないとできない。速度は劣るが安全。