xref: /PHP-7.3/Zend/tests/anon/006.phpt (revision b746e698)
1--TEST--
2testing anon classes inside namespaces
3--FILE--
4<?php
5namespace lone {
6   $hello = new class{} ;
7}
8
9namespace {
10    var_dump ($hello);
11}
12--EXPECTF--
13object(class@%s)#1 (0) {
14}
15