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