3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i=0;$i<24;$i++){ echo "<html><select name='hour_to'><option value='$i'>$i</option></select></html>"; }
based on R9Qkf
Output for 4.3.0 - 7.1.0
<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>