Stanislav Malyshev wrote:
> 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.
use is also a top_statement, which means it cannot be inside {} at all.Greg -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
