3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ "configuration_id" => 10, "id" => 1, "optionNumber" => 3, "optionActive" => 1, "lastUpdated" => "2010-03-17 15:44:12" ], [ "configuration_id" => 9, "id" => 1, "optionNumber" => 2, "optionActive" => 1, "lastUpdated" => "2010-03-17 15:44:12" ], [ "configuration_id" => 8, "id" => 1, "optionNumber" => 1, "optionActive" => 1, "lastUpdated" => "2010-03-17 15:44:12" ] ]; array_multisort( array_column($array, 'optionNumber'), $array ); var_export($array);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
160.32 ms | 1969 KiB | 13 Q