> 3 - How will PHP behavior on a situation that you have a naming conflict? > > Something like... > > <?php > class Bar { ... } > > <?php > namespace Foo { > class Bar { ... } > } > > <?php > import Foo; > > $b = new Bar();
Well, PHP's namespaces don't behave like every other language I've ever used that supports namespaces. So, the code snippet you used here wouldn't work, anyway. Jeremy -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php