Chapter 7 - Factory Pattern
See the reference chart for terminology notes:
To see this is action on a triangle, click here array(3) { [0]=> string(1) "3" [1]=> string(1) "4" [2]=> string(1) "5" } Shape seems to be: triangleCreating shape: triangle
the area is: 6
the perimeter is: 12