PHP:Define a Class

From Progzoo
Jump to: navigation, search

The class Person has:

  • a constructor: __construct
  • attributes name, weight and height
  • a method: bmi


[Font] [Default] [Show] [Resize] [History] [Profile]