1--TEST-- 2Test typed properties respect strict types (off) 3--FILE-- 4<?php 5class Foo { 6 public int $bar; 7} 8 9$foo = new Foo; 10$foo->bar = "1"; 11 12var_dump($foo->bar); 13?> 14--EXPECT-- 15int(1) 16