LPH submitted a new resource:
A simple class-based Hello.php - OOP Introduction using echo hello
Read more about this resource...
A simple class-based Hello.php - OOP Introduction using echo hello
This is a sample class structure which will show 'hello' in the browser.
PHP:<?php /** * Created by PhpStorm. * User: LPH */ namespace XenTests; class Hello { public function __construct() { $this->view(); } public function view() { echo 'hello'; } } new Hello();
Read more about this resource...