Lets say I have a variable called $file and the for loop: for($i=1; $i <= 5; $i++) {}
For each iteration of the for loop, the $i
value will be appended to the $file
variable name so after the for loop ends, I should have five variables: $file1
, $file2
, $file3
, $file4
, and $file5
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…