<?php
class ReadMe {
}
class Diegoson extends ReadMe {
private $username;
private $location;
private $age;
private $languages;
public function __construct() {
$this->username = "Diegoson";
$this->location = "South Africa";
$this->age = "17";
$this->languages = ["PHP", "Javascript", "Node.js", "Html", "Java"];
}
public function about() {
echo "Hi, I'm {$this->username}. age {$this->age}\n";
}
}
$me = new Diegoson();
$me->about();
diegosontech Goto Github PK
Name: D3centX
Type: User
Bio: Noob:)
Location: South Africa