No, because the ?: delivers either a list consisting of the single value or all the keys to the 'foreach' loop statement . So if that is only one value, the loop executes only for that single value.
In reply to Re^3: Loop once on condition 1, many times on cond. 2?
by jethro
in thread Loop once on condition 1, many times on cond. 2?
by punch_card_don
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |