$input |
= |
[ '__array' => [ 'John' => 1, 'the Earth' => 2, 'an apple' => 3, 'a banana' => 4, ], 0 => '$array', 1 => 'compare_func', ] |
$test_output |
= |
[ 'result' => [ 'array' => [ 'John' => 1, 'a banana' => 4, 'an apple' => 3, 'the Earth' => 2, ], 'bool' => true, ], 'php_version' => '7.1.33 Linux x86_64', ] |