- var_dump: documentation ( source)
<?php
$result = [];
$array = [
[116.01, 146.00],
[92.00, 122.02],
[308.00, 278.00]
];
foreach($array as $key => $value) {
$result[$key] = ($value[0] > $value[1]);
}
echo "result:" . PHP_EOL;
echo var_dump($result);