ns_062.phpt 189 B

123456789101112
  1. --TEST--
  2. 062: use \global class
  3. --FILE--
  4. <?php
  5. namespace Foo;
  6. use \stdClass;
  7. use \stdClass as A;
  8. echo get_class(new stdClass)."\n";
  9. echo get_class(new A)."\n";
  10. --EXPECT--
  11. stdClass
  12. stdClass