Constants and static methods for internal classes
| From: | Dmitry Stogov | Date: | Tue, 30 Aug 2005 07:59:36 +0000 |
| Subject: | Constants and static methods for internal classes | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-18551@lists.php.net to get a copy of this message | ||
Hi,
You can look into proposal patch that implements support for constants and
static methods for internal classes. The original patch was written by
Michael and improved by me.
The patch is maden for "easiest" usage and it doesn't support internal
array/constants properties (they weren't supported before).
Unless something thinks array/constants are badly needed (we think they
probably aren't) we prefer to keep it simple like this.
Support for array and constant properties will require additional
complicated API.
Thanks. Dmitry.
Attachment: [application/x-gzip] class_const.tar.gz
Attachment: [application/x-gzip] class_const.tar.gz