PHPize Online / SQLize Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $array = [ [["value" => 1100], ["value" => 1000], ["value" => 3000]], [["value" => 1200], ["value" => 2000], ["value" => 2000]], [["value" => 1300], ["value" => 4000], ["value" => 1000]], ]; $arr = array_sum(array_column( array_column($array,0))); print_r($arr);
Show:  
Copy Clear