$input |
= |
[ 0 => [ 'color' => [ 'favorite' => 'red', ], 0 => 5, ], 1 => [ 0 => 10, 'color' => [ 'favorite' => 'green', 0 => 'blue', ], ], ] |
$test_output |
= |
[ 'result' => [ 'array' => [ 'color' => [ 'favorite' => [ 0 => 'red', 1 => 'green', ], 0 => 'blue', ], 0 => 5, 1 => 10, ], ], 'php_version' => '7.1.33 Linux x86_64', ] |