3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0;$i<24;$i++){ echo "<html><select name='hour_to'><option value='$i'>$i</option></select></html>"; }
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
<html><select name='hour_to'><option value='0'>0</option></select></html><html><select name='hour_to'><option value='1'>1</option></select></html><html><select name='hour_to'><option value='2'>2</option></select></html><html><select name='hour_to'><option value='3'>3</option></select></html><html><select name='hour_to'><option value='4'>4</option></select></html><html><select name='hour_to'><option value='5'>5</option></select></html><html><select name='hour_to'><option value='6'>6</option></select></html><html><select name='hour_to'><option value='7'>7</option></select></html><html><select name='hour_to'><option value='8'>8</option></select></html><html><select name='hour_to'><option value='9'>9</option></select></html><html><select name='hour_to'><option value='10'>10</option></select></html><html><select name='hour_to'><option value='11'>11</option></select></html><html><select name='hour_to'><option value='12'>12</option></select></html><html><select name='hour_to'><option value='13'>13</option></select></html><html><select name='hour_to'><option value='14'>14</option></select></html><html><select name='hour_to'><option value='15'>15</option></select></html><html><select name='hour_to'><option value='16'>16</option></select></html><html><select name='hour_to'><option value='17'>17</option></select></html><html><select name='hour_to'><option value='18'>18</option></select></html><html><select name='hour_to'><option value='19'>19</option></select></html><html><select name='hour_to'><option value='20'>20</option></select></html><html><select name='hour_to'><option value='21'>21</option></select></html><html><select name='hour_to'><option value='22'>22</option></select></html><html><select name='hour_to'><option value='23'>23</option></select></html>

preferences:
319.55 ms | 409 KiB | 459 Q