I have an array of objects, and i want to sum value of one of the properties, example:
Array ( [0] => stdClass Object ( [name] => jon
If you are using PHP 5.5
$arr_new = array_sum(array_column($yourarray, 'commission'));