只是一个简单的好奇心。我在谷歌上找不到任何信息,我绝对不想深入研究PHP源代码。
array_walk_recursive是否实现了尾调用优化?
简短回答,不行 :)
另请参阅:https://github.com/php/php-src/blob/master/ext/standard/array.c#L1097