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