Hope y'all are having a wonderful day full of rainbows and roses!

Ok, ok .. I'll get to the point:

I've got a function that accepts multiple parameters and calculates the price of a product based on those parameters. Here's a conceptual example:

```
public function getPrice( $params ) {
    // black magic goes here
    return $price;
}

```

The parameters include:

1. `$params[width]` which ranges all the way from 10 - 72 inches
2. `$params[height]` which ranges from 10 - 44 inches

(There are actually more params, but for the sake of simplicity, I've kept those out).

Now, I have a table in Excel (something like a truth table) with rows that represent the `width` and columns that represent the `height`. The value in the corresponding cell is the `price`. 

How could I best implement this pricing strategy in PHP? I thought nested `if` statements would work but got tired after the 10th `if`. Help?