谈到默认值,我们直接上实例。

    index.php控制器
    image.png
    index.html视图文件
    image.png
    输出结果:
    image.png