<?php
$list = ['a', 'b', 'c', 'd'];
array_walk($list, function ($item) use($list) {
array_walk($list, function ($inner) use ($item) {
if ($inner == $item) {
continue;
}
echo $ietm, ' ', $inner, PHP_EOL;
})
});
- Output for 5.5.24 - 5.5.31, 5.6.8 - 5.6.17, 7.0.0 - 7.0.2
- Parse error: syntax error, unexpected '}' in /in/dMs92 on line 12
Process exited with code 255.
preferences:
168.01 ms | 1387 KiB | 28 Q