首先關於const 在php的類內部只可以修飾成員屬性,不可以修飾方法,如下: class Test{ const PATH = 'c/';//修飾常量 const function test(){//這種 ...
確定! 回上一頁