SORT_REGULAR - works
SORT_NUMERIC - works, but with these errors:
array(4) {
[0]=>
string(56) "Object of class stdClass could not be converted to float"
[1]=>
string(56) "Object of class stdClass could not be converted to float"
[2]=>
string(56) "Object of class stdClass could not be converted to float"
[3]=>
string(56) "Object of class stdClass could not be converted to float"
}
SORT_STRING - fails with the following error:
Object of class stdClass could not be converted to string
SORT_LOCALE_STRING - fails with the following error:
Object of class stdClass could not be converted to string
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.