ns_061.phpt 114 B

123456789
  1. --TEST--
  2. 061: use in global scope
  3. --FILE--
  4. <?php
  5. class A {}
  6. use \A as B;
  7. echo get_class(new B)."\n";
  8. --EXPECT--
  9. A