<?php $a = [1, 2, 3, 4]; foreach (1 ? $a : [] as &$x) { $x += 10; } print_r($a);
You have javascript disabled. You will not be able to edit any code.