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