A while statement should have the following form.
while语句应如以下格式。
The while statement steps through each element of the result query and builds the $encodable array line by line.
while语句将逐个遍历结果查询的每个元素并逐行构建 $encodable数组。
The while statement seems like a reasonable place for this, so you add in a new set of parentheses to get the following source.
while语句看似适合用在这里,因此添加一组新括号,得到以下源代码。
Of course, you can run loops backward instead of forward, or increment the loop counter by something other than 1, or even eliminate the loop counter completely as you do in a while statement.
当然,也可以反向而不是正向运行循环,或者使用1之外的循环计数器增量,甚至像while语句那样完全取消循环计数器。
Of course, you can run loops backward instead of forward, or increment the loop counter by something other than 1, or even eliminate the loop counter completely as you do in a while statement.
当然,也可以反向而不是正向运行循环,或者使用1之外的循环计数器增量,甚至像while语句那样完全取消循环计数器。
应用推荐