--TEST-- Check max() optimisation for int and float types --SKIPIF-- --FILE-- --EXPECT-- Start as int optimisation: int(10) int(10) int(10) int(10) int(10) int(10) string(2) "15" Check that int not representable as float works: int(-9223372036854775807) float(1.8446744073709552E+19) float(INF) Start as float optimisation: float(10.5) float(10.5) float(10.5) float(10.5) float(10.5) float(10.5) string(4) "15.5" Check that int not representable as float works: int(-9223372036854775807) float(1.8446744073709552E+19) float(INF)