PHP stands for Hypertext Preprocessor. It is a scripting language for programing solely websites. Most websites are programmed in PHP because it is a language for programming websites and suits best for web application development. PHP development environment can be set up and run on local computer and are mostly free of charge to developers. It has abundant resources and are available at developers reach.
classes in php are created by declaring them. Below we have declare a class Name with functions. Functions are also called methods which describes what a programmer wants to do and perform tasks intended for it to perform. The below functions is intended to display name which is instantiated at the top of the class.