<?php
// Define a class for a product
class Product {
    
// Class variables
    
var $name$description;

    
// Constructor
    
function Product($name$description) {
        
$this->name $name;
        
$this->description $description;
    }

    
// Show data for this product
    
function show() {
        echo 
"<p>$this->name: $this->description</p>";
    }
}

// Construct two objects
$milk = new Product("Milk""Delicious moo juice!");
$bread = new Product("Bread""Hearty whole-grain goodness!");

// Call the object functions
$milk->show();
$bread->show();
?>