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