1--TEST-- 2Test typed properties disallow incorrect type initial value (scalar) 3--FILE-- 4<?php 5class Foo { 6 public int $bar = "string"; 7} 8?> 9--EXPECTF-- 10Fatal error: Default value for property of type int can only be int in %s on line 3 11