oop

  1. LPH

    A simple class-based Hello.php

    This is a sample class structure which will show 'hello' in the browser. There are several key elements to pay attention to. First, the class itself is called with the keyword class. Second, there is a public construct() as well as a public method called view(). <?php /** * Created by...
Top