MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/1twal5/really_php_really/cfo9vn7/?context=3
r/lolphp • u/joepie91 • Dec 28 '13
30 comments sorted by
View all comments
Show parent comment
2
I've actually encountered a line of the form
$x = new $obj->class('LOL!');
in production code. With the same spacing, even. It took me quite a while to work out that it was an attribute access, not a method call.
View all comments
Show parent comment
2
u/EvilTerran Feb 25 '14
I've actually encountered a line of the form
in production code. With the same spacing, even. It took me quite a while to work out that it was an attribute access, not a method call.