1--TEST-- 2Test typed properties delay type check on ast 3--FILE-- 4<?php 5class Foo { 6 public int $bar = BAR::BAZ * 2; 7} 8 9$foo = new Foo(); 10?> 11--EXPECTF-- 12Fatal error: Uncaught Error: Class "BAR" not found in %s:%d 13Stack trace: 14#0 %s(%d): [constant expression]() 15#1 {main} 16 thrown in %s on line %d 17