1--TEST--
2Invalid operation in new arg in const expr
3--FILE--
4<?php
5
6static $x = new stdClass($foo);
7
8?>
9--EXPECTF--
10Fatal error: Constant expression contains invalid operations in %s on line %d
11