<?php class tech{ function PHP(){ return "php"; } function JSP(){ return "jsp"; } }
$myClass=new tech(); echo "我uw想学".$myClass->PHP();
?>