<?php $teste = [1,2,3,4]; foreach ($teste as $t) { echo "<input type='text' value='$t'>".PHP_EOL; }
Standard input is empty
<input type='text' value='1'> <input type='text' value='2'> <input type='text' value='3'> <input type='text' value='4'>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!