1--TEST--
2New with anonymous class works
3--FILE--
4<?php
5
6static $x = new class {};
7
8var_dump($x);
9
10?>
11--EXPECT--
12object(class@anonymous)#1 (0) {
13}
14