<?php
class Girlfriend{
      public function getGirlfriend(){
              echo "恭喜你获得了女朋友";
}
}
$e=new Girlfriend();
$e->getGirlfriend();
?>