Re: Proposal for RFC: get_class_constants()
you are right, with one exception: classes not objects
(nothing to obtain at runtime besides you change constants with reflection)
Am 15.12.2013 22:33, schrieb James Gilliland:
Troll much?
Anyways, along the rest of the thread, a function to support the people
working with objects that don't want to work with objects is a weak place
to argue from. However if we're keeping get_class_* methods, API completion
seems worthwhile.
On Dec 15, 2013 3:13 PM, "Crypto Compress" <cryptocompress@googlemail.com>
wrote:
Hi,
a short fairy tale:
For a long time thePHPway™ was to build a function for everything someone
needed/could imagine. This is why PHP is so easy, effective and triumphant.
But somehow the highlander principle found it's way into PHP and nothing
will ever be as it was before. So flog the reflection argument to death.
http://www.mail-archive.com/internals@lists.php.net/msg64242.html
Cheers!
cryptocompress
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
http://www.php.net/unsub.php
Thread (14 messages)