<?php
class DemoStatic
{
public static $number = 1;
public static function echoNumber()
{
echo self::$number;
}
public static function testFunc()
{
return self::echoNumber();
}
}
DemoStatic::testFunc();
本作品採用《CC 協議》,轉載必須註明作者和本文連結