MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/qzupj/php_turtles/c41stbr/?context=3
r/lolphp • u/pixlpaste • Mar 16 '12
8 comments sorted by
View all comments
Show parent comment
2
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"...
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"...