Hi!
if ($testing) { use class testing::PDO; } else { use class ::PDO; }
No, I don't think this would work since use is compile-time statement. -- 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