<?php
$a = [3, 1, 2];
$b = [4, 5, 6];
usort($a, function() {
usort($b, function() {
return 0;
}
return 1;
});
- Output for 7.0.0 - 7.0.2
- Parse error: syntax error, unexpected 'return' (T_RETURN), expecting ',' or ')' in /in/apXsZ on line 10
Process exited with code 255. - Output for 5.5.24 - 5.5.31, 5.6.8 - 5.6.17
- Parse error: syntax error, unexpected 'return' (T_RETURN) in /in/apXsZ on line 10
Process exited with code 255.
preferences:
168.68 ms | 1395 KiB | 28 Q