<?php $arr = [ ['A', 1], 'B', ['C', 2], 'D', 'E', ['F', 3], ]; print json_encode(array_column($arr, null, 1), JSON_PRETTY_PRINT);
You have javascript disabled. You will not be able to edit any code.