The purpose of all my patches is to make it possible to combine multiple namespaces into a single file. It looks like namespace {} syntax introduces much more trouble than it is worth.
Heh, why do you think we chose not to do it - because we are bracketophobic bigots? ;)
file2.php: <?php include 'file1.php'; namespace two; function thingo() {} ?>
Not sure what this one does, esp. include but if it's just global space there than ok.
<?php namespace one; class whatever { } other_php_stuff(); namespace two; function thingo() {} ?>
I think we could live with this one, import problems are less severe then. We still need to check if we don't have any weird cases, but if we don't find any then it might work...
<?php namespace one; function thing() {echo 'hi';} namespace __::__main; function thing() {} one::thing(); ?>
__::__ look like some weird ASCII art, maybe we need something better for 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