On 23.08.2007 13:46, Dmitry Stogov wrote:
I think we must cut the patch to use only "compile-time" constants in
namespaces.
For runtime constants we can use existing define().

This will fix inconsistency.


We also can extend define() with additional argument that will allow to
create namespace constant.

function define(string $var, mixed $val, bool namespace_constant = false);

Sounds good to me.
Any other ideas? Anyone?

--
Wbr, Antony Dovgal

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

Reply via email to