This is my first oop php library and wanted to get advice on how I can improve what I wrote. This is what I needed to do:
I'm also not sure on what it meant by "proportionally resize the shape up or down, given a floating-point scale factor" I think what I did might be right but I could be wrong. Also am I supposed to have a new class for each shape or is there a better solution? Any help is much appreciated.
echo "Circle (r=5) <br/>";
$circle = new circle(5);
echo "Scaled up .5<br/>";