Hi!

> My wording was maybe a bit wrong here, and I was biased by the fact that
> I would like to see abstract constants. The fact that not everything can

What is "abstract constant"? If you need something that can change, just
use a method. Constant is meant to be a nice way to write something
inherently constant, such as instead of "/very long
(and+)cubmber|some?*regexp/" you'd write NICE_REGEXP_CONSTANT. But it's
not supposed to create parallel inheritance structure or something. If
it needs to be non-constant, just use a method.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to