<?php
/*
 * WEB开发笔记 www.chhua.com 每日练习之 继承与重载
 */
class Product {//基类
 public $name;
 public $type;
 
 public function __construct($name,$t[......]