PHP:Define a Class
Jump to navigation
Jump to search
The class Person has:
- a constructor:
__construct
- attributes
name, weight
andheight
- a method:
bmi
[Font]
[Default]
[Show]
[Resize]
[History]
[Profile]