PHP八大設計模式

PHP命名空間 能夠更好地組織代碼,與Java中的包相似。 php Test1.php <?php namespace Test1;//命名空間Test1 function test(){ echo __FILE__; } Test2.php <?php namespace Test2; //命名空間Test2 function test(){ echo __FILE__;//打印當前文件所在的絕
相關文章
相關標籤/搜索