# Pascals Triangle in PHP

#### Compute Pascal's triangle up to a given number of rows.

1 | ```
exercism fetch php pascals-triangle
``` |

# Pascals Triangle

Compute Pascal's triangle up to a given number of rows.

In Pascal's Triangle each number is computed by adding the numbers to the right and left of the current position in the previous row.

## Making the Test Suite Pass

## Source

Pascal's Triangle at Wolfram Math World http://mathworld.wolfram.com/PascalsTriangle.html