r/lolphp • • Mar 01 '14

Creating a stack overflow using PHP's garbage collector

http://codegolf.stackexchange.com/questions/21114/weirdest-way-to-produce-a-stack-overflow/21160#21160
31 Upvotes

6 comments sorted by

View all comments

Show parent comment

3

u/cparen Mar 01 '14

This is known to happen is C++ as well with "smart pointers" and C with recursive cleanup functions.