PHP:Define a Class
The class Person has:
- a constructor:
__construct
- attributes
name, weight
andheight
- a method:
bmi
[Font]
[Default]
[Show]
[Resize]
[History]
[Profile]
The class Person has:
__construct
name, weight
and height
bmi
test text