1--TEST--
2Class constant whose initial value references a non-existent class
3--FILE--
4<?php
5  class C
6  {
7      const c1 = D::hello;
8  }
9
10  $a = new C();
11?>
12--EXPECTF--
13Fatal error: Uncaught Error: Class "D" not found in %s:%d
14Stack trace:
15#0 %s(%d): [constant expression]()
16#1 {main}
17  thrown in %s on line %d
18