1--TEST--
2Static in new is not supported
3--FILE--
4<?php
5
6static $x = new static;
7
8?>
9--EXPECTF--
10Fatal error: "static" is not allowed in compile-time constants in %s on line %d
11