Just a simple curiosity. I couldn't find anything on Google, and I definitely don't want to dig into PHP source.
Does array_walk_recursive implement tail call optimization?
Short answer, no :)
See also: https://github.com/php/php-src/blob/master/ext/standard/array.c#L1097
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With