1--TEST--
2Dynamic class name in new is not supported
3--FILE--
4<?php
5
6class Foo {}
7const FOO = 'Foo';
8static $x = new (FOO);
9
10var_dump($x);
11
12?>
13--EXPECT--
14object(Foo)#1 (0) {
15}
16