PHP - Programming Language
This course covers the basics of programming in PHP. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!


Lesson 33
Author : GOUP
Last Updated : September, 2020


Copyclass Chef{
     function makeChicken(){
          echo "The chef makes chicken";
     function makeSalad(){
          echo "The chef makes salad";
     function makeSpecialDish(){
          echo "The chef makes bbq ribs";

class ItalianChef extends Chef{
     function makePasta(){
          echo "The chef makes pasta";
     function makeSpecialDish(){
          echo "The chef makes chicken parm";

$chef = new Chef();
echo "<br>";
$italianChef = new ItalianChef();