1--TEST-- 2GH-14140: Floating point bug in range operation on Apple Silicon hardware 3--FILE-- 4<?php 5/* 6 * This is a problem that occurs not only in Apple silicon, but also in the Arm 7 * processor environment in general, which uses clang as the compiler. 8 */ 9print_r(range(-0.03, 0.03, 0.01)); 10?> 11--EXPECT-- 12Array 13( 14 [0] => -0.03 15 [1] => -0.02 16 [2] => -0.01 17 [3] => 0 18 [4] => 0.01 19 [5] => 0.02 20 [6] => 0.03 21) 22