xref: /PHP-7.2/Zend/tests/anon/006.phpt (revision f1d7e3ca)
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