1--TEST-- 2JIT ASSIGN_OBJ_OP: invalid type inference 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7--FILE-- 8<?php 9class Foo { 10 public int $bar=0; 11 function __construct() { 12 try { 13 +$this->bar += 1.3; 14 } catch(y) { 15 } 16 } 17} 18var_dump(new Foo); 19?> 20--EXPECTF-- 21Deprecated: Implicit conversion from float 1.3 to int loses precision in %sassign_obj_op_003.php on line 6 22object(Foo)#1 (1) { 23 ["bar"]=> 24 int(1) 25} 26