【php开源代码栏目提醒】:网学会员,鉴于大家对php开源代码十分关注,论文会员在此为大家搜集整理了“Ex6-12.php”一文,供大家参考学习!
<html>
<head>
<title>
PHP 5+MySQL专题练习</title>
</head>
<body>
<?php
class student
{
function do_best()
{
echo "Do best.";
}
}
$stu = new student;
$stu->do_best();
?>
</body>
</html>