Programming-Idioms

History of Idiom 2 > diff from v99 to v100

Edit summary for version 100 :
New PHP implementation by user [j2]

Version 99

2019-09-29, 11:45:04

Version 100

2019-10-02, 09:48:43

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration
Code
<?php
for($i=1;$i<=10;$i++){
print 'Hello';
}

?>