3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<select name="animationDelayTime">'; for ($x = -4 ; $x < 4.1; $x += 0.1) { if((int)$x == -0.099999999999998) {$ix = -0.1;} else {$ix = $x;} echo '<option value="' .$ix.'">'.$x.'s</option>'.PHP_EOL; } echo '</select>'; ?>
Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.20, 8.3.0 - 8.3.8
<select name="animationDelayTime"><option value="-4">-4s</option> <option value="-3.9">-3.9s</option> <option value="-3.8">-3.8s</option> <option value="-3.7">-3.7s</option> <option value="-3.6">-3.6s</option> <option value="-3.5">-3.5s</option> <option value="-3.4">-3.4s</option> <option value="-3.3">-3.3s</option> <option value="-3.2">-3.2s</option> <option value="-3.1">-3.1s</option> <option value="-3">-3s</option> <option value="-2.9">-2.9s</option> <option value="-2.8">-2.8s</option> <option value="-2.7">-2.7s</option> <option value="-2.6">-2.6s</option> <option value="-2.5">-2.5s</option> <option value="-2.4">-2.4s</option> <option value="-2.3">-2.3s</option> <option value="-2.2">-2.2s</option> <option value="-2.1">-2.1s</option> <option value="-2">-2s</option> <option value="-1.9">-1.9s</option> <option value="-1.8">-1.8s</option> <option value="-1.7">-1.7s</option> <option value="-1.6">-1.6s</option> <option value="-1.5">-1.5s</option> <option value="-1.4">-1.4s</option> <option value="-1.3">-1.3s</option> <option value="-1.2">-1.2s</option> <option value="-1.1">-1.1s</option> <option value="-1">-1s</option> <option value="-0.9">-0.9s</option> <option value="-0.8">-0.8s</option> <option value="-0.7">-0.7s</option> <option value="-0.6">-0.6s</option> <option value="-0.5">-0.5s</option> <option value="-0.4">-0.4s</option> <option value="-0.3">-0.3s</option> <option value="-0.2">-0.2s</option> <option value="-0.099999999999998">-0.099999999999998s</option> <option value="2.4147350785597E-15">2.4147350785597E-15s</option> <option value="0.1">0.1s</option> <option value="0.2">0.2s</option> <option value="0.3">0.3s</option> <option value="0.4">0.4s</option> <option value="0.5">0.5s</option> <option value="0.6">0.6s</option> <option value="0.7">0.7s</option> <option value="0.8">0.8s</option> <option value="0.9">0.9s</option> <option value="1">1s</option> <option value="1.1">1.1s</option> <option value="1.2">1.2s</option> <option value="1.3">1.3s</option> <option value="1.4">1.4s</option> <option value="1.5">1.5s</option> <option value="1.6">1.6s</option> <option value="1.7">1.7s</option> <option value="1.8">1.8s</option> <option value="1.9">1.9s</option> <option value="2">2s</option> <option value="2.1">2.1s</option> <option value="2.2">2.2s</option> <option value="2.3">2.3s</option> <option value="2.4">2.4s</option> <option value="2.5">2.5s</option> <option value="2.6">2.6s</option> <option value="2.7">2.7s</option> <option value="2.8">2.8s</option> <option value="2.9">2.9s</option> <option value="3">3s</option> <option value="3.1">3.1s</option> <option value="3.2">3.2s</option> <option value="3.3">3.3s</option> <option value="3.4">3.4s</option> <option value="3.5">3.5s</option> <option value="3.6">3.6s</option> <option value="3.7">3.7s</option> <option value="3.8">3.8s</option> <option value="3.9">3.9s</option> <option value="4">4s</option> </select>

preferences:
72.1 ms | 410 KiB | 65 Q