PHP八大设计模式

PHP命名空间 能够更好地组织代码,与Java中的包相似。 php Test1.php <?php namespace Test1;//命名空间Test1 function test(){ echo __FILE__; } Test2.php <?php namespace Test2; //命名空间Test2 function test(){ echo __FILE__;//打印当前文件所在的绝
相关文章
相关标签/搜索