<?php $arr = [ ['74','69'], ['45','1'], ['5','2'], ['88','3'], ['123.389,89', '12,33'],]; print_r(array_column($arr, 0));print_r(array_column($arr, 1));
Standard input is empty
Array ( [0] => 74 [1] => 45 [2] => 5 [3] => 88 [4] => 123.389,89 ) Array ( [0] => 69 [1] => 1 [2] => 2 [3] => 3 [4] => 12,33 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!