$a=array(1,2,3);
调用方法:var_dump($a); //可以打印任何类型
echo $a; //只可以打印非数组类型
<?php
?>
Thinkphp路由分析
localhost/indext.php/Home/index/test
localhost为域名,indext.php为入口文件,Home为模块名module,index为控制器名controller,test为操作方法名action