1--TEST-- 2Dynamic class name in new is not supported 3--FILE-- 4<?php 5 6static $x = new (FOO); 7 8?> 9--EXPECTF-- 10Fatal error: Cannot use dynamic class name in constant expression in %s on line %d 11