1--TEST--
2new with an arbitrary expression
3--FILE--
4<?php
5
6$class = 'class';
7var_dump(new ('std'.$class));
8var_dump(new ('std'.$class)());
9$obj = new stdClass;
10var_dump($obj instanceof ('std'.$class));
11
12?>
13--EXPECT--
14object(stdClass)#1 (0) {
15}
16object(stdClass)#1 (0) {
17}
18bool(true)
19