--TEST-- Named params in new in const expr --FILE-- getMessage(), "\n"; } ?> --EXPECT-- object(Vec)#1 (3) { ["x"]=> float(0) ["y"]=> float(1) ["z"]=> float(2) } object(Vec)#2 (3) { ["x"]=> float(2) ["y"]=> float(1) ["z"]=> float(0) } object(Vec)#3 (3) { ["x"]=> float(0) ["y"]=> float(2) ["z"]=> float(1) } Named parameter $x overwrites previous argument