If Ruby is invited to a party and brings:
foobarobject.send('foomethod')
.. and Python is invited to the same side and brings:
getattr(foobarobject, 'foomethod')()
.. What should PHP do for a party?
Bonus question: If Ruby and Python are jealous of third-party PHP partners, what English terms will they look for in the PHP documentation to talk about this back for PHP?
source
share