array(1) {
[0]=>
int(1)
}
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /in/US4ks on line 4
array(1) {
[0]=>
int(2)
}
array(1) {
[0]=>
int(2)
}
array(1) {
[0]=>
int(1)
}
array(1) {
[0]=>
int(3)
}
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
array(1) {
[0]=>
int(1)
}
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /in/US4ks on line 14
array(1) {
[0]=>
int(2)
}
array(1) {
[0]=>
int(2)
}
array(1) {
[0]=>
int(1)
}
array(1) {
[0]=>
int(3)
}
array(1) {
[0]=>
int(1)
}
array(1) {
[0]=>
int(2)
}
array(1) {
[0]=>
int(1)
}
Fatal error: Uncaught Exception: Key Y ('bar-test') not found. in /in/US4ks:10
Stack trace:
#0 [internal function]: {closure}('foo-test', 'bar-test')
#1 /in/US4ks(14): uksort(Array, Object(Closure))
#2 {main}
thrown in /in/US4ks on line 10
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
array(1) {
[0]=>
int(2)
}
array(1) {
[0]=>
int(3)
}
array(1) {
[0]=>
int(1)
}
Warning: uksort(): Array was modified by the user comparison function in /in/US4ks on line 14