]<?php
$arr = array(1,1,2,2,3,3,4,4,5,5,6,6,7,7,8);
echo array_reduce($arr, function($x, $v) { return $x ^= $v; })
- Output for 5.4.0 - 5.4.28, 5.5.0 - 5.5.12
- Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/rLjaI on line 4
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/rLjaI on line 4
Process exited with code 255.
preferences:
186.65 ms | 1395 KiB | 78 Q