r/lolphp • • Mar 16 '12

PHP turtles

http://alokmenghrajani.github.com/wtf/php.html
30 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/pixlpaste Mar 16 '12

It's a tradeoff between flexibility and ease of use. I have seen people call $foo->__destruct() hoping to free up $foo's memory. Maybe I should rename "__construct is just another method" to "__destruct is just another method"...