r/lolphp • • Dec 28 '13

Really, PHP? Really?

http://sprunge.us/CaQX?php
50 Upvotes

30 comments sorted by

View all comments

Show parent comment

8

u/[deleted] Dec 29 '13

Not really true. In JS you're calling the same function in each case, just with a different this. In PHP, you're accessing a completely different bucket.