number print for loop php by user input code example Example: $s = [1,2,3] for loop use in php $x = [1,2,3]