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);

That'd be hard - in runtime, you don't have namespace name. So either we should make define() an operator, or pass namespace name to it.
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

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

Reply via email to