1--TEST-- 2Converted values shall be returned and not the original value upon property assignment 3--FILE-- 4<?php 5 6class Test { 7 public int $i; 8 public string $s; 9} 10 11$test = new Test; 12var_dump($test->i = "42"); 13var_dump($test->s = 42); 14 15?> 16--EXPECT-- 17int(42) 18string(2) "42" 19