示例#1
0
<!DOCTYPE html>
<!--
    MD.OWES QURUNY SHUBHO
    http://shubho.info
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php 
class basis
{
    public static function bitm()
    {
        echo __CLASS__;
    }
}
BASIS::bitm();
?>
    </body>
</html>
示例#2
0
<!DOCTYPE html>
<!--
    MD.OWES QURUNY SHUBHO
    http://shubho.info
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php 
class BASIS
{
    public static function BITM()
    {
        echo "this name of method is :" . __METHOD__;
    }
}
BASIS::BITM();
?>
    </body>
</html>