Re: Add get_object_constants and get_class_constants

From: Date: Wed, 27 Feb 2013 18:33:27 +0000
Subject: Re: Add get_object_constants and get_class_constants
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-66287@lists.php.net to get a copy of this message
sorry, i pollute this thread with discussion about reflection...

Am 27.02.2013 19:19, schrieb Nikita Popov:
Why the heck do we want to get rid of Reflection? Do we want to alias *all* Reflection methods in this way? definitely not, but:
I can access all properties of an object without reflection e.g. with foreach. Why i need reflection (ability to examine at runtime!) to do same for constants (they will not change at runtime)? cryptocompress http://3v4l.org/94bru

Thread (16 messages)

« previous php.internals (#66287) next »